Package | Description |
---|---|
xdi2.core.features | |
xdi2.core.features.error | |
xdi2.core.features.keys | |
xdi2.core.features.nodetypes | |
xdi2.core.features.secrettokens | |
xdi2.core.features.timestamps | |
xdi2.core.features.variables | |
xdi2.core.util |
Utility classes.
|
xdi2.core.util.iterators |
Modifier and Type | Class and Description |
---|---|
class |
EncapsulatesContextNode<CONTEXT extends XdiContext<?>> |
Modifier and Type | Method and Description |
---|---|
static <E extends EncapsulatesContextNode<CONTEXT>,CONTEXT extends XdiContext<? extends CONTEXT>> |
EncapsulatesContextNode.encapsulate(ContextNode contextNode,
Class<E> clazz,
Class<CONTEXT> clazz2) |
Modifier and Type | Method and Description |
---|---|
static XdiError |
XdiError.findXdiError(XdiContext<?> xdiContext,
boolean create)
Factory method that finds or creates an XDI error for a context.
|
Modifier and Type | Method and Description |
---|---|
static PrivateKey |
Keys.getEncryptionPrivateKey(XdiContext<?> xdiContext)
Given a context, get the encryption private key.
|
static PublicKey |
Keys.getEncryptionPublicKey(XdiContext<?> xdiContext)
Given a context, get the encryption public key.
|
static SecretKey |
Keys.getEncryptionSecretKey(XdiContext<?> xdiContext)
Given a context, get the encryption secret key.
|
static PrivateKey |
Keys.getPrivateKey(XdiContext<?> xdiContext,
XDIAddress privateKeyRelativeAddress)
Given a context, get a private key.
|
static PublicKey |
Keys.getPublicKey(XdiContext<?> xdiContext,
XDIAddress publicKeyRelativeAddress)
Given a context, get a public key.
|
static SecretKey |
Keys.getSecretKey(XdiContext<?> xdiContext,
XDIAddress secretKeyRelativeAddress)
Given a context, get a secret key.
|
static PrivateKey |
Keys.getSignaturePrivateKey(XdiContext<?> xdiContext)
Given a context, get the signature private key.
|
static PublicKey |
Keys.getSignaturePublicKey(XdiContext<?> xdiContext)
Given a context, get the signature public key.
|
static SecretKey |
Keys.getSignatureSecretKey(XdiContext<?> xdiContext)
Given a context, get the signature secret key.
|
Modifier and Type | Class and Description |
---|---|
class |
XdiAbstractContext<EQ extends XdiContext<EQ>> |
class |
XdiAbstractDefinition<EQ extends XdiContext<EQ>> |
class |
XdiAbstractVariable<EQ extends XdiContext<EQ>> |
interface |
XdiContext<EQ extends XdiContext<EQ>> |
interface |
XdiDefinition<EQ extends XdiContext<EQ>> |
interface |
XdiVariable<EQ extends XdiContext<EQ>> |
Modifier and Type | Interface and Description |
---|---|
interface |
XdiAttribute |
interface |
XdiAttributeInstance |
interface |
XdiCollection<EQC extends XdiCollection<EQC,EQI,C,U,O,I>,EQI extends XdiSubGraph<EQI>,C extends XdiCollection<EQC,EQI,C,U,O,I>,U extends XdiInstanceUnordered<EQC,EQI,C,U,O,I>,O extends XdiInstanceOrdered<EQC,EQI,C,U,O,I>,I extends XdiInstance<EQC,EQI,C,U,O,I>> |
interface |
XdiDefinition<EQ extends XdiContext<EQ>> |
interface |
XdiEntity |
interface |
XdiEntityInstance |
interface |
XdiInstance<EQC extends XdiCollection<EQC,EQI,C,U,O,I>,EQI extends XdiSubGraph<EQI>,C extends XdiCollection<EQC,EQI,C,U,O,I>,U extends XdiInstanceUnordered<EQC,EQI,C,U,O,I>,O extends XdiInstanceOrdered<EQC,EQI,C,U,O,I>,I extends XdiInstance<EQC,EQI,C,U,O,I>> |
interface |
XdiInstanceOrdered<EQC extends XdiCollection<EQC,EQI,C,U,O,I>,EQI extends XdiSubGraph<EQI>,C extends XdiCollection<EQC,EQI,C,U,O,I>,U extends XdiInstanceUnordered<EQC,EQI,C,U,O,I>,O extends XdiInstanceOrdered<EQC,EQI,C,U,O,I>,I extends XdiInstance<EQC,EQI,C,U,O,I>> |
interface |
XdiInstanceUnordered<EQC extends XdiCollection<EQC,EQI,C,U,O,I>,EQI extends XdiSubGraph<EQI>,C extends XdiCollection<EQC,EQI,C,U,O,I>,U extends XdiInstanceUnordered<EQC,EQI,C,U,O,I>,O extends XdiInstanceOrdered<EQC,EQI,C,U,O,I>,I extends XdiInstance<EQC,EQI,C,U,O,I>> |
interface |
XdiRoot |
interface |
XdiSingleton<EQ extends XdiSubGraph<EQ>> |
interface |
XdiSubGraph<EQ extends XdiSubGraph<EQ>> |
interface |
XdiVariable<EQ extends XdiContext<EQ>> |
Modifier and Type | Class and Description |
---|---|
class |
XdiAbstractAttribute |
class |
XdiAbstractCollection<EQC extends XdiCollection<EQC,EQI,C,U,O,I>,EQI extends XdiSubGraph<EQI>,C extends XdiCollection<EQC,EQI,C,U,O,I>,U extends XdiInstanceUnordered<EQC,EQI,C,U,O,I>,O extends XdiInstanceOrdered<EQC,EQI,C,U,O,I>,I extends XdiInstance<EQC,EQI,C,U,O,I>> |
class |
XdiAbstractContext<EQ extends XdiContext<EQ>> |
class |
XdiAbstractDefinition<EQ extends XdiContext<EQ>> |
class |
XdiAbstractEntity |
class |
XdiAbstractInstance<EQC extends XdiCollection<EQC,EQI,C,U,O,I>,EQI extends XdiSubGraph<EQI>,C extends XdiCollection<EQC,EQI,C,U,O,I>,U extends XdiInstanceUnordered<EQC,EQI,C,U,O,I>,O extends XdiInstanceOrdered<EQC,EQI,C,U,O,I>,I extends XdiInstance<EQC,EQI,C,U,O,I>> |
class |
XdiAbstractInstanceOrdered<EQC extends XdiCollection<EQC,EQI,C,U,O,I>,EQI extends XdiSubGraph<EQI>,C extends XdiCollection<EQC,EQI,C,U,O,I>,U extends XdiInstanceUnordered<EQC,EQI,C,U,O,I>,O extends XdiInstanceOrdered<EQC,EQI,C,U,O,I>,I extends XdiInstance<EQC,EQI,C,U,O,I>> |
class |
XdiAbstractInstanceUnordered<EQC extends XdiCollection<EQC,EQI,C,U,O,I>,EQI extends XdiSubGraph<EQI>,C extends XdiCollection<EQC,EQI,C,U,O,I>,U extends XdiInstanceUnordered<EQC,EQI,C,U,O,I>,O extends XdiInstanceOrdered<EQC,EQI,C,U,O,I>,I extends XdiInstance<EQC,EQI,C,U,O,I>> |
class |
XdiAbstractRoot |
class |
XdiAbstractSingleton<EQ extends XdiSubGraph<EQ>> |
class |
XdiAbstractSubGraph<EQ extends XdiSubGraph<EQ>> |
class |
XdiAbstractVariable<EQ extends XdiContext<EQ>> |
class |
XdiAttributeCollection
An XDI attribute collection, represented as a context node.
|
static class |
XdiAttributeCollection.Definition |
static class |
XdiAttributeCollection.Definition.Variable |
static class |
XdiAttributeCollection.Variable |
class |
XdiAttributeInstanceOrdered
An XDI ordered attribute instance, represented as a context node.
|
static class |
XdiAttributeInstanceOrdered.Definition |
static class |
XdiAttributeInstanceOrdered.Definition.Variable |
static class |
XdiAttributeInstanceOrdered.Variable |
class |
XdiAttributeInstanceUnordered
An XDI unordered attribute instance, represented as a context node.
|
static class |
XdiAttributeInstanceUnordered.Definition |
static class |
XdiAttributeInstanceUnordered.Definition.Variable |
static class |
XdiAttributeInstanceUnordered.Variable |
class |
XdiAttributeSingleton
An XDI attribute singleton, represented as a context node.
|
static class |
XdiAttributeSingleton.Definition |
static class |
XdiAttributeSingleton.Definition.Variable |
static class |
XdiAttributeSingleton.Variable |
class |
XdiCommonDefinition
An XDI common definition, represented as a context node.
|
class |
XdiCommonRoot
An XDI common root, represented as a context node.
|
class |
XdiCommonVariable
An XDI common variable, represented as a context node.
|
class |
XdiEntityCollection
An XDI entity collection, represented as a context node.
|
static class |
XdiEntityCollection.Definition |
static class |
XdiEntityCollection.Definition.Variable |
static class |
XdiEntityCollection.Variable |
class |
XdiEntityInstanceOrdered
An XDI ordered entity instance, represented as a context node.
|
static class |
XdiEntityInstanceOrdered.Definition |
static class |
XdiEntityInstanceOrdered.Definition.Variable |
static class |
XdiEntityInstanceOrdered.Variable |
class |
XdiEntityInstanceUnordered
An XDI unordered entity instance, represented as a context node.
|
static class |
XdiEntityInstanceUnordered.Definition |
static class |
XdiEntityInstanceUnordered.Definition.Variable |
static class |
XdiEntityInstanceUnordered.Variable |
class |
XdiEntitySingleton
An XDI entity singleton, represented as a context node.
|
static class |
XdiEntitySingleton.Definition |
static class |
XdiEntitySingleton.Definition.Variable |
static class |
XdiEntitySingleton.Variable |
class |
XdiInnerRoot
An XDI inner root, represented as a context node.
|
static class |
XdiInnerRoot.Definition |
static class |
XdiInnerRoot.Definition.Variable |
static class |
XdiInnerRoot.Variable |
class |
XdiPeerRoot
An XDI peer root, represented as a context node.
|
static class |
XdiPeerRoot.Definition |
static class |
XdiPeerRoot.Definition.Variable |
static class |
XdiPeerRoot.Variable |
Modifier and Type | Method and Description |
---|---|
static <T extends XdiContext<?>> |
XdiAbstractContext.fromContextNode(ContextNode contextNode,
Class<T> t) |
static <T extends XdiContext<?>> |
XdiAbstractContext.fromXDIAddress(XDIAddress XDIaddress,
Class<T> t) |
Modifier and Type | Method and Description |
---|---|
static XdiContext<?> |
XdiAbstractContext.fromContextNode(ContextNode contextNode)
Factory method that creates a XDI context bound to a given context node.
|
static XdiContext<?> |
XdiAbstractContext.fromXDIAddress(XDIAddress XDIaddress) |
XdiContext<?> |
XdiAbstractContext.getXdiContext() |
XdiContext<?> |
XdiContext.getXdiContext() |
Modifier and Type | Method and Description |
---|---|
static XdiVariable<? extends XdiContext<?>> |
XdiAbstractVariable.fromContextNode(ContextNode contextNode)
Factory method that creates an XDI variable bound to a given context node.
|
static XdiDefinition<? extends XdiContext<?>> |
XdiAbstractDefinition.fromContextNode(ContextNode contextNode)
Factory method that creates an XDI definition bound to a given context node.
|
Modifier and Type | Method and Description |
---|---|
int |
XdiAbstractContext.compareTo(XdiContext<?> other) |
ContextNode |
XdiContext.MappingXdiContextContextNodeIterator.map(XdiContext<?> xdiContext) |
Constructor and Description |
---|
MappingXdiContextContextNodeIterator(Iterator<? extends XdiContext<?>> iterator) |
Modifier and Type | Method and Description |
---|---|
static String |
SecretTokens.getLocalSaltAndDigestSecretToken(XdiContext<?> xdiContext)
Given a context, get a secret token.
|
Modifier and Type | Method and Description |
---|---|
static Date |
Timestamps.getTimestamp(XdiContext<?> xdiContext) |
static Date |
Timestamps.getTimestamp(XdiContext<?> xdiContext,
XDIAddress modifier)
Get the timestamp associated with a context node.
|
static void |
Timestamps.setTimestamp(XdiContext<?> xdiContext,
Date timestamp) |
static void |
Timestamps.setTimestamp(XdiContext<?> xdiContext,
XDIAddress modifierAddress,
Date timestamp)
Set the timestamp associated with a context node.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Variables.matches(XdiVariable<?> xdiVariable,
XdiContext<?> xdiContext)
Checks if a variables matches an arc.
|
Modifier and Type | Method and Description |
---|---|
static <X extends XdiContext<?>> |
XDIAddressUtil.extractXDIAddress(XDIAddress XDIaddress,
Class<? extends X>[] clazzes,
boolean keepOnlyFirst,
boolean keepOnlyLast,
boolean keepParent,
boolean keepLocal)
Finds a part of an XDI address that matches a certain node type.
|
static <X extends XdiContext<?>> |
XDIAddressUtil.extractXDIAddress(XDIAddress XDIaddress,
Class<X> clazz,
boolean keepOnlyFirst,
boolean keepOnlyLast,
boolean keepParent,
boolean keepLocal) |
Modifier and Type | Class and Description |
---|---|
class |
MappingEquivalenceXdiContextIterator<EQ extends XdiContext<EQ>>
A MappingIterator that maps XDI contexts to the target contexts of equivalence links.
|
Copyright © 2017. All rights reserved.