|
Joda System API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.joda.property.xml.impl.BeanXMLConvertor
BeanXMLConvertor converts a bean to and from XMLData. As properties can affect the bean's XMLData, this convertor calls the XMLConvertor for each property in turn.
| Field Summary | |
static XMLConvertor |
INSTANCE
|
| Constructor Summary | |
protected |
BeanXMLConvertor()
Restrictive constructor |
| Method Summary | |
void |
buildPropertiesXMLData(XMLConvertorContext context,
XMLData data,
Bean bean)
Build the XMLData for the properties. |
void |
buildXMLData(XMLConvertorContext context,
XMLData parent,
java.lang.Object object)
Build the XMLData representation of the bean passed in. |
void |
expandXMLData(XMLConvertorContext context,
XMLData data)
Build the XMLData for a bean. |
boolean |
isConvertorFor(java.lang.Object object)
Check to see if this convertor handles the object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final XMLConvertor INSTANCE
| Constructor Detail |
protected BeanXMLConvertor()
| Method Detail |
public boolean isConvertorFor(java.lang.Object object)
XMLConvertor
isConvertorFor in interface XMLConvertorobject - the object to check
XMLConvertor.isConvertorFor(Object)
public void expandXMLData(XMLConvertorContext context,
XMLData data)
expandXMLData in interface XMLConvertorcontext - the XML contextdata - the bean's XMLData to update
public void buildPropertiesXMLData(XMLConvertorContext context,
XMLData data,
Bean bean)
public void buildXMLData(XMLConvertorContext context,
XMLData parent,
java.lang.Object object)
buildXMLData in interface XMLConvertorcontext - the context for the outputparent - the parent XMLData to add toobject - the object to convert
|
Joda System API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||