|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Maps from Java to XML.
Nested Class Summary | |
static interface |
MapToXML.Source
A source of MapToXML objects. |
Method Summary | |
Identifier |
getIdentifier(java.lang.Object parent,
Getter getter)
Choose the XML representation of repeated references to an object. |
Marshaller |
getMarshaller(java.lang.Object parent,
XMLThing parentElement,
Getter getter)
Choose the Marshaller object for a given source Java object. |
Prefixer |
getPrefixer()
Choose a mapping from namespace URI to preferred XML prefix. |
Getter[] |
getProperties(java.lang.Object parent,
Getter getter,
java.lang.Object source)
Find the properties of a given Java object that can be mapped to XML. |
java.lang.String |
getText(java.lang.Object parent,
Marshaller marshaller,
XMLWriter writer)
Choose the Java property to be copied to XML text. |
XMLThing |
getXML(java.lang.Object parent,
Getter getter,
Marshaller marshaller,
XMLWriter writer)
Choose the XML element or attribute name for a Java object. |
Method Detail |
public Prefixer getPrefixer()
public Marshaller getMarshaller(java.lang.Object parent, XMLThing parentElement, Getter getter)
getter
- to be mapped to XMLparent
- contains source. null if source is the root object.
public XMLThing getXML(java.lang.Object parent, Getter getter, Marshaller marshaller, XMLWriter writer) throws java.lang.Exception
getter
- to be mapped to XMLparent
- contains source
java.lang.Exception
public java.lang.String getText(java.lang.Object parent, Marshaller marshaller, XMLWriter writer)
public Identifier getIdentifier(java.lang.Object parent, Getter getter)
getter
- to be mapped to XMLparent
- contains source. null if source is the root object.
public Getter[] getProperties(java.lang.Object parent, Getter getter, java.lang.Object source)
source
- to be mapped to XMLparent
- contains source. null if source is the root object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |