public class XSLTransformer
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static XSLTransformer |
getTransformer() |
boolean |
hasNativeJDOMSupport() |
byte[] |
stripEmptyTags(byte[] xmlData) |
byte[] |
transform(byte[] inputXmlBytes,
java.io.File xslFile,
java.util.Map params) |
byte[] |
transform(byte[] inputXmlBytes,
java.lang.String xslFileName,
java.util.Map params) |
org.jdom.Document |
transform(org.jdom.Document inDoc,
java.io.File xslFile,
java.util.Map params) |
org.jdom.Document |
transform(org.jdom.Document inDoc,
java.lang.String xslFileName,
java.util.Map params) |
byte[] |
transform(java.io.InputStream inputXmlStream,
java.io.File xslFile,
java.util.Map params) |
byte[] |
transform(java.io.InputStream inputXmlStream,
java.lang.String xslFileName,
java.util.Map params) |
byte[] |
transform(java.lang.String inputXmlText,
java.io.File xslFile,
java.util.Map params) |
byte[] |
transform(java.lang.String inputXmlText,
java.lang.String xslFileName,
java.util.Map params) |
public static final XSLTransformer getTransformer()
public boolean hasNativeJDOMSupport()
public byte[] transform(java.io.InputStream inputXmlStream, java.io.File xslFile, java.util.Map params) throws javax.xml.transform.TransformerException, java.io.FileNotFoundException, javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerException
java.io.FileNotFoundException
javax.xml.transform.TransformerConfigurationException
public byte[] transform(java.lang.String inputXmlText, java.io.File xslFile, java.util.Map params) throws javax.xml.transform.TransformerException, java.io.FileNotFoundException, javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerException
java.io.FileNotFoundException
javax.xml.transform.TransformerConfigurationException
public org.jdom.Document transform(org.jdom.Document inDoc, java.io.File xslFile, java.util.Map params) throws javax.xml.transform.TransformerException, java.io.FileNotFoundException, javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerException
java.io.FileNotFoundException
javax.xml.transform.TransformerConfigurationException
public org.jdom.Document transform(org.jdom.Document inDoc, java.lang.String xslFileName, java.util.Map params) throws javax.xml.transform.TransformerException, java.io.FileNotFoundException, javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerException
java.io.FileNotFoundException
javax.xml.transform.TransformerConfigurationException
public byte[] transform(byte[] inputXmlBytes, java.io.File xslFile, java.util.Map params) throws javax.xml.transform.TransformerException, java.io.FileNotFoundException, javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerException
java.io.FileNotFoundException
javax.xml.transform.TransformerConfigurationException
public byte[] transform(java.io.InputStream inputXmlStream, java.lang.String xslFileName, java.util.Map params) throws javax.xml.transform.TransformerException, java.io.FileNotFoundException, javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerException
java.io.FileNotFoundException
javax.xml.transform.TransformerConfigurationException
public byte[] transform(java.lang.String inputXmlText, java.lang.String xslFileName, java.util.Map params) throws javax.xml.transform.TransformerException, java.io.FileNotFoundException, javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerException
java.io.FileNotFoundException
javax.xml.transform.TransformerConfigurationException
public byte[] transform(byte[] inputXmlBytes, java.lang.String xslFileName, java.util.Map params) throws javax.xml.transform.TransformerException, java.io.FileNotFoundException, javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerException
java.io.FileNotFoundException
javax.xml.transform.TransformerConfigurationException
public byte[] stripEmptyTags(byte[] xmlData) throws javax.xml.transform.TransformerException, java.io.FileNotFoundException, javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerException
java.io.FileNotFoundException
javax.xml.transform.TransformerConfigurationException