public class XdiPeerRoot extends XdiAbstractRoot
Modifier and Type | Class and Description |
---|---|
static class |
XdiPeerRoot.Definition |
static class |
XdiPeerRoot.MappingContextNodePeerRootIterator |
static class |
XdiPeerRoot.MappingPeerRootXDIArcIriIterator |
static class |
XdiPeerRoot.MappingPeerRootXDIArcLiteralIterator |
static class |
XdiPeerRoot.MappingPeerRootXDIArcXDIAddressIterator |
static class |
XdiPeerRoot.MappingXDIAddressPeerRootXDIArcIterator |
static class |
XdiPeerRoot.Variable |
XdiRoot.MappingAbsoluteToRelativeXDIAddressIterator, XdiRoot.MappingAbsoluteToRelativeXDIStatementIterator, XdiRoot.MappingRelativeToAbsoluteXDIAddressIterator, XdiRoot.MappingRelativeToAbsoluteXDIStatementIterator
XdiContext.MappingXdiContextContextNodeIterator
Modifier | Constructor and Description |
---|---|
protected |
XdiPeerRoot(ContextNode contextNode) |
Modifier and Type | Method and Description |
---|---|
static XDIArc |
createPeerRootXDIArc(XDIAddress XDIaddress)
Returns the peer root arc of an address.
|
static XdiPeerRoot |
fromContextNode(ContextNode contextNode)
Factory method that creates an XDI peer root bound to a given context node.
|
static XdiPeerRoot |
fromXDIAddress(XDIAddress XDIaddress) |
static String |
getIriOfPeerRootXDIArc(XDIArc XDIarc)
Returns the IRI of the peer root arc.
|
static String |
getLiteralOfPeerRootXDIArc(XDIArc XDIarc)
Returns the literal of the peer root arc.
|
XDIAddress |
getXDIAddressOfPeerRoot() |
static XDIAddress |
getXDIAddressOfPeerRootXDIArc(XDIArc XDIarc)
Returns the address of the peer root arc.
|
boolean |
isSelfPeerRoot()
Checks if this XDI peer root is the self XDI peer root of the graph.
|
static boolean |
isValid(ContextNode contextNode)
Checks if a context node is a valid XDI peer root.
|
static boolean |
isValidXDIArc(XDIArc XDIarc)
Checks if a given arc is a peer 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 XdiPeerRoot(ContextNode contextNode)
public static boolean isValid(ContextNode contextNode)
contextNode
- The context node to check.public static XdiPeerRoot fromContextNode(ContextNode contextNode)
contextNode
- The context node that is an XDI peer root.public static XdiPeerRoot fromXDIAddress(XDIAddress XDIaddress)
public boolean isSelfPeerRoot()
public XDIAddress getXDIAddressOfPeerRoot()
public static XDIArc createPeerRootXDIArc(XDIAddress XDIaddress)
address
- An address.public static XDIAddress getXDIAddressOfPeerRootXDIArc(XDIArc XDIarc)
arc
- A peer root arc.public static String getIriOfPeerRootXDIArc(XDIArc XDIarc)
arc
- A peer root arc.public static String getLiteralOfPeerRootXDIArc(XDIArc XDIarc)
arc
- A peer root arc.public static boolean isValidXDIArc(XDIArc XDIarc)
arc
- A peer root arc.Copyright © 2017. All rights reserved.