org.w3c.rdf.implementation.model
Class NodeFactoryImpl

java.lang.Object
  |
  +--org.w3c.rdf.implementation.model.NodeFactoryImpl

public class NodeFactoryImpl
extends java.lang.Object
implements NodeFactory


Constructor Summary
NodeFactoryImpl()
           
 
Method Summary
 Literal createLiteral(java.lang.String str)
          Creates a literal out of a string
 Resource createResource(java.lang.String str)
          Creates a resource out of a string
 Statement createStatement(Resource subject, Resource predicate, RDFNode object)
          Creates a triple
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeFactoryImpl

public NodeFactoryImpl()
Method Detail

createResource

public Resource createResource(java.lang.String str)
Creates a resource out of a string
Specified by:
createResource in interface NodeFactory

createLiteral

public Literal createLiteral(java.lang.String str)
Creates a literal out of a string
Specified by:
createLiteral in interface NodeFactory

createStatement

public Statement createStatement(Resource subject,
                                 Resource predicate,
                                 RDFNode object)
Creates a triple
Specified by:
createStatement in interface NodeFactory