Version: 1.1.1

Package org.biomoby.client.rdf.builder

Provides the classes that are necessary for creating BioMoby RDF documents.

See:
          Description

Class Summary
FilteredStream  
ServiceInstanceRDF  
 

Package org.biomoby.client.rdf.builder Description

Provides the classes that are necessary for creating BioMoby RDF documents.

The main java class that provides most of the RDF document creation for BioMoby can be found in the class org.biomoby.client.rdf.builder.RDFConfigure. By using this class, you can generate RDF documents for Moby Services, Objects, Namespaces, and Service Instances.

To start building RDF documents, see the following code: For Namespaces - i.e. retrieve document describing the namespace EcoCyc: RDFConfigure builder = new RDFConfigure(RDFConfigure.URI_NAMESPACE); byte[] data = builder.retrieveObjectRDF(RDFConfigure.URI_NAMESPACE+"EcoCyc"); For Services - i.e. retrieve document describing the Service type Retrieval: RDFConfigure builder = new RDFConfigure(RDFConfigure.URI_SERVICE); byte[] data = builder.retrieveObjectRDF(RDFConfigure.URI_SERVICE+"Retrieval"); For Objects - i.e. retrieve document describing the Object DNASequence: RDFConfigure builder = new RDFConfigure(RDFConfigure.URI_OBJECT); byte[] data = builder.retrieveObjectRDF(RDFConfigure.URI_OBJECT+"DNASequence"); For Service Instances - i.e. retrieve document describing the Service Instance Stride from the authority bioserv.rpbs.jussieu.fr: RDFConfigure builder = new RDFConfigure(RDFConfigure.URI_ServiceINSTANCE); byte[] data = builder.retrieveServiceInstanceRDF(RDFConfigure.URI_ServiceINSTANCE+"bioserv.rpbs.jussieu.fr,Stride"); Note: that an alternative way to do this would be using the class ServiceInstanceRDF and the method findService(...).


Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010