Interface Serializer
- All Known Implementing Classes:
AbstractSerializer, DocumentSerializer, TransformSerializer
public interface Serializer
Converts
Strings into Nodes and visa versa.-
Method Summary
Modifier and TypeMethodDescriptionbyte[]Use the Canonicalizer to serialize the nodedeserialize(byte[] source, Node ctx) byte[]serializeToByteArray(Element element) Returns abyte[]representation of the specifiedElement.byte[]serializeToByteArray(NodeList content) Returns abyte[]representation of the specifiedNodeList.voidsetCanonicalizer(Canonicalizer canon) Set the Canonicalizer object to use.
-
Method Details
-
setCanonicalizer
Set the Canonicalizer object to use. -
serializeToByteArray
-
serializeToByteArray
-
canonSerializeToByteArray
-
deserialize
- Parameters:
source-ctx-- Returns:
- the Node resulting from the parse of the source
- Throws:
XMLEncryptionExceptionIOException
-