|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Nested Class Summary | |
static class |
Reifier.AlreadyReifiedException
The exception raised by reifyAs if a node is already bound to a single reified triple. |
static class |
Reifier.CannotReifyException
The exception thrown by reifyAs if a node is bound to bits and pieces of (an)other triple(s). |
static class |
Reifier.Style
Reification styles have two boolean components: whether the graph+reifier will intercept reification triples or not [if not, the only in-Jena reification is through the reifyAs operation], and whether or not reification triples will be visible in the graph. |
Field Summary | |
static Reifier.Style |
Convenient
|
static Reifier.Style |
Minimal
|
static Node |
object
|
static Node |
predicate
|
static Reifier.Style |
Standard
|
static Node |
Statement
|
static Node |
subject
|
static Node |
type
|
Method Summary | |
ExtendedIterator |
allNodes()
return an iterator over all the nodes that are reifiying something in this reifier. |
Graph |
getHiddenTriples()
return a read-only Graph of the triples used for reification. |
Graph |
getParentGraph()
get the Graph which uses this reifier. |
boolean |
handledAdd(Triple t)
true iff the Reifier has handled an add of the triple _t_. |
boolean |
handledRemove(Triple t)
true iff the Reifier has handled a remove of the triple _t_. |
boolean |
hasTriple(Node n)
true iff _n_ is associated with some triple. |
boolean |
hasTriple(Triple t)
|
Node |
reifyAs(Node n,
Triple t)
note the triple _t_ as reified using _n_ as its representing node. |
void |
remove(Node n,
Triple t)
remove any existing binding for _n_; hasNode(n) will return false and getTriple(n) will return null. |
void |
remove(Triple t)
remove all bindings which map to this triple. |
Methods inherited from interface com.hp.hpl.jena.graph.GetTriple |
getTriple |
Field Detail |
public static final Node type
public static final Node subject
public static final Node predicate
public static final Node object
public static final Node Statement
public static final Reifier.Style Standard
public static final Reifier.Style Convenient
public static final Reifier.Style Minimal
Method Detail |
public Graph getHiddenTriples()
public Graph getParentGraph()
public Node reifyAs(Node n, Triple t)
public boolean hasTriple(Node n)
public boolean hasTriple(Triple t)
public ExtendedIterator allNodes()
public void remove(Node n, Triple t)
public void remove(Triple t)
public boolean handledAdd(Triple t)
public boolean handledRemove(Triple t)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |