|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XMLizable
This interface is used to mark a class as de/serializable to XML.
| Method Summary | |
|---|---|
void |
load(XmlInputStream in,
TypeMapper typeMapper)
load the fileds/children from the specified xml stream |
void |
write(QName element,
XmlOutputStream out,
TypeMapper typeMapper)
write this instace as xml. |
| Method Detail |
|---|
void write(QName element,
XmlOutputStream out,
TypeMapper typeMapper)
throws IOException
element - xml element nameout - xml output streamtypeMapper - type mapper to be used
IOException - failed to write xml
void load(XmlInputStream in,
TypeMapper typeMapper)
throws IOException,
ConnectionException
in - xml input stream from which the data is readtypeMapper - type mapper to be used
IOException - failed to read xml
ConnectionException - failed to read/parser/bind xml
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||