CellML API
rdf_api::DataSource Interface Reference
A top-level interface for this RDF API. More...


Public Member Functions | |
| URIReference | getURIReference (in wstring aURI) |
| Fetches a URI reference resource. | |
| BlankNode | createBlankNode () |
| Creates a blank node. | |
| PlainLiteral | getPlainLiteral (in wstring aForm, in wstring aLanguage) |
| Fetches a plain literal. | |
| TypedLiteral | getTypedLiteral (in wstring aForm, in wstring datatypeURI) |
| Fetches a typed literal. | |
| TripleSet | getAllTriples () |
| Fetches the set of all triples present anywhere in the model. | |
Public Member Functions inherited from XPCOM::IObject | |
| void | add_ref () |
| Called to indicate that some code is keeping an owning reference to the object. | |
| oneway void | release_ref () |
| Removes a reference to an object which was created by some other means (e.g. | |
| IObject | query_interface (in utf8string id) |
| Returns an IObject of the same implementation, which supports a specific interface. | |
Additional Inherited Members | |
Public Attributes inherited from XPCOM::IObject | |
| readonly attribute string | objid |
| Fetches the ID of the object. | |
Detailed Description
A top-level interface for this RDF API.
Definition at line 30 of file RDF_APISPEC.idl.
Member Function Documentation
| BlankNode rdf_api::DataSource::createBlankNode | ( | ) |
Creates a blank node.
This resource is specific to this data source and cannot be used with objects retrieved via another data source. Calling createBlankNode several times will create a new blank node each time.
- Returns
- The new blank node.
| TripleSet rdf_api::DataSource::getAllTriples | ( | ) |
Fetches the set of all triples present anywhere in the model.
- Returns
- The set of all triples.
| PlainLiteral rdf_api::DataSource::getPlainLiteral | ( | in wstring | aForm, |
| in wstring | aLanguage | ||
| ) |
Fetches a plain literal.
This resource is specific to this data source and cannot be used with objects retrieved via another data source.
- Parameters
-
aForm The lexical form of the literal. aLanguage The language of the literal.
- Returns
- The plain literal.
| TypedLiteral rdf_api::DataSource::getTypedLiteral | ( | in wstring | aForm, |
| in wstring | datatypeURI | ||
| ) |
Fetches a typed literal.
This resource is specific to this data source and cannot be used with objects retrieved via another data source.
- Parameters
-
aForm The lexical form of the literal. datatypeURI The datatype URI for the literal.
- Returns
- The plain literal.
| URIReference rdf_api::DataSource::getURIReference | ( | in wstring | aURI | ) |
Fetches a URI reference resource.
This resource is specific to this data source and cannot be used with objects retrieved via another data source.
- Parameters
-
aURI The URI of the resource to fetch.
- Returns
- The URI reference resource.

Public Member Functions inherited from