org.apache.xml.security.stax.impl.transformer
Class TransformIdentity

java.lang.Object
  extended by org.apache.xml.security.stax.impl.transformer.TransformIdentity
All Implemented Interfaces:
Transformer
Direct Known Subclasses:
CanonicalizerBase, TransformBase64Decode, TransformEnvelopedSignature

public class TransformIdentity
extends Object
implements Transformer

Version:
$Revision: $ $Date: $
Author:
$Author: $

Constructor Summary
TransformIdentity()
           
 
Method Summary
 void doFinal()
           
protected  OutputStream getOutputStream()
           
 XMLSecurityConstants.TransformMethod getPreferredTransformMethod(XMLSecurityConstants.TransformMethod forInput)
           
protected  Transformer getTransformer()
           
protected  XMLEventWriter getXmlEventWriterForOutputStream()
           
static XMLInputFactory getXmlInputFactory()
           
protected static XMLOutputFactory getXmlOutputFactory()
           
 void setOutputStream(OutputStream outputStream)
           
 void setProperties(Map<String,Object> properties)
           
 void setTransformer(Transformer transformer)
           
 void transform(InputStream inputStream)
           
 void transform(XMLSecEvent xmlSecEvent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformIdentity

public TransformIdentity()
Method Detail

getXmlOutputFactory

protected static XMLOutputFactory getXmlOutputFactory()

getXmlInputFactory

public static XMLInputFactory getXmlInputFactory()

setOutputStream

public void setOutputStream(OutputStream outputStream)
                     throws XMLSecurityException
Specified by:
setOutputStream in interface Transformer
Throws:
XMLSecurityException

getOutputStream

protected OutputStream getOutputStream()

getXmlEventWriterForOutputStream

protected XMLEventWriter getXmlEventWriterForOutputStream()
                                                   throws XMLStreamException
Throws:
XMLStreamException

setTransformer

public void setTransformer(Transformer transformer)
                    throws XMLSecurityException
Specified by:
setTransformer in interface Transformer
Throws:
XMLSecurityException

getTransformer

protected Transformer getTransformer()

setProperties

public void setProperties(Map<String,Object> properties)
                   throws XMLSecurityException
Specified by:
setProperties in interface Transformer
Throws:
XMLSecurityException

getPreferredTransformMethod

public XMLSecurityConstants.TransformMethod getPreferredTransformMethod(XMLSecurityConstants.TransformMethod forInput)
Specified by:
getPreferredTransformMethod in interface Transformer

transform

public void transform(XMLSecEvent xmlSecEvent)
               throws XMLStreamException
Specified by:
transform in interface Transformer
Throws:
XMLStreamException

transform

public void transform(InputStream inputStream)
               throws XMLStreamException
Specified by:
transform in interface Transformer
Throws:
XMLStreamException

doFinal

public void doFinal()
             throws XMLStreamException
Specified by:
doFinal in interface Transformer
Throws:
XMLStreamException


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.