org.apache.xml.security.encryption
Class DocumentSerializer
java.lang.Object
org.apache.xml.security.encryption.AbstractSerializer
org.apache.xml.security.encryption.DocumentSerializer
- All Implemented Interfaces:
- Serializer
public class DocumentSerializer
- extends AbstractSerializer
Converts String
s into Node
s and visa versa.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentSerializer
public DocumentSerializer()
deserialize
public Node deserialize(byte[] source,
Node ctx)
throws XMLEncryptionException
- Specified by:
deserialize
in interface Serializer
- Specified by:
deserialize
in class AbstractSerializer
- Parameters:
source
- ctx
-
- Returns:
- the Node resulting from the parse of the source
- Throws:
XMLEncryptionException
deserialize
public Node deserialize(String source,
Node ctx)
throws XMLEncryptionException
- Specified by:
deserialize
in class AbstractSerializer
- Parameters:
source
- ctx
-
- Returns:
- the Node resulting from the parse of the source
- Throws:
XMLEncryptionException
Copyright © 2000–2013 The Apache Software Foundation. All rights reserved.