All Packages Class Hierarchy This Package Previous Next Index
Class org.ginf.helpers.RDFMSImpl
java.lang.Object
|
+----org.w3c.rdf.SiRPAC
|
+----org.ginf.helpers.RDFMSImpl
- public class RDFMSImpl
- extends SiRPAC
- implements RDFMS, Comparer, RDFConsumer
A default implementation of the RDFMS interface.
For parsing it uses a modified version of
SiRPAC parser written by Janne Saarela at W3C.
-
RDFMSImpl(RDFFactory)
-
-
assert(DataSource, Resource, Resource, RDFnode)
- assert is called every time a new statement within
RDF data model is added
-
compare(Object, Object, Object)
-
-
end(DataSource)
- end is called when parsing of data is ended
-
fetchSchema(String)
- Overwrites fetchSchema method of SiRPAC
-
parse(InputSource)
-
-
serialize(Model, Writer)
-
-
setSchemaController(SchemaController)
-
-
start(DataSource)
- start is called when parsing of data is started
RDFMSImpl
public RDFMSImpl(RDFFactory factory)
fetchSchema
public void fetchSchema(String uri)
- Overwrites fetchSchema method of SiRPAC
- Overrides:
- fetchSchema in class SiRPAC
setSchemaController
public void setSchemaController(SchemaController c)
start
public void start(DataSource ds)
- start is called when parsing of data is started
- Parameters:
- ds - DataSource starting its job
end
public void end(DataSource ds)
- end is called when parsing of data is ended
- Parameters:
- ds - DataSource finishing its job
assert
public void assert(DataSource ds,
Resource predicate,
Resource subject,
RDFnode object)
- assert is called every time a new statement within
RDF data model is added
- Parameters:
- ds - DataSource who assert'ed this statement
(can be null if the assert'ing party
does no implement DataSource interface)
parse
public Model parse(InputSource source) throws Exception
compare
public int compare(Object handle,
Object o1,
Object o2)
serialize
public void serialize(Model m,
Writer w) throws IOException
All Packages Class Hierarchy This Package Previous Next Index