public class XdiInnerRoot extends XdiAbstractRoot
Modifier and Type | Class and Description |
---|---|
static class |
XdiInnerRoot.Definition |
static class |
XdiInnerRoot.MappingContextNodeInnerRootIterator |
static class |
XdiInnerRoot.MappingRelationInnerRootIterator |
static class |
XdiInnerRoot.Variable |
XdiRoot.MappingAbsoluteToRelativeXDIAddressIterator, XdiRoot.MappingAbsoluteToRelativeXDIStatementIterator, XdiRoot.MappingRelativeToAbsoluteXDIAddressIterator, XdiRoot.MappingRelativeToAbsoluteXDIStatementIterator
XdiContext.MappingXdiContextContextNodeIterator
Modifier | Constructor and Description |
---|---|
protected |
XdiInnerRoot(ContextNode contextNode) |
Modifier and Type | Method and Description |
---|---|
static XDIArc |
createInnerRootXDIArc(XDIAddress subject,
XDIAddress predicate)
Returns the inner root arc of a subject address and a predicate address.
|
static XdiInnerRoot |
fromContextNode(ContextNode contextNode)
Factory method that creates an XDI inner root bound to a given context node.
|
static XdiInnerRoot |
fromRelation(Relation relation)
Factory method that creates an XDI inner root bound to a given relation.
|
static XdiInnerRoot |
fromXDIAddress(XDIAddress XDIaddress) |
Graph |
getInnerGraph()
Return the relative inner graph of this XDI inner root.
|
XDIAddress |
getPredicateOfInnerRoot()
Returns the predicate address of this XDI inner root.
|
static XDIAddress |
getPredicateOfInnerRootXDIArc(XDIArc XDIarc)
Returns the predicate address of the inner root arc.
|
Relation |
getPredicateRelation()
Returns the underlying predicate relation of this XDI inner root.
|
static Relation |
getPredicateRelation(ContextNode contextNode)
Returns the predicate relation of the XDI inner root context node.
|
ContextNode |
getSubjectContextNode()
Returns the underlying subject context node of this XDI inner root.
|
static ContextNode |
getSubjectContextNode(ContextNode contextNode)
Returns the subject context node of the XDI inner root context node.
|
XDIAddress |
getSubjectOfInnerRoot()
Returns the subject address of this XDI inner root.
|
static XDIAddress |
getSubjectOfInnerRootXDIArc(XDIArc XDIarc)
Returns the subject address of the inner root arcc.
|
static boolean |
isValid(ContextNode contextNode)
Checks if a context node is a valid XDI inner root.
|
static boolean |
isValidXDIArc(XDIArc XDIarc)
Checks if a given arc is an inner root arc.
|
absoluteToRelativeXDIAddress, absoluteToRelativeXDIStatement, getInnerRoot, getInnerRoots, getPeerRoot, getPeerRoots, getRoot, relativeToAbsoluteXDIAddress, relativeToAbsoluteXDIStatement
compareTo, dereference, dereference, equals, findLocalRoot, findRoot, fromContextNode, fromXDIAddress, getBaseXDIArc, getBaseXDIArc, getContextNode, getGraph, getIdentityXdiContext, getIdentityXdiContexts, getReferenceXdiContext, getReplacementXdiContext, getXDIAddress, getXDIArc, getXdiAttribute, getXdiAttribute, getXdiAttributeCollection, getXdiAttributeCollection, getXdiAttributeSingleton, getXdiAttributeSingleton, getXdiContext, getXdiEntity, getXdiEntity, getXdiEntityCollection, getXdiEntityCollection, getXdiEntitySingleton, getXdiEntitySingleton, getXdiInnerRoot, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
dereference, dereference, findLocalRoot, findRoot, getBaseXDIArc, getContextNode, getGraph, getIdentityXdiContext, getIdentityXdiContexts, getReferenceXdiContext, getReplacementXdiContext, getXDIAddress, getXDIArc, getXdiAttribute, getXdiAttribute, getXdiAttributeCollection, getXdiAttributeCollection, getXdiAttributeSingleton, getXdiAttributeSingleton, getXdiContext, getXdiEntity, getXdiEntity, getXdiEntityCollection, getXdiEntityCollection, getXdiEntitySingleton, getXdiEntitySingleton, getXdiInnerRoot
compareTo
protected XdiInnerRoot(ContextNode contextNode)
public static boolean isValid(ContextNode contextNode)
contextNode
- The context node to check.public static XdiInnerRoot fromContextNode(ContextNode contextNode)
contextNode
- The context node that is an XDI inner root.public static XdiInnerRoot fromRelation(Relation relation)
relation
- The relation that points to an XDI inner root.public static XdiInnerRoot fromXDIAddress(XDIAddress XDIaddress)
public ContextNode getSubjectContextNode()
public Relation getPredicateRelation()
public XDIAddress getSubjectOfInnerRoot()
public XDIAddress getPredicateOfInnerRoot()
public Graph getInnerGraph()
public static XDIArc createInnerRootXDIArc(XDIAddress subject, XDIAddress predicate)
subject
- A subject address.predicate
- A subject address.public static ContextNode getSubjectContextNode(ContextNode contextNode)
contextNode
- An XDI inner root context node.public static Relation getPredicateRelation(ContextNode contextNode)
contextNode
- An XDI inner root context node.public static XDIAddress getSubjectOfInnerRootXDIArc(XDIArc XDIarc)
arc
- An inner root arc.public static XDIAddress getPredicateOfInnerRootXDIArc(XDIArc XDIarc)
arc
- An inner root arc.public static boolean isValidXDIArc(XDIArc XDIarc)
arc
- An inner root arc.Copyright © 2017. All rights reserved.