|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XMLBinding
This interface describes the contract between the Core class and the XML binding framework.
| Method Summary | ||
|---|---|---|
|
fromXML(java.lang.Class<T> clazz,
XMLString xml)
Convert an XMLString into an object of the Type that it represents. |
|
XMLString |
toXML(java.lang.Object type)
Convert a type into its XML representation. |
|
| Method Detail |
|---|
<T> T fromXML(java.lang.Class<T> clazz,
XMLString xml)
throws XMLException
clazz - The class represented by the xml argument.xml - The XML representation of the object to be unmarshalled.
clazz representing xml
XMLException - If there is a problem parsing the XML
VersionException - If the request version is not defined.XMLString toXML(java.lang.Object type)
type - The object to be marshalled
VersionException - If the requested version either is not defined.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||