public class XSLTTransformer extends Object
| Constructor and Description |
|---|
XSLTTransformer(String xsltPath) |
| Modifier and Type | Method and Description |
|---|---|
Transformer |
getTransformer() |
XMLInputFactory |
getXmlInputFactory() |
String |
getXsltPath() |
org.apache.axiom.om.OMElement |
transform(org.apache.axiom.om.OMElement inputXML)
Transforms the given XML element using the current XSLT transformer and
returns the result.
|
public XSLTTransformer(String xsltPath) throws TransformerConfigurationException, DataServiceFault, IOException
public String getXsltPath()
public Transformer getTransformer()
public XMLInputFactory getXmlInputFactory()
public org.apache.axiom.om.OMElement transform(org.apache.axiom.om.OMElement inputXML)
throws DataServiceFault
inputXML - The XML data to be transformedDataServiceFaultCopyright © 2017 WSO2. All rights reserved.