|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.w3c.rdf.implementation.model.NodeFactoryImpl
Constructor Summary | |
NodeFactoryImpl()
|
Method Summary | |
Literal |
createLiteral(boolean b)
Creates a literal from a boolean |
Literal |
createLiteral(byte b)
Creates a literal from a byte |
Literal |
createLiteral(char b)
Creates a literal from a char |
Literal |
createLiteral(double b)
Creates a literal from a double |
Literal |
createLiteral(float b)
Creates a literal from a float |
Literal |
createLiteral(int b)
Creates a literal from an int |
Literal |
createLiteral(long b)
Creates a literal from a long |
Literal |
createLiteral(short b)
Creates a literal from a short |
Literal |
createLiteral(java.lang.String str)
Creates a literal out of a string |
Resource |
createOrdinal(int i)
Creates an ordinal property (rdf:li, rdf:_N) |
Resource |
createResource(java.lang.String str)
Creates a resource from a URI |
Resource |
createResource(java.lang.String namespace,
java.lang.String localName)
Creates a resource from namespace and local name |
Statement |
createStatement(Resource subject,
Resource predicate,
RDFNode object)
Creates a triple |
Resource |
createUniqueResource()
Creates a resource with a unique ID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NodeFactoryImpl()
Method Detail |
public Resource createResource(java.lang.String str)
createResource
in interface NodeFactory
public Resource createResource(java.lang.String namespace, java.lang.String localName)
createResource
in interface NodeFactory
public Literal createLiteral(java.lang.String str)
createLiteral
in interface NodeFactory
public Statement createStatement(Resource subject, Resource predicate, RDFNode object)
createStatement
in interface NodeFactory
public Resource createUniqueResource()
createUniqueResource
in interface NodeFactory
public Resource createOrdinal(int i)
createOrdinal
in interface NodeFactory
public Literal createLiteral(boolean b) throws ModelException
createLiteral
in interface NodeFactory
public Literal createLiteral(byte b) throws ModelException
createLiteral
in interface NodeFactory
public Literal createLiteral(char b) throws ModelException
createLiteral
in interface NodeFactory
public Literal createLiteral(short b) throws ModelException
createLiteral
in interface NodeFactory
public Literal createLiteral(int b) throws ModelException
createLiteral
in interface NodeFactory
public Literal createLiteral(long b) throws ModelException
createLiteral
in interface NodeFactory
public Literal createLiteral(float b) throws ModelException
createLiteral
in interface NodeFactory
public Literal createLiteral(double b) throws ModelException
createLiteral
in interface NodeFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |