com.hp.hpl.jena.sparql.graph
Class Reifier2
java.lang.Object
com.hp.hpl.jena.sparql.graph.Reifier2
- All Implemented Interfaces:
- GetTriple, Reifier
public class Reifier2
- extends Object
- implements Reifier
A Reifier that only supports one style Standard (intercept, no conceal
-- and intercept is a no-op anyway because all triples
appear in the underlying graph for storing all triples).
Reifier2
public Reifier2(Graph graph)
allNodes
public com.hp.hpl.jena.util.iterator.ExtendedIterator<Node> allNodes()
- Specified by:
allNodes in interface Reifier
allNodes
public com.hp.hpl.jena.util.iterator.ExtendedIterator<Node> allNodes(Triple triple)
- Specified by:
allNodes in interface Reifier
close
public void close()
- Specified by:
close in interface Reifier
find
public com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> find(TripleMatch match)
- Specified by:
find in interface Reifier
findEither
public com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> findEither(TripleMatch match,
boolean showHidden)
- Specified by:
findEither in interface Reifier
findExposed
public com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> findExposed(TripleMatch match)
- Specified by:
findExposed in interface Reifier
getParentGraph
public Graph getParentGraph()
- Specified by:
getParentGraph in interface Reifier
getStyle
public ReificationStyle getStyle()
- Specified by:
getStyle in interface Reifier
handledAdd
public boolean handledAdd(Triple triple)
- Specified by:
handledAdd in interface Reifier
handledRemove
public boolean handledRemove(Triple triple)
- Specified by:
handledRemove in interface Reifier
hasTriple
public boolean hasTriple(Node node)
- Specified by:
hasTriple in interface Reifier
hasTriple
public boolean hasTriple(Triple triple)
- Specified by:
hasTriple in interface Reifier
reifyAs
public Node reifyAs(Node node,
Triple triple)
- Specified by:
reifyAs in interface Reifier
remove
public void remove(Triple triple)
- Specified by:
remove in interface Reifier
remove
public void remove(Node node,
Triple triple)
- Specified by:
remove in interface Reifier
size
public int size()
- Specified by:
size in interface Reifier
getTriple
public Triple getTriple(Node node)
- Specified by:
getTriple in interface GetTriple
Licenced under the Apache License, Version 2.0