public interface Serializer
Strings into Nodes and visa versa.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
canonSerialize(org.w3c.dom.Node node)
Deprecated.
|
byte[] |
canonSerializeToByteArray(org.w3c.dom.Node node)
Use the Canonicalizer to serialize the node
|
org.w3c.dom.Node |
deserialize(byte[] source,
org.w3c.dom.Node ctx) |
org.w3c.dom.Node |
deserialize(java.lang.String source,
org.w3c.dom.Node ctx)
Deprecated.
|
java.lang.String |
serialize(org.w3c.dom.Element element)
Deprecated.
|
java.lang.String |
serialize(org.w3c.dom.NodeList content)
Deprecated.
|
byte[] |
serializeToByteArray(org.w3c.dom.Element element)
Returns a
byte[] representation of the specified
Element. |
byte[] |
serializeToByteArray(org.w3c.dom.NodeList content)
Returns a
byte[] representation of the specified
NodeList. |
void |
setCanonicalizer(Canonicalizer canon)
Set the Canonicalizer object to use.
|
void setCanonicalizer(Canonicalizer canon)
@Deprecated
java.lang.String serialize(org.w3c.dom.Element element)
throws java.lang.Exception
String representation of the specified
Element.element - the Element to serialize.String representation of the serilaized
Element.java.lang.Exceptionbyte[] serializeToByteArray(org.w3c.dom.Element element)
throws java.lang.Exception
byte[] representation of the specified
Element.element - the Element to serialize.byte[] representation of the serilaized
Element.java.lang.Exception@Deprecated
java.lang.String serialize(org.w3c.dom.NodeList content)
throws java.lang.Exception
String representation of the specified
NodeList.content - the NodeList to serialize.String representation of the serialized
NodeList.java.lang.Exceptionbyte[] serializeToByteArray(org.w3c.dom.NodeList content)
throws java.lang.Exception
byte[] representation of the specified
NodeList.content - the NodeList to serialize.byte[] representation of the serialized
NodeList.java.lang.Exception@Deprecated
java.lang.String canonSerialize(org.w3c.dom.Node node)
throws java.lang.Exception
node - java.lang.Exceptionbyte[] canonSerializeToByteArray(org.w3c.dom.Node node)
throws java.lang.Exception
node - java.lang.Exception@Deprecated
org.w3c.dom.Node deserialize(java.lang.String source,
org.w3c.dom.Node ctx)
throws XMLEncryptionException
source - ctx - XMLEncryptionExceptionorg.w3c.dom.Node deserialize(byte[] source,
org.w3c.dom.Node ctx)
throws XMLEncryptionException
source - ctx - XMLEncryptionException