| 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 |
| Modifier and Type | Method and Description |
|---|---|
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 |
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 XDIarc,
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> |
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 |
|---|---|
static Iterator<Relation> |
Equivalence.getAllReferenceAndReplacementRelations(ContextNode contextNode) |
static ReadOnlyIterator<Relation> |
Equivalence.getIdentityRelations(ContextNode contextNode) |
static ReadOnlyIterator<Relation> |
Equivalence.getIncomingIdentityRelations(ContextNode contextNode) |
static ReadOnlyIterator<Relation> |
Equivalence.getIncomingReferenceRelations(ContextNode contextNode) |
static ReadOnlyIterator<Relation> |
Equivalence.getIncomingReplacementRelations(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 | 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 |
|---|
Operator.MappingRelationOperatorIterator(Iterator<Relation> relations) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRelation |
class |
DummyRelation |
| Modifier and Type | Method and Description |
|---|---|
Relation |
AbstractStatement.AbstractRelationStatement.getRelation() |
Relation |
AbstractContextNode.getRelation(XDIAddress XDIaddress) |
Relation |
AbstractContextNode.getRelation(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> |
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.
|
Relation |
CopyUtil.CopyStrategy.replaceRelation(Relation relation)
Strategies can replace a relation that is being copied.
|
Relation |
CopyUtil.ReplaceXDIAddressCopyStrategy.replaceRelation(Relation relation) |
| 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.
|
| 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.
|
Relation |
CopyUtil.CopyStrategy.replaceRelation(Relation relation)
Strategies can replace a relation that is being copied.
|
Relation |
CopyUtil.ReplaceXDIAddressCopyStrategy.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) |
| 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) |
Copyright © 2015. All Rights Reserved.