Method Summary |
|
public BNode | createBNode() Creates a new bNode. |
public BNode | createBNode(String nodeID) Creates a new blank node with the given node identifier.
Parameters: nodeID - The blank node identifier. |
public Literal | createLiteral(String label) Creates a new literal with the supplied label. |
public Literal | createLiteral(String label, String language) Creates a new literal with the supplied label and language attribute. |
public Literal | createLiteral(String label, URI datatype) Creates a new literal with the supplied label and datatype. |
public Literal | createLiteral(boolean value) Creates a new xsd:boolean-typed literal representing the
specified value.
Parameters: value - The value for the literal. |
public Literal | createLiteral(byte value) Creates a new xsd:byte-typed literal representing the
specified value.
Parameters: value - The value for the literal. |
public Literal | createLiteral(short value) Creates a new xsd:short-typed literal representing the
specified value.
Parameters: value - The value for the literal. |
public Literal | createLiteral(int value) Creates a new xsd:int-typed literal representing the specified
value.
Parameters: value - The value for the literal. |
public Literal | createLiteral(long value) Creates a new xsd:long-typed literal representing the
specified value.
Parameters: value - The value for the literal. |
public Literal | createLiteral(float value) Creates a new xsd:float-typed literal representing the
specified value.
Parameters: value - The value for the literal. |
public Literal | createLiteral(double value) Creates a new xsd:double-typed literal representing the
specified value.
Parameters: value - The value for the literal. |
public Literal | createLiteral(XMLGregorianCalendar calendar) Creates a new literal representing the specified calendar that is typed
using the appropriate XML Schema date/time datatype.
Parameters: calendar - The value for the literal. |
public Statement | createStatement(Resource subject, URI predicate, Value object) Creates a new statement with the supplied subject, predicate and object.
Parameters: subject - The statement's subject. Parameters: predicate - The statement's predicate. Parameters: object - The statement's object. |
public Statement | createStatement(Resource subject, URI predicate, Value object, Resource context) Creates a new statement with the supplied subject, predicate and object
and associated context.
Parameters: subject - The statement's subject. Parameters: predicate - The statement's predicate. Parameters: object - The statement's object. Parameters: context - The statement's context. |
public URI | createURI(String uri) Creates a new URI from the supplied string-representation.
Parameters: uri - A string-representation of a URI. |
public URI | createURI(String namespace, String localName) Creates a new URI from the supplied namespace and local name. |