com.ontotext.ordi.tripleset
Interface TFactory

All Superinterfaces:
ValueFactory
All Known Implementing Classes:
TFactoryImpl, TRREEValueFactory

public interface TFactory
extends ValueFactory


Method Summary
 TStatement createStatement(Resource subject, URI predicate, Value object, Resource context, Set<URI> ts)
          Creates a new tripleset statement with the supplied subject, predicate, object, graph name and associated triplesets.
 TStatement createStatement(Resource subject, URI predicate, Value object, Resource context, URI... ts)
          Creates a new tripleset statement with the supplied subject, predicate, object, graph name and associated triplesets.
 
Methods inherited from interface org.openrdf.model.ValueFactory
createBNode, createBNode, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createLiteral, createStatement, createStatement, createURI, createURI
 

Method Detail

createStatement

TStatement createStatement(Resource subject,
                           URI predicate,
                           Value object,
                           Resource context,
                           URI... ts)
Creates a new tripleset statement with the supplied subject, predicate, object, graph name and associated triplesets.

Parameters:
subject - The statement's subject.
predicate - The statement's predicate.
object - The statement's object.
context - The statement's context.
ts - The statement's tripleset.
Returns:
The created statement.

createStatement

TStatement createStatement(Resource subject,
                           URI predicate,
                           Value object,
                           Resource context,
                           Set<URI> ts)
Creates a new tripleset statement with the supplied subject, predicate, object, graph name and associated triplesets.

Parameters:
subject - The statement's subject.
predicate - The statement's predicate.
object - The statement's object.
context - The statement's context.
ts - The statement's tripleset.
Returns:
The created statement.


Copyright © 2008. All Rights Reserved.