|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.xml.xsl.XPXslTransform
public class XPXslTransform
Java XSL transform wrapper - designed against System.Xml.Xsl.XslTransform in c# .Net 1.1 api. Underlying objects are built against Xerces 1.4.4 and Xalan-J 2.5.0.
This class is not thread safe - multiple threads handling the same XPXslTransform will cause unexpected behavior.
Constructor Summary | |
---|---|
XPXslTransform()
Empty constructor. |
Method Summary | |
---|---|
java.lang.String |
GetXSLFilePath()
Returns the path to the currently loaded XSL file. |
void |
Load(java.lang.String filePath)
Loads an XSLT file to be used for transformation. |
void |
Transform(XPDocument xmlIn,
XPHashtable args,
XPStringBuilder dataOut)
Given an XPDocument, we apply the loaded XSL file and return the result in the supplied XPStringBuilder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPXslTransform()
Method Detail |
---|
public void Load(java.lang.String filePath)
filePath
- String that is the full path to the XSLT file.public void Transform(XPDocument xmlIn, XPHashtable args, XPStringBuilder dataOut)
xmlIn
- XPDocument that we want to transformargs
- argument list to pass to the transformer - name/value String/Object pairsdataOut
- StringBuilder to write the resulting transformation topublic java.lang.String GetXSLFilePath()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |