org.mule.transformers.xml
Class XsltTransformer
java.lang.Object
org.mule.transformers.AbstractTransformer
org.mule.transformers.xml.XsltTransformer
- All Implemented Interfaces:
- java.lang.Cloneable, Initialisable, java.io.Serializable, UMOSimpleTransformer, UMOTransformer
- public class XsltTransformer
- extends AbstractTransformer
XsltTransformer
performs a xslt transform on a Dom object
- Version:
- $Revision: 1.3 $
- Author:
- Vanmeerhaeghe Stéphane, Ross Mason
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
clone()
|
java.lang.Object |
doTransform(java.lang.Object src)
Tranform, using XSLT, a XML String to another String. |
java.lang.String |
getXslFile()
|
void |
initialise()
Template method were deriving classes can do any initialisation
after the properties have been set on this transformer |
void |
setXslFile(java.lang.String xslFile)
|
Methods inherited from class org.mule.transformers.AbstractTransformer |
checkReturnClass, generateTransformerName, getEndpoint, getFinalReturnClass, getName, getReturnClass, getSourceTypeClassesIterator, getTransformer, isSourceTypeSupported, registerSourceType, setEndpoint, setName, setReturnClass, setSourceType, setTransformer, toString, transform, unregisterSourceType |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XsltTransformer
public XsltTransformer()
initialise
public void initialise()
throws InitialisationException
- Description copied from class:
AbstractTransformer
- Template method were deriving classes can do any initialisation
after the properties have been set on this transformer
- Specified by:
initialise
in interface Initialisable
- Overrides:
initialise
in class AbstractTransformer
- Throws:
InitialisationException
- See Also:
Initialisable.initialise()
doTransform
public java.lang.Object doTransform(java.lang.Object src)
throws TransformerException
- Tranform, using XSLT, a XML String to another String.
- Specified by:
doTransform
in class AbstractTransformer
- Parameters:
src
- The source String
- Returns:
- The result String
- Throws:
TransformerException
getXslFile
public java.lang.String getXslFile()
- Returns:
- Returns the xslFile.
setXslFile
public void setXslFile(java.lang.String xslFile)
- Parameters:
xslFile
- The xslFile to set.
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interface UMOSimpleTransformer
- Overrides:
clone
in class AbstractTransformer
- Throws:
java.lang.CloneNotSupportedException
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.