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

java.lang.Object
  extended by com.hp.hpl.jena.sparql.graph.Reifier2
All Implemented Interfaces:
com.hp.hpl.jena.graph.GetTriple, com.hp.hpl.jena.graph.Reifier

public class Reifier2
extends Object
implements com.hp.hpl.jena.graph.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
com.hp.hpl.jena.graph.Reifier.Util
 
Constructor Summary
Reifier2(com.hp.hpl.jena.graph.Graph graph)
           
 
Method Summary
 com.hp.hpl.jena.util.iterator.ExtendedIterator<com.hp.hpl.jena.graph.Node> allNodes()
           
 com.hp.hpl.jena.util.iterator.ExtendedIterator<com.hp.hpl.jena.graph.Node> allNodes(com.hp.hpl.jena.graph.Triple triple)
           
 void close()
           
 com.hp.hpl.jena.util.iterator.ExtendedIterator<com.hp.hpl.jena.graph.Triple> find(com.hp.hpl.jena.graph.TripleMatch match)
           
 com.hp.hpl.jena.util.iterator.ExtendedIterator<com.hp.hpl.jena.graph.Triple> findEither(com.hp.hpl.jena.graph.TripleMatch match, boolean showHidden)
           
 com.hp.hpl.jena.util.iterator.ExtendedIterator<com.hp.hpl.jena.graph.Triple> findExposed(com.hp.hpl.jena.graph.TripleMatch match)
           
 com.hp.hpl.jena.graph.Graph getParentGraph()
           
 com.hp.hpl.jena.shared.ReificationStyle getStyle()
           
 com.hp.hpl.jena.graph.Triple getTriple(com.hp.hpl.jena.graph.Node node)
           
 boolean handledAdd(com.hp.hpl.jena.graph.Triple triple)
           
 boolean handledRemove(com.hp.hpl.jena.graph.Triple triple)
           
 boolean hasTriple(com.hp.hpl.jena.graph.Node node)
           
 boolean hasTriple(com.hp.hpl.jena.graph.Triple triple)
           
 com.hp.hpl.jena.graph.Node reifyAs(com.hp.hpl.jena.graph.Node node, com.hp.hpl.jena.graph.Triple triple)
           
 void remove(com.hp.hpl.jena.graph.Node node, com.hp.hpl.jena.graph.Triple triple)
           
 void remove(com.hp.hpl.jena.graph.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(com.hp.hpl.jena.graph.Graph graph)
Method Detail

allNodes

public com.hp.hpl.jena.util.iterator.ExtendedIterator<com.hp.hpl.jena.graph.Node> allNodes()
Specified by:
allNodes in interface com.hp.hpl.jena.graph.Reifier

allNodes

public com.hp.hpl.jena.util.iterator.ExtendedIterator<com.hp.hpl.jena.graph.Node> allNodes(com.hp.hpl.jena.graph.Triple triple)
Specified by:
allNodes in interface com.hp.hpl.jena.graph.Reifier

close

public void close()
Specified by:
close in interface com.hp.hpl.jena.graph.Reifier

find

public com.hp.hpl.jena.util.iterator.ExtendedIterator<com.hp.hpl.jena.graph.Triple> find(com.hp.hpl.jena.graph.TripleMatch match)
Specified by:
find in interface com.hp.hpl.jena.graph.Reifier

findEither

public com.hp.hpl.jena.util.iterator.ExtendedIterator<com.hp.hpl.jena.graph.Triple> findEither(com.hp.hpl.jena.graph.TripleMatch match,
                                                                                               boolean showHidden)
Specified by:
findEither in interface com.hp.hpl.jena.graph.Reifier

findExposed

public com.hp.hpl.jena.util.iterator.ExtendedIterator<com.hp.hpl.jena.graph.Triple> findExposed(com.hp.hpl.jena.graph.TripleMatch match)
Specified by:
findExposed in interface com.hp.hpl.jena.graph.Reifier

getParentGraph

public com.hp.hpl.jena.graph.Graph getParentGraph()
Specified by:
getParentGraph in interface com.hp.hpl.jena.graph.Reifier

getStyle

public com.hp.hpl.jena.shared.ReificationStyle getStyle()
Specified by:
getStyle in interface com.hp.hpl.jena.graph.Reifier

handledAdd

public boolean handledAdd(com.hp.hpl.jena.graph.Triple triple)
Specified by:
handledAdd in interface com.hp.hpl.jena.graph.Reifier

handledRemove

public boolean handledRemove(com.hp.hpl.jena.graph.Triple triple)
Specified by:
handledRemove in interface com.hp.hpl.jena.graph.Reifier

hasTriple

public boolean hasTriple(com.hp.hpl.jena.graph.Node node)
Specified by:
hasTriple in interface com.hp.hpl.jena.graph.Reifier

hasTriple

public boolean hasTriple(com.hp.hpl.jena.graph.Triple triple)
Specified by:
hasTriple in interface com.hp.hpl.jena.graph.Reifier

reifyAs

public com.hp.hpl.jena.graph.Node reifyAs(com.hp.hpl.jena.graph.Node node,
                                          com.hp.hpl.jena.graph.Triple triple)
Specified by:
reifyAs in interface com.hp.hpl.jena.graph.Reifier

remove

public void remove(com.hp.hpl.jena.graph.Triple triple)
Specified by:
remove in interface com.hp.hpl.jena.graph.Reifier

remove

public void remove(com.hp.hpl.jena.graph.Node node,
                   com.hp.hpl.jena.graph.Triple triple)
Specified by:
remove in interface com.hp.hpl.jena.graph.Reifier

size

public int size()
Specified by:
size in interface com.hp.hpl.jena.graph.Reifier

getTriple

public com.hp.hpl.jena.graph.Triple getTriple(com.hp.hpl.jena.graph.Node node)
Specified by:
getTriple in interface com.hp.hpl.jena.graph.GetTriple


Licenced under the Apache License, Version 2.0