org.w3c.rdf.examples
Class SiRPACServletDumpConsumer
java.lang.Object
|
+--org.w3c.rdf.util.xml.DumpConsumer
|
+--org.w3c.rdf.examples.SiRPACServletDumpConsumer
- public class SiRPACServletDumpConsumer
- extends DumpConsumer
- implements RDFConsumer
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SiRPACServletDumpConsumer
public SiRPACServletDumpConsumer()
startModel
public void startModel()
- Description copied from interface: RDFConsumer
- start is called when parsing of data is started
- Specified by:
- startModel in interface RDFConsumer
- Overrides:
- startModel in class DumpConsumer
endModel
public void endModel()
- Description copied from interface: RDFConsumer
- end is called when parsing of data is ended
- Specified by:
- endModel in interface RDFConsumer
- Overrides:
- endModel in class DumpConsumer
setOutputStream
public void setOutputStream(javax.servlet.ServletOutputStream out)
setNTriplesOutput
public void setNTriplesOutput(boolean flag)
getNodeFactory
public NodeFactory getNodeFactory()
- Description copied from interface: RDFConsumer
- node factory to be used by the parser for creating resources and literals passed to addStatement
- Specified by:
- getNodeFactory in interface RDFConsumer
- Overrides:
- getNodeFactory in class DumpConsumer
getNumStatements
public int getNumStatements()
addStatement
public void addStatement(Statement s)
- Description copied from interface: RDFConsumer
- assert is called every time a new statement within
RDF data model is added
- Specified by:
- addStatement in interface RDFConsumer
- Overrides:
- addStatement in class DumpConsumer