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
-
-
Constructor Summary
Constructors Constructor Description TransformIdentity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
Method Detail
-
getXmlOutputFactory
protected static XMLOutputFactory getXmlOutputFactory()
-
getXmlInputFactory
public static XMLInputFactory getXmlInputFactory()
-
setOutputStream
public void setOutputStream(OutputStream outputStream) throws XMLSecurityException
- Specified by:
setOutputStream
in 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:
setTransformer
in interfaceTransformer
- Throws:
XMLSecurityException
-
getTransformer
protected Transformer getTransformer()
-
setProperties
public void setProperties(Map<String,Object> properties) throws XMLSecurityException
- Specified by:
setProperties
in interfaceTransformer
- Throws:
XMLSecurityException
-
getPreferredTransformMethod
public XMLSecurityConstants.TransformMethod getPreferredTransformMethod(XMLSecurityConstants.TransformMethod forInput)
- Specified by:
getPreferredTransformMethod
in interfaceTransformer
-
transform
public void transform(XMLSecEvent xmlSecEvent) throws XMLStreamException
- Specified by:
transform
in interfaceTransformer
- Throws:
XMLStreamException
-
transform
public void transform(InputStream inputStream) throws XMLStreamException
- Specified by:
transform
in interfaceTransformer
- Throws:
XMLStreamException
-
doFinal
public void doFinal() throws XMLStreamException
- Specified by:
doFinal
in interfaceTransformer
- Throws:
XMLStreamException
-
-