public class DocumentSerializer extends AbstractSerializer
String
s into Node
s and visa versa.Modifier and Type | Field and Description |
---|---|
protected javax.xml.parsers.DocumentBuilderFactory |
dbf |
canon
Constructor and Description |
---|
DocumentSerializer() |
Modifier and Type | Method and Description |
---|---|
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) |
canonSerialize, canonSerializeToByteArray, createContext, createContext, serialize, serialize, serializeToByteArray, serializeToByteArray, setCanonicalizer
public org.w3c.dom.Node deserialize(byte[] source, org.w3c.dom.Node ctx) throws XMLEncryptionException
deserialize
in interface Serializer
deserialize
in class AbstractSerializer
source
- ctx
- XMLEncryptionException
public org.w3c.dom.Node deserialize(java.lang.String source, org.w3c.dom.Node ctx) throws XMLEncryptionException
deserialize
in interface Serializer
deserialize
in class AbstractSerializer
source
- ctx
- XMLEncryptionException