| Package | Description |
|---|---|
| xdi2.core |
The XDI graph model and basic operations on it.
|
| 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 | Interface and Description |
|---|---|
interface |
ContextNode
This interface represents a context node in an XDI graph.
|
interface |
LiteralNode
This interface represents a literal in an XDI graph.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
Relation.follow()
Follows the relation to the target node.
|
Node |
Graph.getDeepNode(XDIAddress nodeXDIAddress)
Returns a node at an arbitrary level of the graph.
|
Node |
ContextNode.getDeepNode(XDIAddress relativeNodeXDIAddress)
Returns a node at an arbitrary level of the graph.
|
Node |
Graph.getDeepNode(XDIAddress nodeXDIAddress,
boolean subgraph)
Returns a node at an arbitrary level of the graph.
|
Node |
ContextNode.getDeepNode(XDIAddress relativeNodeXDIAddress,
boolean subgraph)
Returns a node at an arbitrary level of the graph.
|
Node |
Graph.setDeepNode(XDIAddress nodeXDIAddress)
Create a new node at an arbitrary level of the graph, or returns an existing node.
|
Node |
ContextNode.setDeepNode(XDIAddress relativeNodeXDIAddress)
Create a new node at an arbitrary level of the graph, or returns an existing node.
|
| Modifier and Type | Method and Description |
|---|---|
Relation |
ContextNode.setRelation(XDIAddress XDIaddress,
Node targetNode)
Creates a new relation and adds it to this context node, or returns an existing relation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractContextNode |
class |
AbstractLiteralNode |
class |
AbstractNode |
class |
DummyContextNode |
class |
DummyLiteralNode |
| Modifier and Type | Method and Description |
|---|---|
Node |
AbstractRelation.follow() |
Node |
AbstractGraph.getDeepNode(XDIAddress nodeXDIAddress) |
Node |
AbstractContextNode.getDeepNode(XDIAddress relativeNodeXDIAddress) |
Node |
AbstractGraph.getDeepNode(XDIAddress nodeXDIAddress,
boolean subgraph) |
Node |
AbstractContextNode.getDeepNode(XDIAddress relativeNodeXDIAddress,
boolean subgraph) |
Node |
AbstractGraph.setDeepNode(XDIAddress nodeXDIAddress) |
Node |
AbstractContextNode.setDeepNode(XDIAddress relativeNodeXDIAddress) |
protected Node |
AbstractContextNode.setRelationSetTargetNode(XDIAddress targetXDIAddress)
When a relation is created, check if the target node has to be created too.
|
| Modifier and Type | Method and Description |
|---|---|
Relation |
DummyContextNode.setRelation(XDIAddress XDIaddress,
Node targetNode) |
| Modifier and Type | Class and Description |
|---|---|
class |
JSONContextNode |
class |
JSONLiteralNode |
| Modifier and Type | Method and Description |
|---|---|
Relation |
JSONContextNode.setRelation(XDIAddress XDIaddress,
Node targetNode) |
| Modifier and Type | Class and Description |
|---|---|
class |
KeyValueContextNode |
class |
KeyValueLiteralNode |
| Modifier and Type | Method and Description |
|---|---|
Relation |
KeyValueContextNode.setRelation(XDIAddress XDIaddress,
Node targetNode) |
| Modifier and Type | Class and Description |
|---|---|
class |
MemoryContextNode |
class |
MemoryLiteralNode |
| Modifier and Type | Method and Description |
|---|---|
Relation |
MemoryContextNode.setRelation(XDIAddress XDIaddress,
Node targetNode) |
| Modifier and Type | Class and Description |
|---|---|
class |
WrappedContextNode |
class |
WrappedLiteralNode |
| Modifier and Type | Method and Description |
|---|---|
Relation |
WrappedContextNode.setRelation(XDIAddress XDIaddress,
Node targetNode) |
| Modifier and Type | Method and Description |
|---|---|
static Node |
CopyUtil.copyNode(Node node,
ContextNode targetContextNode,
CopyUtil.CopyStrategy copyStrategy) |
static Node |
CopyUtil.copyNode(Node node,
Graph targetGraph,
CopyUtil.CopyStrategy copyStrategy) |
| Modifier and Type | Method and Description |
|---|---|
static Node |
CopyUtil.copyNode(Node node,
ContextNode targetContextNode,
CopyUtil.CopyStrategy copyStrategy) |
static Node |
CopyUtil.copyNode(Node node,
Graph targetGraph,
CopyUtil.CopyStrategy copyStrategy) |
| Modifier and Type | Method and Description |
|---|---|
Node |
MappingRelationTargetNodeIterator.map(Relation relation) |
Copyright © 2015. All Rights Reserved.