org.apache.xml.security.encryption
Class TransformSerializer

java.lang.Object
  extended by org.apache.xml.security.encryption.AbstractSerializer
      extended by 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.


Field Summary
 
Fields inherited from class org.apache.xml.security.encryption.AbstractSerializer
canon, secureValidation
 
Constructor Summary
TransformSerializer()
           
 
Method Summary
 Node deserialize(byte[] source, Node ctx)
           
 Node 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformSerializer

public TransformSerializer()
Method Detail

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–2014 The Apache Software Foundation. All rights reserved.