public class Normalization extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Normalization.NormalizationCopyStrategy |
Modifier and Type | Field and Description |
---|---|
static XDIReader |
XDIREADER |
static XDIWriter |
XDIWRITER |
Constructor and Description |
---|
Normalization() |
Modifier and Type | Method and Description |
---|---|
static Graph |
deserialize(String string)
Returns the graph from a normalized string.
|
static String |
serialize(ContextNode contextNode)
Returns the normalized serialization string of a context node, to be used
e.g. for signatures and encryptions.
|
static String |
serialize(ContextNode contextNode,
CopyUtil.CopyStrategy copyStrategy)
Returns the normalized serialization string of a context node, to be used
e.g. for signatures and encryptions.
|
static String |
serialize(Graph graph)
Returns the normalized serialization string of a graph, to be used
e.g. for signatures and encryptions.
|
static String |
serialize(Graph graph,
CopyUtil.CopyStrategy copyStrategy)
Returns the normalized serialization string of a graph, to be used
e.g. for signatures and encryptions.
|
public static final XDIWriter XDIWRITER
public static final XDIReader XDIREADER
public static String serialize(ContextNode contextNode, CopyUtil.CopyStrategy copyStrategy)
public static String serialize(ContextNode contextNode)
public static String serialize(Graph graph, CopyUtil.CopyStrategy copyStrategy)
public static String serialize(Graph graph)
public static Graph deserialize(String string) throws Xdi2ParseException, IOException
Xdi2ParseException
IOException
Copyright © 2017. All rights reserved.