org.oddjob.arooa.types
Class XMLType
java.lang.Object
org.oddjob.arooa.types.XMLType
- All Implemented Interfaces:
- Serializable, ArooaValue, ArooaContextAware
public class XMLType
- extends Object
- implements ArooaContextAware, ArooaValue, Serializable
Description
A type that converts it's XML contents into
a String.Example
Capture XML in a variable.
<oddjob>
<job>
<sequential>
<jobs>
<variables id="vars">
<myXML>
<xml>
<some-xml>
Some Text
</some-xml>
</xml>
</myXML>
</variables>
</jobs>
</sequential>
</job>
</oddjob>
- See Also:
- Serialized Form
- Author:
- Rob Gordon.
ELEMENT
public static final ArooaElement ELEMENT
XMLType
public XMLType()
setArooaContext
public void setArooaContext(ArooaContext context)
- Specified by:
setArooaContext
in interface ArooaContextAware
setXml
public void setXml(String xml)
toString
public String toString()
- Overrides:
toString
in class Object