org.w3c.rdf.model
Interface NodeFactory

All Known Implementing Classes:
NodeFactoryImpl

public abstract interface NodeFactory

Provides methods for creating resources, literals and statements.


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
 

Method Detail

createResource

public Resource createResource(java.lang.String str)
Creates a resource out of a string

createLiteral

public Literal createLiteral(java.lang.String str)
Creates a literal out of a string

createStatement

public Statement createStatement(Resource subject,
                                 Resource predicate,
                                 RDFNode object)
Creates a triple