public abstract class XdiAbstractVariable<EQ extends XdiContext<EQ>> extends XdiAbstractContext<EQ> implements XdiVariable<EQ>
Modifier and Type | Class and Description |
---|---|
static class |
XdiAbstractVariable.MappingContextNodeXdiVariableIterator |
XdiContext.MappingXdiContextContextNodeIterator
Modifier | Constructor and Description |
---|---|
protected |
XdiAbstractVariable(ContextNode contextNode) |
Modifier and Type | Method and Description |
---|---|
static XdiVariable<? extends XdiContext<?>> |
fromContextNode(ContextNode contextNode)
Factory method that creates an XDI variable bound to a given context node.
|
static XdiVariable<?> |
fromXDIAddress(XDIAddress XDIaddress) |
static Object |
getVariableLiteralDataValue(Map<XDIArc,Object> variableValues,
XDIArc variableValueXDIArc) |
static Map<XDIArc,Object> |
getVariableValues(XdiEntity variableValuesXdiEntity) |
static XDIAddress |
getVariableXDIAddressValue(Map<XDIArc,Object> variableValues,
XDIArc variableValueXDIArc) |
static List<XDIAddress> |
getVariableXDIAddressValues(Map<XDIArc,Object> variableValues,
XDIArc variableValueXDIArc) |
static XDIArc |
getVariableXDIArcValue(Map<XDIArc,Object> variableValues,
XDIArc variableValueXDIArc) |
static boolean |
isValid(ContextNode contextNode)
Checks if a context node is a valid XDI variable.
|
static void |
setVariableValue(XdiEntity variableValuesXdiEntity,
XDIArc variableValueXDIArc,
Object variableValue) |
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 XdiAbstractVariable(ContextNode contextNode)
public static boolean isValid(ContextNode contextNode)
contextNode
- The context node to check.public static XdiVariable<? extends XdiContext<?>> fromContextNode(ContextNode contextNode)
contextNode
- The context node that is an XDI variable.public static XdiVariable<?> fromXDIAddress(XDIAddress XDIaddress)
public static void setVariableValue(XdiEntity variableValuesXdiEntity, XDIArc variableValueXDIArc, Object variableValue)
public static Map<XDIArc,Object> getVariableValues(XdiEntity variableValuesXdiEntity)
public static List<XDIAddress> getVariableXDIAddressValues(Map<XDIArc,Object> variableValues, XDIArc variableValueXDIArc)
public static XDIAddress getVariableXDIAddressValue(Map<XDIArc,Object> variableValues, XDIArc variableValueXDIArc)
public static XDIArc getVariableXDIArcValue(Map<XDIArc,Object> variableValues, XDIArc variableValueXDIArc)
Copyright © 2017. All rights reserved.