Class XslTransform
- java.lang.Object
-
- org.apache.ofbiz.base.util.template.XslTransform
-
public final class XslTransform extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description XslTransform()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.String
renderTemplate(java.lang.String template, java.lang.String data)
static org.w3c.dom.Document
transform(java.util.Map<java.lang.String,java.lang.Object> context, java.util.Map<java.lang.String,java.lang.Object> params)
Deprecated.
-
-
-
Method Detail
-
renderTemplate
public static java.lang.String renderTemplate(java.lang.String template, java.lang.String data) throws javax.xml.transform.TransformerException
- Parameters:
template
- the content or url of the xsl templatedata
- the content or url of the xml data file- Throws:
javax.xml.transform.TransformerException
-
transform
@Deprecated public static org.w3c.dom.Document transform(java.util.Map<java.lang.String,java.lang.Object> context, java.util.Map<java.lang.String,java.lang.Object> params) throws GeneralException, java.io.IOException, javax.xml.transform.TransformerConfigurationException, javax.xml.transform.TransformerException
Deprecated.- Throws:
GeneralException
java.io.IOException
javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerException
-
-