com.hp.hpl.jena.sparql.graph
Class Reifier2

java.lang.Object
  extended by 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).


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.hp.hpl.jena.graph.Reifier
Reifier.Util
 
Constructor Summary
Reifier2(Graph graph)
           
 
Method Summary
 com.hp.hpl.jena.util.iterator.ExtendedIterator<Node> allNodes()
           
 com.hp.hpl.jena.util.iterator.ExtendedIterator<Node> allNodes(Triple triple)
           
 void close()
           
 com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> find(TripleMatch match)
           
 com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> findEither(TripleMatch match, boolean showHidden)
           
 com.hp.hpl.jena.util.iterator.ExtendedIterator<Triple> findExposed(TripleMatch match)
           
 Graph getParentGraph()
           
 ReificationStyle getStyle()
           
 Triple getTriple(Node node)
           
 boolean handledAdd(Triple triple)
           
 boolean handledRemove(Triple triple)
           
 boolean hasTriple(Node node)
           
 boolean hasTriple(Triple triple)
           
 Node reifyAs(Node node, Triple triple)
           
 void remove(Node node, Triple triple)
           
 void remove(Triple triple)
           
 int size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reifier2

public Reifier2(Graph graph)
Method Detail

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