com.ail.core.xmlbinding
Interface ToXMLArg

All Superinterfaces:
CommandArg, java.io.Serializable
All Known Implementing Classes:
ToXMLArgImp, ToXMLCommand

public interface ToXMLArg
extends CommandArg

This interface defines the Bean used to encapsulate the argument and return values used by the ToXml entry point.

Version:
$Revision: 1.2 $

Method Summary
 java.lang.Object getObjectIn()
          Fetch the ObjectIn value.
 XMLMapping getXmlMappingInOut()
          Get the value of XmlMapping.
 XMLString getXmlOut()
          Fetch the XmlOut value.
 void setObjectIn(java.lang.Object objectIn)
          Set the value of the ObjectIn property.
 void setXmlMappingInOut(XMLMapping xmlMapping)
          Set the XML mapping property.
 void setXmlOut(XMLString xmlOut)
          Set the value of the XmlOut property.
 
Methods inherited from interface com.ail.core.command.CommandArg
getCallersCore, setCallersCore
 

Method Detail

getObjectIn

java.lang.Object getObjectIn()
Fetch the ObjectIn value. ObjectIn represents the object to be converted into XML.

Returns:
The object to be marshalled

setObjectIn

void setObjectIn(java.lang.Object objectIn)
Set the value of the ObjectIn property.

Parameters:
objectIn - The new value.

getXmlMappingInOut

XMLMapping getXmlMappingInOut()
Get the value of XmlMapping. This describes how to map from xml into java objects (and the reverse), and map be used by the service to cache marshallers and unmarshallers.

Returns:
The mapping, or null if it is not defined.

setXmlMappingInOut

void setXmlMappingInOut(XMLMapping xmlMapping)
Set the XML mapping property.

Parameters:
xmlMapping - The mapping to use.
See Also:
#getXmlMappingIn

getXmlOut

XMLString getXmlOut()
Fetch the XmlOut value. XmlOut represents the result of the marshal process: a string of XML built from objectIn

Returns:
marshalled XML object.

setXmlOut

void setXmlOut(XMLString xmlOut)
Set the value of the XmlOut property.

Parameters:
xmlOut - The new value.