Class DocumentSerializer
java.lang.Object
org.apache.xml.security.encryption.AbstractSerializer
org.apache.xml.security.encryption.DocumentSerializer
- All Implemented Interfaces:
Serializer
Converts
String
s into Node
s and visa versa.-
Field Summary
Fields inherited from class org.apache.xml.security.encryption.AbstractSerializer
canon, secureValidation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(byte[] source, Node ctx) deserialize
(String source, Node ctx) private Node
deserialize
(Node ctx, InputSource inputSource) Methods inherited from class org.apache.xml.security.encryption.AbstractSerializer
canonSerialize, canonSerializeToByteArray, createContext, createContext, isSecureValidation, serialize, serialize, serializeToByteArray, serializeToByteArray, setCanonicalizer, setSecureValidation
-
Constructor Details
-
DocumentSerializer
public DocumentSerializer()
-
-
Method Details
-
deserialize
- Specified by:
deserialize
in interfaceSerializer
- Specified by:
deserialize
in classAbstractSerializer
- Parameters:
source
-ctx
-- Returns:
- the Node resulting from the parse of the source
- Throws:
XMLEncryptionException
IOException
-
deserialize
- Specified by:
deserialize
in classAbstractSerializer
- Parameters:
source
-ctx
-- Returns:
- the Node resulting from the parse of the source
- Throws:
XMLEncryptionException
-
deserialize
- Parameters:
ctx
-inputSource
-- Returns:
- the Node resulting from the parse of the source
- Throws:
XMLEncryptionException
-