public class Digests extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Digests.MappingXdiAttributeDigestIterator |
static class |
Digests.NoDigestsCopyStrategy |
Modifier and Type | Method and Description |
---|---|
static XDIAddress |
createDataTypeXDIAddress(String digestAlgorithm,
Integer digestVersion) |
static Digest |
createDigest(ContextNode contextNode,
String digestAlgorithm,
Integer digestVersion,
boolean singleton)
Creates an XDI digest on a context node.
|
static Iterator<Digest> |
getAllDigests(Graph graph)
Given a graph, lists all digests.
|
static String |
getDigestAlgorithm(XDIAddress dataTypeXDIAddress) |
static String |
getDigestAlgorithm(XdiAttribute xdiAttribute) |
static ReadOnlyIterator<Digest> |
getDigests(ContextNode contextNode)
Returns the XDI digests on a context node.
|
static Integer |
getDigestVersion(XDIAddress dataTypeXDIAddress) |
static Integer |
getDigestVersion(XdiAttribute xdiAttribute) |
public static Iterator<Digest> getAllDigests(Graph graph)
graph
- The graph.public static Digest createDigest(ContextNode contextNode, String digestAlgorithm, Integer digestVersion, boolean singleton)
public static ReadOnlyIterator<Digest> getDigests(ContextNode contextNode)
public static String getDigestAlgorithm(XdiAttribute xdiAttribute)
public static String getDigestAlgorithm(XDIAddress dataTypeXDIAddress)
public static Integer getDigestVersion(XdiAttribute xdiAttribute)
public static Integer getDigestVersion(XDIAddress dataTypeXDIAddress)
public static XDIAddress createDataTypeXDIAddress(String digestAlgorithm, Integer digestVersion)
Copyright © 2017. All rights reserved.