|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--com.wutka.jox.JOXBeanBuilder
JOXBeanBuilder builds a bean from an XML Element subtree.
| Constructor Summary | |
JOXBeanBuilder(org.w3c.dom.Element el)
Creates a new JOXBeanBuilder around a DOM Element. |
|
| Method Summary | |
java.lang.Object |
readObject(java.lang.Class obClass)
Reads an XML document into a new instance of the given class, matching tag names to bean property names. |
void |
readObject(java.lang.Object ob)
Reads an XML document into the object, matching tag names to bean property names. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public JOXBeanBuilder(org.w3c.dom.Element el)
el - The DOM Element to use for the bean| Method Detail |
public void readObject(java.lang.Object ob)
throws java.io.IOException
ob - The object that will receive data from the XML document
public java.lang.Object readObject(java.lang.Class obClass)
throws java.io.IOException
obClass - The class for the object that will receive data from
the XML document
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||