org.objectweb.telosys.rpl.xml.mapper
Class DateValueMapper

java.lang.Object
  extended byorg.objectweb.telosys.rpl.xml.XmlWrapperAncestor
      extended byorg.objectweb.telosys.rpl.xml.mapper.DateValueMapper
All Implemented Interfaces:
IXmlWrapper

public class DateValueMapper
extends XmlWrapperAncestor
implements IXmlWrapper

XML mapper implementation for DateValue


Field Summary
 
Fields inherited from class org.objectweb.telosys.rpl.xml.XmlWrapperAncestor
DATE_AND_TIME, DATE_ONLY, TIME_ONLY
 
Constructor Summary
DateValueMapper()
           
 
Method Summary
 java.lang.Object createBean()
          Creates an new instance of the b managed by the XML mapper
 void setXmlFieldValue(java.lang.Object oBean, java.lang.String sName, java.lang.String sValue)
          Set the given field value in the object field corresponding to the given field name.
 void toXml(java.io.PrintWriter out, java.lang.Object oBean, java.lang.String sTagName)
          Print the given bean as XML tag on the given output
 
Methods inherited from class org.objectweb.telosys.rpl.xml.XmlWrapperAncestor
attributeString, attributeString, attributeString, attributeString, attributeString, attributeString, attributeString, attributeString, attributeString, attributeString, attributeString, attributeString, attributeString, attributeString, attributeString, attributeString, attributeString, generateTextTag, getBeanClass, getBeanClassName, getBigDecimal, getBigInteger, getBoolean, getBooleanObject, getByte, getByte, getByteObject, getChar, getChar, getCharObject, getDateISO, getDateTimeISO, getDouble, getDouble, getDoubleObject, getFloat, getFloat, getFloatObject, getInt, getInt, getIntObject, getLong, getLong, getLongObject, getShort, getShort, getShortObject, getSqlDate, getSqlTime, getSqlTimestamp, getTimeISO, getUtilDate, throwException, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.objectweb.telosys.rpl.xml.IXmlWrapper
getBeanClass
 

Constructor Detail

DateValueMapper

public DateValueMapper()
Method Detail

createBean

public java.lang.Object createBean()
Description copied from interface: IXmlWrapper
Creates an new instance of the b managed by the XML mapper

Specified by:
createBean in interface IXmlWrapper
Returns:
bean instance

setXmlFieldValue

public void setXmlFieldValue(java.lang.Object oBean,
                             java.lang.String sName,
                             java.lang.String sValue)
Description copied from interface: IXmlWrapper
Set the given field value in the object field corresponding to the given field name.

Specified by:
setXmlFieldValue in interface IXmlWrapper
Parameters:
oBean - : the bean to update
sName - : the name of the field in the XML flow
sValue - : the value of the field

toXml

public void toXml(java.io.PrintWriter out,
                  java.lang.Object oBean,
                  java.lang.String sTagName)
Description copied from interface: IXmlWrapper
Print the given bean as XML tag on the given output

Specified by:
toXml in interface IXmlWrapper
Parameters:
out -
oBean -
sTagName -