public class XdiCommonRoot extends XdiAbstractRoot
XdiRoot.MappingAbsoluteToRelativeXDIAddressIterator, XdiRoot.MappingAbsoluteToRelativeXDIStatementIterator, XdiRoot.MappingRelativeToAbsoluteXDIAddressIterator, XdiRoot.MappingRelativeToAbsoluteXDIStatementIterator
XdiContext.MappingXdiContextContextNodeIterator
Modifier | Constructor and Description |
---|---|
protected |
XdiCommonRoot(ContextNode contextNode) |
Modifier and Type | Method and Description |
---|---|
static XdiCommonRoot |
findCommonRoot(Graph graph)
Given a graph, finds and returns the XDI common root.
|
static XdiCommonRoot |
fromContextNode(ContextNode contextNode)
Factory method that creates an XDI common root bound to a given context node.
|
static XdiCommonRoot |
fromXDIAddress(XDIAddress XDIaddress) |
XdiPeerRoot |
getSelfPeerRoot() |
static boolean |
isValid(ContextNode contextNode)
Checks if a context node is a valid XDI common root.
|
XdiPeerRoot |
setSelfPeerRoot(XDIAddress XDIaddress) |
absoluteToRelativeXDIAddress, absoluteToRelativeXDIStatement, getInnerRoot, getInnerRoots, getPeerRoot, getPeerRoots, getRoot, isValidXDIArc, 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 XdiCommonRoot(ContextNode contextNode)
public static XdiCommonRoot findCommonRoot(Graph graph)
graph
- The graph.public static boolean isValid(ContextNode contextNode)
contextNode
- The context node to check.public static XdiCommonRoot fromContextNode(ContextNode contextNode)
contextNode
- The context node that is an XDI common root.public static XdiCommonRoot fromXDIAddress(XDIAddress XDIaddress)
public XdiPeerRoot setSelfPeerRoot(XDIAddress XDIaddress)
public XdiPeerRoot getSelfPeerRoot()
Copyright © 2017. All rights reserved.