org.objectweb.telosys.rpl.xml.mapper
Class StringValueMapper
java.lang.Object
org.objectweb.telosys.rpl.xml.XmlWrapperAncestor
org.objectweb.telosys.rpl.xml.mapper.StringValueMapper
- All Implemented Interfaces:
- IXmlWrapper
- public class StringValueMapper
- extends XmlWrapperAncestor
- implements IXmlWrapper
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, generateTextTag, getBeanClass, getBeanClassName, getBigDecimal, getBoolean, getBooleanObject, getByte, getByte, getByteObject, getDateISO, getDateTimeISO, getDouble, getDouble, getDoubleObject, getFloat, getFloat, getFloatObject, getInt, getInt, getIntObject, getLong, getLong, getLongObject, getShort, getShort, getShortObject, getTimeISO, throwException, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StringValueMapper
public StringValueMapper()
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 updatesName
- : the name of the field in the XML flowsValue
- : 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
-