Class TransformIdentity
- java.lang.Object
-
- 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
Constructors Constructor Description TransformIdentity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoFinal()protected OutputStreamgetOutputStream()XMLSecurityConstants.TransformMethodgetPreferredTransformMethod(XMLSecurityConstants.TransformMethod forInput)protected TransformergetTransformer()protected XMLEventWritergetXmlEventWriterForOutputStream()static XMLInputFactorygetXmlInputFactory()protected static XMLOutputFactorygetXmlOutputFactory()voidsetOutputStream(OutputStream outputStream)voidsetProperties(Map<String,Object> properties)voidsetTransformer(Transformer transformer)voidtransform(InputStream inputStream)voidtransform(XMLSecEvent xmlSecEvent)
-
-
-
Method Detail
-
getXmlOutputFactory
protected static XMLOutputFactory getXmlOutputFactory()
-
getXmlInputFactory
public static XMLInputFactory getXmlInputFactory()
-
setOutputStream
public void setOutputStream(OutputStream outputStream) throws XMLSecurityException
- Specified by:
setOutputStreamin interfaceTransformer- Throws:
XMLSecurityException
-
getOutputStream
protected OutputStream getOutputStream()
-
getXmlEventWriterForOutputStream
protected XMLEventWriter getXmlEventWriterForOutputStream() throws XMLStreamException
- Throws:
XMLStreamException
-
setTransformer
public void setTransformer(Transformer transformer) throws XMLSecurityException
- Specified by:
setTransformerin interfaceTransformer- Throws:
XMLSecurityException
-
getTransformer
protected Transformer getTransformer()
-
setProperties
public void setProperties(Map<String,Object> properties) throws XMLSecurityException
- Specified by:
setPropertiesin interfaceTransformer- Throws:
XMLSecurityException
-
getPreferredTransformMethod
public XMLSecurityConstants.TransformMethod getPreferredTransformMethod(XMLSecurityConstants.TransformMethod forInput)
- Specified by:
getPreferredTransformMethodin interfaceTransformer
-
transform
public void transform(XMLSecEvent xmlSecEvent) throws XMLStreamException
- Specified by:
transformin interfaceTransformer- Throws:
XMLStreamException
-
transform
public void transform(InputStream inputStream) throws XMLStreamException
- Specified by:
transformin interfaceTransformer- Throws:
XMLStreamException
-
doFinal
public void doFinal() throws XMLStreamException- Specified by:
doFinalin interfaceTransformer- Throws:
XMLStreamException
-
-