public class XmlTransformer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
XmlTransformer() |
Modifier and Type | Method and Description |
---|---|
void |
registerBuilder(DocumentBuilderFactoryBuilder b) |
void |
transform(javax.xml.transform.Transformer transformer,
java.io.InputStream xmlIn,
java.io.OutputStream xmlOut,
java.lang.String xsl)
Transform method which converts an input XML document into another format using the specified XSLT
|
void |
transform(javax.xml.transform.Transformer transformer,
java.io.InputStream xmlIn,
java.io.OutputStream xmlOut,
java.lang.String xsl,
java.util.Map<java.lang.Object,java.lang.Object> properties)
Transform method which converts an input XML document into another format using the specified XSLT
|
void |
transform(javax.xml.transform.Transformer transformer,
java.io.Reader xmlIn,
java.io.Writer xmlOut,
java.lang.String xsl)
Transform method which converts an input XML document into another format using the specified XSLT
|
void |
transform(javax.xml.transform.Transformer transformer,
java.io.Reader xmlIn,
java.io.Writer xmlOut,
java.lang.String xsl,
java.util.Map<java.lang.Object,java.lang.Object> properties)
Transform method which converts an input XML document into another format using the specified XSLT
|
void |
transform(javax.xml.transform.Transformer transformer,
javax.xml.transform.Source xmlIn,
javax.xml.transform.Result xmlOut,
java.lang.String xsl)
Transform method which converts an input XML document into another format using the specified XSLT
|
void |
transform(javax.xml.transform.Transformer transformer,
javax.xml.transform.Source xmlIn,
javax.xml.transform.Result xmlOut,
java.lang.String xsl,
java.util.Map<java.lang.Object,java.lang.Object> properties)
Transform method which converts an input XML document into another format using the specified XSLT
|
public void registerBuilder(DocumentBuilderFactoryBuilder b)
public void transform(javax.xml.transform.Transformer transformer, javax.xml.transform.Source xmlIn, javax.xml.transform.Result xmlOut, java.lang.String xsl, java.util.Map<java.lang.Object,java.lang.Object> properties) throws java.lang.Exception
transformer
- the Transformer
xmlIn
- the input documentxmlOut
- the output documentxsl
- the stylesheetproperties
- optional Map of parameters to be passed to the stylesheet engine and that will be accessible from the
stylesheet.java.lang.Exception
- in the event of parsing / transform errorspublic void transform(javax.xml.transform.Transformer transformer, java.io.InputStream xmlIn, java.io.OutputStream xmlOut, java.lang.String xsl, java.util.Map<java.lang.Object,java.lang.Object> properties) throws java.lang.Exception
transformer
- the Transformer
xmlIn
- the input documentxmlOut
- the output documentxsl
- the stylesheetproperties
- optional Map of parameters to be passed to the stylesheet engine and that will be accessible from the
stylesheet.java.lang.Exception
- in the event of parsing / transform errorspublic void transform(javax.xml.transform.Transformer transformer, java.io.Reader xmlIn, java.io.Writer xmlOut, java.lang.String xsl, java.util.Map<java.lang.Object,java.lang.Object> properties) throws java.lang.Exception
transformer
- the Transformer
xmlIn
- the input documentxmlOut
- the output documentxsl
- the stylesheetproperties
- optional Map of parameters to be passed to the stylesheet engine and that will be accessible from the
stylesheet.java.lang.Exception
- in the event of parsing / transform errorspublic void transform(javax.xml.transform.Transformer transformer, java.io.InputStream xmlIn, java.io.OutputStream xmlOut, java.lang.String xsl) throws java.lang.Exception
transformer
- the Transformer
xmlIn
- the input documentxmlOut
- the output documentxsl
- the stylesheetjava.lang.Exception
- in the event of parsing / transform errorspublic void transform(javax.xml.transform.Transformer transformer, java.io.Reader xmlIn, java.io.Writer xmlOut, java.lang.String xsl) throws java.lang.Exception
transformer
- the Transformer
xmlIn
- the input documentxmlOut
- the output documentxsl
- the stylesheetjava.lang.Exception
- in the event of parsing / transform errorspublic void transform(javax.xml.transform.Transformer transformer, javax.xml.transform.Source xmlIn, javax.xml.transform.Result xmlOut, java.lang.String xsl) throws java.lang.Exception
transformer
- the Transformer
xmlIn
- the input documentxmlOut
- the output documentxsl
- the stylesheetjava.lang.Exception
- in the event of parsing / transform errors