Package | Description |
---|---|
xdi2.core |
The XDI graph model and basic operations on it.
|
xdi2.core.features.equivalence | |
xdi2.core.features.nodetypes | |
xdi2.core.features.policy.operator | |
xdi2.core.impl | |
xdi2.core.impl.json |
Implementation of the XDI graph model as JSON objects.
|
xdi2.core.impl.keyvalue |
Implementation of the XDI graph model as key/value pairs.
|
xdi2.core.impl.memory |
In-memory implementation of the XDI graph model.
|
xdi2.core.impl.wrapped |
XDI graph model implementations that wrap an in-memory XDI graph.
|
xdi2.core.util |
Utility classes.
|
xdi2.core.util.iterators | |
xdi2.messaging |
Support for XDI messaging documents and transport protocols.
|
xdi2.messaging.operations |
Modifier and Type | Method and Description |
---|---|
Relation |
Graph.getDeepRelation(XDIAddress contextNodeXDIAddress,
XDIAddress XDIaddress) |
Relation |
ContextNode.getDeepRelation(XDIAddress relativeContextNodeXDIAddress,
XDIAddress XDIaddress) |
Relation |
Graph.getDeepRelation(XDIAddress contextNodeXDIAddress,
XDIAddress XDIaddress,
XDIAddress targetXDIAddress) |
Relation |
ContextNode.getDeepRelation(XDIAddress relativeContextNodeXDIAddress,
XDIAddress XDIaddress,
XDIAddress targetXDIAddress) |
Relation |
Statement.RelationStatement.getRelation() |
Relation |
ContextNode.getRelation(XDIAddress XDIaddress)
Returns a relation at this context node.
|
Relation |
ContextNode.getRelation(XDIAddress XDIaddress,
XDIAddress targetXDIAddress)
Returns a relation at this context node.
|
Relation |
Graph.setDeepRelation(XDIAddress contextNodeXDIAddress,
XDIAddress XDIaddress,
Node targetNode) |
Relation |
ContextNode.setDeepRelation(XDIAddress relativeContextNodeXDIAddress,
XDIAddress XDIaddress,
Node targetNode) |
Relation |
Graph.setDeepRelation(XDIAddress contextNodeXDIAddress,
XDIAddress XDIaddress,
XDIAddress targetXDIAddress) |
Relation |
ContextNode.setDeepRelation(XDIAddress relativeContextNodeXDIAddress,
XDIAddress XDIaddress,
XDIAddress targetXDIAddress) |
Relation |
ContextNode.setRelation(XDIAddress XDIaddress,
Node targetNode)
Creates a new relation and adds it to this context node, or returns an existing relation.
|
Relation |
ContextNode.setRelation(XDIAddress XDIaddress,
XDIAddress targetXDIAddress)
Creates a new relation and adds it to this context node, or returns an existing relation.
|
Modifier and Type | Method and Description |
---|---|
ReadOnlyIterator<Relation> |
ContextNode.getAllIncomingRelations()
Returns all incoming relations of this context node.
|
ReadOnlyIterator<Relation> |
ContextNode.getAllRelations()
Returns all relations of this context node.
|
ReadOnlyIterator<Relation> |
Graph.getDeepRelations(XDIAddress contextNodeXDIAddress,
XDIAddress XDIaddress) |
ReadOnlyIterator<Relation> |
ContextNode.getDeepRelations(XDIAddress relativeContextNodeXDIAddress,
XDIAddress XDIaddress) |
ReadOnlyIterator<Relation> |
ContextNode.getIncomingRelations()
Returns the incoming relations of this context node.
|
ReadOnlyIterator<Relation> |
ContextNode.getIncomingRelations(XDIAddress XDIaddress)
Returns the incoming relations with a given arc.
|
ReadOnlyIterator<Relation> |
ContextNode.getRelations()
Returns the relations of this context node.
|
ReadOnlyIterator<Relation> |
ContextNode.getRelations(XDIAddress XDIaddress)
Returns relations at this context node.
|
Modifier and Type | Method and Description |
---|---|
static Relation |
Equivalence.getReferenceRelation(ContextNode contextNode) |
static Relation |
Equivalence.getReplacementRelation(ContextNode contextNode) |
Modifier and Type | Method and Description |
---|---|
Relation |
XdiInnerRoot.getPredicateRelation()
Returns the underlying predicate relation of this XDI inner root.
|
static Relation |
XdiInnerRoot.getPredicateRelation(ContextNode contextNode)
Returns the predicate relation of the XDI inner root context node.
|
Modifier and Type | Method and Description |
---|---|
static XdiInnerRoot |
XdiInnerRoot.fromRelation(Relation relation)
Factory method that creates an XDI inner root bound to a given relation.
|
Constructor and Description |
---|
MappingRelationInnerRootIterator(Iterator<Relation> relations) |
Modifier and Type | Field and Description |
---|---|
protected Relation |
Operator.relation |
Modifier and Type | Method and Description |
---|---|
Relation |
Operator.getRelation()
Returns the underlying relation to which this XDI policy statement is bound.
|
Modifier and Type | Method and Description |
---|---|
static FalseOperator |
FalseOperator.fromRelation(Relation relation)
Factory method that creates an XDI $false operator bound to a given relation.
|
static Operator |
Operator.fromRelation(Relation relation)
Factory method that creates an XDI operator bound to a given relation.
|
static TrueOperator |
TrueOperator.fromRelation(Relation relation)
Factory method that creates an XDI $true operator bound to a given relation.
|
static boolean |
FalseOperator.isValid(Relation relation)
Checks if a relation is a valid XDI $false operator.
|
static boolean |
Operator.isValid(Relation relation)
Checks if a relation is a valid XDI policy statement.
|
static boolean |
TrueOperator.isValid(Relation relation)
Checks if a relation is a valid XDI $true operator.
|
Constructor and Description |
---|
ConditionOperator(Relation relation) |
FalseOperator(Relation relation) |
Operator(Relation relation) |
TrueOperator(Relation relation) |
Constructor and Description |
---|
MappingRelationOperatorIterator(Iterator<Relation> relations) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRelation |
class |
DummyRelation |
Modifier and Type | Method and Description |
---|---|
Relation |
AbstractGraph.getDeepRelation(XDIAddress relativeContextNodeXDIAddress,
XDIAddress XDIaddress) |
Relation |
AbstractContextNode.getDeepRelation(XDIAddress relativeContextNodeXDIAddress,
XDIAddress XDIaddress) |
Relation |
AbstractGraph.getDeepRelation(XDIAddress relativeContextNodeXDIAddress,
XDIAddress XDIaddress,
XDIAddress targetXDIAddress) |
Relation |
AbstractContextNode.getDeepRelation(XDIAddress relativeContextNodeXDIAddress,
XDIAddress XDIaddress,
XDIAddress targetXDIAddress) |
Relation |
AbstractStatement.AbstractRelationStatement.getRelation() |
Relation |
AbstractContextNode.getRelation(XDIAddress XDIaddress) |
Relation |
AbstractContextNode.getRelation(XDIAddress XDIaddress,
XDIAddress targetXDIAddress) |
Relation |
AbstractGraph.setDeepRelation(XDIAddress relativeContextNodeXDIAddress,
XDIAddress XDIaddress,
Node targetNode) |
Relation |
AbstractContextNode.setDeepRelation(XDIAddress relativeContextNodeXDIAddress,
XDIAddress XDIaddress,
Node targetNode) |
Relation |
AbstractGraph.setDeepRelation(XDIAddress relativeContextNodeXDIAddress,
XDIAddress XDIaddress,
XDIAddress targetXDIAddress) |
Relation |
AbstractContextNode.setDeepRelation(XDIAddress relativeContextNodeXDIAddress,
XDIAddress XDIaddress,
XDIAddress targetXDIAddress) |
Relation |
DummyContextNode.setRelation(XDIAddress XDIaddress,
Node targetNode) |
Relation |
AbstractContextNode.setRelation(XDIAddress XDIaddress,
XDIAddress targetXDIAddress) |
Modifier and Type | Method and Description |
---|---|
ReadOnlyIterator<Relation> |
AbstractContextNode.getAllIncomingRelations() |
ReadOnlyIterator<Relation> |
AbstractContextNode.getAllRelations() |
ReadOnlyIterator<Relation> |
AbstractGraph.getDeepRelations(XDIAddress relativeContextNodeXDIAddress,
XDIAddress XDIaddress) |
ReadOnlyIterator<Relation> |
AbstractContextNode.getDeepRelations(XDIAddress relativeContextNodeXDIAddress,
XDIAddress XDIaddress) |
ReadOnlyIterator<Relation> |
AbstractContextNode.getIncomingRelations() |
ReadOnlyIterator<Relation> |
AbstractContextNode.getIncomingRelations(XDIAddress XDIaddress) |
ReadOnlyIterator<Relation> |
DummyContextNode.getRelations() |
ReadOnlyIterator<Relation> |
AbstractContextNode.getRelations(XDIAddress XDIaddress) |
Modifier and Type | Method and Description |
---|---|
int |
AbstractRelation.compareTo(Relation other) |
Constructor and Description |
---|
DummyContextNode(Graph graph,
ContextNode contextNode,
XDIArc XDIarc,
Iterable<ContextNode> contextNodes,
Iterable<Relation> relations,
LiteralNode literalNode) |
Modifier and Type | Class and Description |
---|---|
class |
JSONRelation |
Modifier and Type | Method and Description |
---|---|
Relation |
JSONContextNode.setRelation(XDIAddress XDIaddress,
Node targetNode) |
Modifier and Type | Method and Description |
---|---|
ReadOnlyIterator<Relation> |
JSONContextNode.getIncomingRelations() |
ReadOnlyIterator<Relation> |
JSONContextNode.getRelations() |
Modifier and Type | Class and Description |
---|---|
class |
KeyValueRelation |
Modifier and Type | Method and Description |
---|---|
Relation |
KeyValueContextNode.getRelation(XDIAddress XDIaddress) |
Relation |
KeyValueContextNode.getRelation(XDIAddress XDIaddress,
XDIAddress targetXDIAddress) |
Relation |
KeyValueContextNode.setRelation(XDIAddress XDIaddress,
Node targetNode) |
Modifier and Type | Method and Description |
---|---|
ReadOnlyIterator<Relation> |
KeyValueContextNode.getRelations() |
ReadOnlyIterator<Relation> |
KeyValueContextNode.getRelations(XDIAddress XDIaddress) |
Modifier and Type | Class and Description |
---|---|
class |
MemoryRelation |
Modifier and Type | Method and Description |
---|---|
Relation |
MemoryContextNode.getRelation(XDIAddress XDIaddress,
XDIAddress targetXDIAddress) |
Relation |
MemoryContextNode.setRelation(XDIAddress XDIaddress,
Node targetNode) |
Modifier and Type | Method and Description |
---|---|
ReadOnlyIterator<Relation> |
MemoryContextNode.getRelations() |
ReadOnlyIterator<Relation> |
MemoryContextNode.getRelations(XDIAddress XDIaddress) |
Modifier and Type | Class and Description |
---|---|
class |
WrappedRelation |
Modifier and Type | Method and Description |
---|---|
Relation |
WrappedContextNode.getRelation(XDIAddress XDIaddress,
XDIAddress targetXDIAddress) |
Relation |
WrappedContextNode.setRelation(XDIAddress XDIaddress,
Node targetNode) |
Modifier and Type | Method and Description |
---|---|
ReadOnlyIterator<Relation> |
WrappedContextNode.getRelations() |
ReadOnlyIterator<Relation> |
WrappedContextNode.getRelations(XDIAddress XDIaddress) |
Modifier and Type | Method and Description |
---|---|
static Relation |
CopyUtil.copyRelation(Relation relation,
ContextNode targetContextNode,
CopyUtil.CopyStrategy copyStrategy)
Copies a relation into another context node.
|
static Relation |
CopyUtil.copyRelation(Relation relation,
Graph targetGraph,
CopyUtil.CopyStrategy copyStrategy)
Copies a relation into another graph.
|
static Relation |
GraphUtil.relationFromComponents(XDIAddress contextNodeXDIAddress,
XDIAddress XDIaddress,
XDIAddress targetXDIAddress)
Creates a relation from its components.
|
Modifier and Type | Method and Description |
---|---|
static Iterator<Relation> |
CopyUtil.copyRelations(ContextNode contextNode,
ContextNode targetContextNode,
CopyUtil.CopyStrategy copyStrategy)
Copies all relations of a context node into a target context node.
|
List<Relation> |
CopyUtil.CopyStrategy.replaceRelation(Relation relation) |
List<Relation> |
CopyUtil.AbstractCopyStrategy.replaceRelation(Relation relation)
Strategies can replace a relation that is being copied.
|
List<Relation> |
CopyUtil.ReplaceXDIAddressCopyStrategy.replaceRelation(Relation relation) |
List<Relation> |
CopyUtil.CompoundCopyStrategy.replaceRelation(Relation relation) |
Modifier and Type | Method and Description |
---|---|
static Relation |
CopyUtil.copyRelation(Relation relation,
ContextNode targetContextNode,
CopyUtil.CopyStrategy copyStrategy)
Copies a relation into another context node.
|
static Relation |
CopyUtil.copyRelation(Relation relation,
Graph targetGraph,
CopyUtil.CopyStrategy copyStrategy)
Copies a relation into another graph.
|
List<Relation> |
CopyUtil.CopyStrategy.replaceRelation(Relation relation) |
List<Relation> |
CopyUtil.AbstractCopyStrategy.replaceRelation(Relation relation)
Strategies can replace a relation that is being copied.
|
List<Relation> |
CopyUtil.ReplaceXDIAddressCopyStrategy.replaceRelation(Relation relation) |
List<Relation> |
CopyUtil.CompoundCopyStrategy.replaceRelation(Relation relation) |
Modifier and Type | Method and Description |
---|---|
Node |
MappingRelationTargetNodeIterator.map(Relation relation) |
Statement.RelationStatement |
MappingRelationStatementIterator.map(Relation relation) |
ContextNode |
MappingRelationContextNodeIterator.map(Relation relation) |
XDIAddress |
MappingRelationTargetXDIAddressIterator.map(Relation relation) |
LiteralNode |
MappingRelationTargetLiteralNodeIterator.map(Relation relation) |
ContextNode |
MappingRelationTargetContextNodeIterator.map(Relation relation) |
XDIAddress |
MappingRelationXDIAddressIterator.map(Relation relation) |
boolean |
SelectingNotXdiInnerRootRelationIterator.select(Relation relation) |
Constructor and Description |
---|
MappingRelationStatementIterator(Relation relation) |
Constructor and Description |
---|
MappingRelationContextNodeIterator(Iterator<Relation> relations) |
MappingRelationStatementIterator(Iterator<Relation> relations) |
MappingRelationTargetContextNodeIterator(Iterator<Relation> relations) |
MappingRelationTargetLiteralNodeIterator(Iterator<Relation> relations) |
MappingRelationTargetNodeIterator(Iterator<Relation> relations) |
MappingRelationTargetXDIAddressIterator(Iterator<Relation> relations) |
MappingRelationXDIAddressIterator(Iterator<Relation> relations) |
SelectingNotXdiInnerRootRelationIterator(Iterator<? extends Relation> relations) |
Constructor and Description |
---|
MappingRelationConnectOperationIterator(MessageBase<?> messageBase,
Iterator<Relation> relations) |
MappingRelationDelOperationIterator(MessageBase<?> messageBase,
Iterator<Relation> relations) |
MappingRelationDoOperationIterator(MessageBase<?> messageBase,
Iterator<Relation> relations) |
MappingRelationGetOperationIterator(MessageBase<?> messageBase,
Iterator<Relation> relations) |
MappingRelationOperationIterator(MessageBase<?> messageBase,
Iterator<Relation> relations) |
MappingRelationPushOperationIterator(MessageBase<?> messageBase,
Iterator<Relation> relations) |
MappingRelationSendOperationIterator(MessageBase<?> messageBase,
Iterator<Relation> relations) |
MappingRelationSetOperationIterator(MessageBase<?> messageBase,
Iterator<Relation> relations) |
Modifier and Type | Field and Description |
---|---|
protected Relation |
Operation.relation |
Modifier and Type | Method and Description |
---|---|
Relation |
Operation.getRelation()
Returns the underlying relation to which this XDI operation is bound.
|
Modifier and Type | Method and Description |
---|---|
static GetOperation |
GetOperation.fromMessageBaseAndRelation(MessageBase<?> messageBase,
Relation relation)
Factory method that creates an XDI $get operation bound to a given relation.
|
static DelOperation |
DelOperation.fromMessageBaseAndRelation(MessageBase<?> messageBase,
Relation relation)
Factory method that creates an XDI $del operation bound to a given relation.
|
static SendOperation |
SendOperation.fromMessageBaseAndRelation(MessageBase<?> messageBase,
Relation relation)
Factory method that creates an XDI $send operation bound to a given relation.
|
static PushOperation |
PushOperation.fromMessageBaseAndRelation(MessageBase<?> messageBase,
Relation relation)
Factory method that creates an XDI $push operation bound to a given relation.
|
static DoOperation |
DoOperation.fromMessageBaseAndRelation(MessageBase<?> messageBase,
Relation relation)
Factory method that creates an XDI $do operation bound to a given relation.
|
static SetOperation |
SetOperation.fromMessageBaseAndRelation(MessageBase<?> messageBase,
Relation relation)
Factory method that creates an XDI $set operation bound to a given relation.
|
static ConnectOperation |
ConnectOperation.fromMessageBaseAndRelation(MessageBase<?> messageBase,
Relation relation)
Factory method that creates an XDI $connect operation bound to a given relation.
|
static Operation |
Operation.fromMessageBaseAndRelation(MessageBase<?> messageBase,
Relation relation)
Factory method that creates an XDI operation bound to a given relation.
|
static Operation |
Operation.fromRelation(Relation relation)
Factory method that creates an XDI operation bound to a given relation.
|
static boolean |
GetOperation.isValid(Relation relation)
Checks if an relation is a valid XDI $get operation.
|
static boolean |
DelOperation.isValid(Relation relation)
Checks if an relation is a valid XDI $del operation.
|
static boolean |
SendOperation.isValid(Relation relation)
Checks if an relation is a valid XDI $send operation.
|
static boolean |
PushOperation.isValid(Relation relation)
Checks if an relation is a valid XDI $push operation.
|
static boolean |
DoOperation.isValid(Relation relation)
Checks if an relation is a valid XDI $do operation.
|
static boolean |
SetOperation.isValid(Relation relation)
Checks if an relation is a valid XDI $set operation.
|
static boolean |
ConnectOperation.isValid(Relation relation)
Checks if an relation is a valid XDI $connect operation.
|
static boolean |
Operation.isValid(Relation relation)
Checks if an relation is a valid XDI operation.
|
Constructor and Description |
---|
ConnectOperation(MessageBase<?> messageBase,
Relation relation) |
DelOperation(MessageBase<?> messageBase,
Relation relation) |
DoOperation(MessageBase<?> messageBase,
Relation relation) |
GetOperation(MessageBase<?> messageBase,
Relation relation) |
Operation(MessageBase<?> messageBase,
Relation relation) |
PushOperation(MessageBase<?> messageBase,
Relation relation) |
SendOperation(MessageBase<?> messageBase,
Relation relation) |
SetOperation(MessageBase<?> messageBase,
Relation relation) |
Copyright © 2017. All rights reserved.