| com.hp.hpl.jena.graph.impl.ReifierFragmentHandler
All known Subclasses: com.hp.hpl.jena.graph.impl.SimpleReifierFragmentHandler,
ReifierFragmentHandler | public interface ReifierFragmentHandler (Code) | | ReifierFragmentHandler: instances of this class handle fragments of reifications,
ie the triples (tag rdf:subject/predicate/object X) and (tag rdf:type Statement).
They are delivered from FragmentHandler instances and remain bound to
their originating instance.
author: kers |
Method Summary | |
abstract public boolean | clashedWith(Node tag, Node fragmentObject, Triple reified) If this handler clashed with the complete reification of reified ,
because its predicate and the given object aren't the same as that of
reified , add all five fragments to the its underlying
fragmentsMap and answer true ; otherwise answer
false . | abstract public Triple | reifyIfCompleteQuad(Triple fragment, Node tag, Node object) If this fragment completes a reification for tag ,
remove all the fragments from the underlying fragmentsMap and answer the
reified triple; otherwise add this fragment to the map and answer
null .
Parameters: fragment - the new fragment to consider Parameters: tag - the tag for the reification [equals the fragment subject] Parameters: object - the object of the fragment. | abstract public Triple | removeFragment(Node tag, Triple already, Triple fragment) |
clashedWith | abstract public boolean clashedWith(Node tag, Node fragmentObject, Triple reified)(Code) | | If this handler clashed with the complete reification of reified ,
because its predicate and the given object aren't the same as that of
reified , add all five fragments to the its underlying
fragmentsMap and answer true ; otherwise answer
false .
Parameters: fragmentObject - the object of the reification fragment Parameters: reified - the completely reified triple true iff the fragment clashed with the triple |
reifyIfCompleteQuad | abstract public Triple reifyIfCompleteQuad(Triple fragment, Node tag, Node object)(Code) | | If this fragment completes a reification for tag ,
remove all the fragments from the underlying fragmentsMap and answer the
reified triple; otherwise add this fragment to the map and answer
null .
Parameters: fragment - the new fragment to consider Parameters: tag - the tag for the reification [equals the fragment subject] Parameters: object - the object of the fragment. Hmm. the reified triple, if there is one, otherwise null |
removeFragment | abstract public Triple removeFragment(Node tag, Triple already, Triple fragment)(Code) | | Parameters: tag - Parameters: already - Parameters: fragment - |
|
|