public class DocumentSerializer extends AbstractSerializer
String
s into Node
s and visa versa.Modifier and Type | Field and Description |
---|---|
protected DocumentBuilderFactory |
dbf |
canon
Constructor and Description |
---|
DocumentSerializer() |
Modifier and Type | Method and Description |
---|---|
Node |
deserialize(byte[] source,
Node ctx) |
Node |
deserialize(String source,
Node ctx) |
canonSerialize, canonSerializeToByteArray, createContext, createContext, serialize, serialize, serializeToByteArray, serializeToByteArray, setCanonicalizer
protected DocumentBuilderFactory dbf
public Node deserialize(byte[] source, Node ctx) throws XMLEncryptionException
deserialize
in interface Serializer
deserialize
in class AbstractSerializer
source
- ctx
- XMLEncryptionException
public Node deserialize(String source, Node ctx) throws XMLEncryptionException
deserialize
in interface Serializer
deserialize
in class AbstractSerializer
source
- ctx
- XMLEncryptionException
Copyright © 2000-2012 The Apache Software Foundation. All Rights Reserved.