org.apache.xml.security.encryption
Class TransformSerializer
java.lang.Object
org.apache.xml.security.encryption.AbstractSerializer
org.apache.xml.security.encryption.TransformSerializer
- All Implemented Interfaces:
- Serializer
public class TransformSerializer
- extends AbstractSerializer
Converts Strings into Nodes and visa versa. This requires Xalan to
work properly.
| Methods inherited from class org.apache.xml.security.encryption.AbstractSerializer |
canonSerialize, canonSerializeToByteArray, createContext, createContext, isSecureValidation, serialize, serialize, serializeToByteArray, serializeToByteArray, setCanonicalizer, setSecureValidation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformSerializer
public TransformSerializer()
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
@Deprecated
public Node deserialize(String source,
Node ctx)
throws XMLEncryptionException
- Deprecated.
- 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
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.