org.oddjob.arooa.types
Class XMLType

java.lang.Object
  extended by 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.

Nested Class Summary
static class XMLType.Conversions
           
static class XMLType.XMLDesignFactory
           
 
Field Summary
static ArooaElement ELEMENT
           
 
Constructor Summary
XMLType()
           
 
Method Summary
 void setArooaContext(ArooaContext context)
           
 void setXml(String xml)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ELEMENT

public static final ArooaElement ELEMENT
Constructor Detail

XMLType

public XMLType()
Method Detail

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