Class TransformSerializer
java.lang.Object
org.apache.xml.security.encryption.AbstractSerializer
org.apache.xml.security.encryption.TransformSerializer
- All Implemented Interfaces:
Serializer
Converts
Strings into Nodes and visa versa. This requires Xalan to
work properly.-
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) Methods inherited from class org.apache.xml.security.encryption.AbstractSerializer
canonSerialize, canonSerializeToByteArray, createContext, createContext, isSecureValidation, serialize, serialize, serializeToByteArray, serializeToByteArray, setCanonicalizer, setSecureValidation
-
Constructor Details
-
TransformSerializer
public TransformSerializer()
-
-
Method Details
-
deserialize
- Specified by:
deserializein interfaceSerializer- Specified by:
deserializein classAbstractSerializer- Parameters:
source-ctx-- Returns:
- the Node resulting from the parse of the source
- Throws:
XMLEncryptionExceptionIOException
-
deserialize
- Specified by:
deserializein classAbstractSerializer- Parameters:
source-ctx-- Returns:
- the Node resulting from the parse of the source
- Throws:
XMLEncryptionException
-