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 Transformer
XMLSecurityException
protected OutputStream getOutputStream()
protected XMLEventWriter getXmlEventWriterForOutputStream() throws XMLStreamException
XMLStreamException
public void setTransformer(Transformer transformer) throws XMLSecurityException
setTransformer
in interface Transformer
XMLSecurityException
protected Transformer getTransformer()
public void setProperties(Map<String,Object> properties) throws XMLSecurityException
setProperties
in interface Transformer
XMLSecurityException
public XMLSecurityConstants.TransformMethod getPreferredTransformMethod(XMLSecurityConstants.TransformMethod forInput)
getPreferredTransformMethod
in interface Transformer
public void transform(XMLSecEvent xmlSecEvent) throws XMLStreamException
transform
in interface Transformer
XMLStreamException
public void transform(InputStream inputStream) throws XMLStreamException
transform
in interface Transformer
XMLStreamException
public void doFinal() throws XMLStreamException
doFinal
in interface Transformer
XMLStreamException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.