|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.rdf.model.impl.StatementBase
com.hp.hpl.jena.rdf.model.impl.StatementImpl
de.fuberlin.wiwiss.ng4j.NamedGraphStatement
public class NamedGraphStatement
A Statement which can provide provenance information about the
NamedGraphs in which it is contained. NamedGraphStatements
are used in NamedGraphModels. Those are backed by a
NamedGraphSet. The NamedGraphStatement knows in which graphs from
that set it is contained.
TODO: Write tests for NamedGraphStatement
| Field Summary |
|---|
| Fields inherited from class com.hp.hpl.jena.rdf.model.impl.StatementImpl |
|---|
empty, object, predicate, subject |
| Fields inherited from class com.hp.hpl.jena.rdf.model.impl.StatementBase |
|---|
model |
| Constructor Summary | |
|---|---|
NamedGraphStatement(Resource s,
Property p,
RDFNode o,
NamedGraphModel m)
|
|
| Method Summary | |
|---|---|
NamedGraph |
getGraph()
Returns a NamedGraph that contains the statement. |
Resource |
getGraphName()
Returns a NamedGraph that contains the statement. |
Iterator |
listGraphNames()
Returns the names of NamedGraphs containing the statement as Jena Resources. |
Iterator |
listGraphs()
Finds the NamedGraphs which contain the statement. |
Iterator |
listQuads()
Finds all Quads which contain the subject, predicate and
object of the statement. |
| Methods inherited from class com.hp.hpl.jena.rdf.model.impl.StatementImpl |
|---|
asResource, asTriple, asTriples, createObject, createReifiedStatement, createReifiedStatement, equals, getAlt, getBag, getLiteral, getObject, getObject, getPredicate, getProperty, getResource, getResource, getSeq, getStatementProperty, getSubject, hashCode, isReified, listReifiedStatements, remove, removeReification, replace, toStatement |
| Methods inherited from class com.hp.hpl.jena.rdf.model.impl.StatementBase |
|---|
changeObject, changeObject, changeObject, changeObject, changeObject, changeObject, changeObject, changeObject, changeObject, changeObject, changeObject, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLanguage, getLong, getModel, getShort, getString, getWellFormed, hasWellFormedXML, mustBeResource, objectString, stringReplace, stringReplace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.hp.hpl.jena.rdf.model.Statement |
|---|
changeObject, changeObject, changeObject, changeObject, changeObject, changeObject, changeObject, changeObject, changeObject, changeObject, changeObject, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLanguage, getLong, getModel, getShort, getString, getWellFormed, hasWellFormedXML |
| Constructor Detail |
|---|
public NamedGraphStatement(Resource s,
Property p,
RDFNode o,
NamedGraphModel m)
| Method Detail |
|---|
public NamedGraph getGraph()
public Resource getGraphName()
public Iterator listGraphs()
NamedGraphs which contain the statement.
public Iterator listGraphNames()
Resources. They can be handy for
creating Statements about the graphs.
public Iterator listQuads()
Quads which contain the subject, predicate and
object of the statement.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||