| Package | Description |
|---|---|
| xdi2.core |
The XDI graph model and basic operations on it.
|
| xdi2.core.features.encryption | |
| xdi2.core.features.linkcontracts | |
| xdi2.core.features.linkcontracts.instance | |
| xdi2.core.features.linkcontracts.instantiation | |
| xdi2.core.features.linkcontracts.template | |
| xdi2.core.features.nodetypes | |
| xdi2.core.features.policy.evaluation | |
| xdi2.core.features.signatures | |
| 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.io |
Classes for reading and writing XDI graphs in XDI DISPLAY, XDI/JSON, and a few other experimental formats.
|
| xdi2.core.io.readers | |
| xdi2.core.io.writers | |
| xdi2.core.util |
Utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
Graph |
Relation.getGraph()
Get the graph of this relation.
|
Graph |
Node.getGraph()
Get the graph of this node.
|
Graph |
Statement.getGraph()
Returns the graph that contains this statement.
|
Graph |
GraphFactory.loadGraph(File file)
Opens a graph and fills it with content in one of the serialization formats.
|
Graph |
GraphFactory.loadGraph(InputStream inputStream)
Opens a graph and fills it with content in one of the serialization formats.
|
Graph |
GraphFactory.loadGraph(Reader reader)
Opens a graph and fills it with content in one of the serialization formats.
|
Graph |
GraphFactory.openGraph()
Opens a graph.
|
Graph |
GraphFactory.openGraph(String identifier)
Opens a graph.
|
Graph |
GraphFactory.parseGraph(String graph)
Opens a graph and fills it with content in one of the serialization formats.
|
Graph |
GraphFactory.parseGraph(String graph,
MimeType mimeType)
Opens a graph and fills it with content in one of the serialization formats.
|
Graph |
GraphFactory.parseGraph(String graph,
String format,
Properties parameters)
Opens a graph and fills it with content in one of the serialization formats.
|
| Modifier and Type | Method and Description |
|---|---|
static Iterator<Encryption<? extends Key,? extends Key>> |
Encryptions.getAllEncryptions(Graph graph)
Given a graph, lists all encryptions.
|
| Modifier and Type | Method and Description |
|---|---|
static Iterator<LinkContract> |
LinkContracts.getAllLinkContracts(Graph graph)
Given a graph, lists all link contracts.
|
static Iterator<LinkContractTemplate> |
LinkContractTemplates.getAllLinkContractTemplates(Graph graph)
Given a graph, lists all link contract templates.
|
| Modifier and Type | Method and Description |
|---|---|
static GenericLinkContract |
GenericLinkContract.findGenericLinkContract(Graph graph,
XDIAddress authorizingAuthority,
XDIAddress requestingAuthority,
XDIAddress templateAuthorityAndId,
boolean create)
Factory method that finds or creates an XDI generic link contract for a graph.
|
static PublicLinkContract |
PublicLinkContract.findPublicLinkContract(Graph graph,
boolean create)
Factory method that finds or creates an XDI public link contract for a graph.
|
static RootLinkContract |
RootLinkContract.findRootLinkContract(Graph graph,
boolean create)
Factory method that finds or creates an XDI root link contract for a graph.
|
| Modifier and Type | Method and Description |
|---|---|
GenericLinkContract |
LinkContractInstantiation.execute(Graph targetGraph,
Map<XDIArc,XDIAddress> customReplacements,
boolean create) |
| Modifier and Type | Method and Description |
|---|---|
static LinkContractTemplate |
LinkContractTemplate.findLinkContractTemplate(Graph graph,
XDIAddress templateAuthorityAndId,
boolean create)
Factory method that finds or creates an XDI link contract template for a graph.
|
| Modifier and Type | Method and Description |
|---|---|
Graph |
XdiAbstractContext.getGraph() |
Graph |
XdiContext.getGraph() |
| Modifier and Type | Method and Description |
|---|---|
static XdiCommonRoot |
XdiCommonRoot.findCommonRoot(Graph graph)
Given a graph, finds and returns the XDI common root.
|
| Modifier and Type | Method and Description |
|---|---|
Graph |
GraphPolicyEvaluationContext.getGraph() |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphPolicyEvaluationContext.setGraph(Graph graph) |
| Constructor and Description |
|---|
GraphPolicyEvaluationContext(Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
static Iterator<Signature<? extends Key,? extends Key>> |
Signatures.getAllSignatures(Graph graph)
Given a graph, lists all signatures.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractGraph |
class |
DummyGraph |
| Modifier and Type | Method and Description |
|---|---|
Graph |
AbstractStatement.getGraph() |
Graph |
AbstractContextNode.getGraph() |
Graph |
AbstractLiteralNode.getGraph() |
Graph |
AbstractRelation.getGraph() |
Graph |
AbstractGraphFactory.loadGraph(File file) |
Graph |
AbstractGraphFactory.loadGraph(InputStream inputStream) |
Graph |
AbstractGraphFactory.loadGraph(Reader reader) |
Graph |
AbstractGraphFactory.openGraph() |
Graph |
AbstractGraphFactory.parseGraph(String string) |
Graph |
AbstractGraphFactory.parseGraph(String string,
MimeType mimeType) |
Graph |
AbstractGraphFactory.parseGraph(String string,
String format,
Properties parameters) |
| Modifier and Type | Method and Description |
|---|---|
int |
AbstractGraph.compareTo(Graph other) |
| Constructor and Description |
|---|
AbstractContextNode(Graph graph,
ContextNode contextNode) |
DummyContextNode(Graph graph,
ContextNode contextNode,
XDIArc XDIarc,
Iterable<ContextNode> contextNodes,
Iterable<Relation> relations,
LiteralNode literalNode) |
| Modifier and Type | Class and Description |
|---|---|
class |
JSONGraph |
| Modifier and Type | Method and Description |
|---|---|
Graph |
AbstractJSONGraphFactory.openGraph(String identifier) |
| Modifier and Type | Class and Description |
|---|---|
class |
KeyValueGraph |
| Modifier and Type | Method and Description |
|---|---|
Graph |
AbstractKeyValueGraphFactory.openGraph(String identifier) |
| Modifier and Type | Class and Description |
|---|---|
class |
MemoryGraph |
| Modifier and Type | Class and Description |
|---|---|
class |
WrappedGraph |
| Modifier and Type | Method and Description |
|---|---|
Graph |
WrappedGraphFactory.openGraph(String identifier) |
| Modifier and Type | Method and Description |
|---|---|
static Graph |
Normalization.deserialize(String string) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
XDIReader.read(Graph graph,
InputStream stream)
Reads an XDI graph from a byte stream.
|
InputStream |
AbstractXDIReader.read(Graph graph,
InputStream stream) |
Reader |
XDIReader.read(Graph graph,
Reader reader)
Reads an XDI graph from a character stream.
|
OutputStream |
XDIWriter.write(Graph graph,
OutputStream stream)
Writes an XDI graph to a byte stream.
|
OutputStream |
AbstractXDIWriter.write(Graph graph,
OutputStream stream) |
Writer |
XDIWriter.write(Graph graph,
Writer writer)
Writes an XDI graph to a character stream.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
AutoReader.read(Graph graph,
InputStream stream) |
void |
XDIRawJSONReader.read(Graph graph,
com.google.gson.JsonArray jsonArray) |
void |
XDIRawJSONReader.read(Graph graph,
com.google.gson.JsonObject jsonObject) |
Reader |
XDIJSONReader.read(Graph graph,
Reader reader) |
Reader |
XDIDisplayReader.read(Graph graph,
Reader reader) |
Reader |
XDIJSONQuadReader.read(Graph graph,
Reader reader) |
Reader |
XDIRawJSONReader.read(Graph graph,
Reader reader) |
Reader |
AutoReader.read(Graph graph,
Reader reader) |
| Modifier and Type | Method and Description |
|---|---|
void |
XDIDisplayWriter.write(Graph graph,
BufferedWriter bufferedWriter) |
Writer |
XDIJSONTripleWriter.write(Graph graph,
Writer writer) |
Writer |
XDIJSONTREEWriter.write(Graph graph,
Writer writer) |
Writer |
XDIJSONWriter.write(Graph graph,
Writer writer) |
Writer |
XDIDisplayWriter.write(Graph graph,
Writer writer) |
Writer |
XDIJSONPARSEWriter.write(Graph graph,
Writer writer) |
Writer |
XDIJSONQuadWriter.write(Graph graph,
Writer writer) |
Writer |
XDIKeyValueWriter.write(Graph graph,
Writer writer) |
| Modifier and Type | Method and Description |
|---|---|
static Graph |
CloneUtil.cloneGraph(Graph graph)
Creates a clone of the given graph with the same contents.
|
| Modifier and Type | Method and Description |
|---|---|
static Graph |
CloneUtil.cloneGraph(Graph graph)
Creates a clone of the given graph with the same contents.
|
static ContextNode |
CopyUtil.copyContextNode(ContextNode contextNode,
Graph targetGraph,
CopyUtil.CopyStrategy copyStrategy)
Copies a context node into a target graph.
|
static void |
CopyUtil.copyGraph(Graph graph,
Graph targetGraph,
CopyUtil.CopyStrategy copyStrategy)
Copies a whole graph into a target graph.
|
static LiteralNode |
CopyUtil.copyLiteralNode(LiteralNode literalNode,
Graph targetGraph,
CopyUtil.CopyStrategy copyStrategy)
Copies a literal into another graph.
|
static Node |
CopyUtil.copyNode(Node node,
Graph targetGraph,
CopyUtil.CopyStrategy copyStrategy) |
static Relation |
CopyUtil.copyRelation(Relation relation,
Graph targetGraph,
CopyUtil.CopyStrategy copyStrategy)
Copies a relation into another graph.
|
static Statement |
CopyUtil.copyStatement(Statement statement,
Graph targetGraph,
CopyUtil.CopyStrategy copyStrategy)
Copies a statement into another graph.
|
static XDIArc |
GraphUtil.getOwnerPeerRootXDIArc(Graph graph) |
static XDIAddress |
GraphUtil.getOwnerXDIAddress(Graph graph) |
static void |
GraphUtil.setOwnerPeerRootXDIArc(Graph graph,
XDIArc ownerPeerRootXDIArc) |
static void |
GraphUtil.setOwnerXDIAddress(Graph graph,
XDIAddress ownerXDIAddress) |
Copyright © 2015. All Rights Reserved.