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.


Constructor Index

 o RDFMSImpl(RDFFactory)

Method Index

 o assert(DataSource, Resource, Resource, RDFnode)
assert is called every time a new statement within RDF data model is added
 o compare(Object, Object, Object)
 o end(DataSource)
end is called when parsing of data is ended
 o fetchSchema(String)
Overwrites fetchSchema method of SiRPAC
 o parse(InputSource)
 o serialize(Model, Writer)
 o setSchemaController(SchemaController)
 o start(DataSource)
start is called when parsing of data is started

Constructors

 o RDFMSImpl
 public RDFMSImpl(RDFFactory factory)

Methods

 o fetchSchema
 public void fetchSchema(String uri)
Overwrites fetchSchema method of SiRPAC

Overrides:
fetchSchema in class SiRPAC
 o setSchemaController
 public void setSchemaController(SchemaController c)
 o start
 public void start(DataSource ds)
start is called when parsing of data is started

Parameters:
ds - DataSource starting its job
 o end
 public void end(DataSource ds)
end is called when parsing of data is ended

Parameters:
ds - DataSource finishing its job
 o 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)
 o parse
 public Model parse(InputSource source) throws Exception
 o compare
 public int compare(Object handle,
                    Object o1,
                    Object o2)
 o serialize
 public void serialize(Model m,
                       Writer w) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index