public class TransformIdentity extends Object implements Transformer
| Constructor and Description |
|---|
TransformIdentity() |
| Modifier and Type | Method and 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) |
protected static XMLOutputFactory getXmlOutputFactory()
public static XMLInputFactory getXmlInputFactory()
public void setOutputStream(OutputStream outputStream) throws XMLSecurityException
setOutputStream in interface TransformerXMLSecurityExceptionprotected OutputStream getOutputStream()
protected XMLEventWriter getXmlEventWriterForOutputStream() throws XMLStreamException
XMLStreamExceptionpublic void setTransformer(Transformer transformer) throws XMLSecurityException
setTransformer in interface TransformerXMLSecurityExceptionprotected Transformer getTransformer()
public void setProperties(Map<String,Object> properties) throws XMLSecurityException
setProperties in interface TransformerXMLSecurityExceptionpublic XMLSecurityConstants.TransformMethod getPreferredTransformMethod(XMLSecurityConstants.TransformMethod forInput)
getPreferredTransformMethod in interface Transformerpublic void transform(XMLSecEvent xmlSecEvent) throws XMLStreamException
transform in interface TransformerXMLStreamExceptionpublic void transform(InputStream inputStream) throws XMLStreamException
transform in interface TransformerXMLStreamExceptionpublic void doFinal()
throws XMLStreamException
doFinal in interface TransformerXMLStreamExceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.