com.openharbor.beck.marshal
Class XPathMarshaller
java.lang.Object
com.openharbor.beck.marshal.DefaultMarshaller
com.openharbor.beck.marshal.XPathMarshaller
- All Implemented Interfaces:
- Marshaller
- public class XPathMarshaller
- extends DefaultMarshaller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJECT_TO_XPATH
public static final XMLWriter.MapKey OBJECT_TO_XPATH
XPathMarshaller
public XPathMarshaller()
getXMLSource
public java.lang.Object getXMLSource(MapToXML mapper,
java.lang.Object parent,
Getter getter)
- Return null to indicate that the XML is a reference, not a referent.
- Specified by:
getXMLSource
in interface Marshaller
- Overrides:
getXMLSource
in class DefaultMarshaller
writeAsElement
protected void writeAsElement(MapToXML mapper,
java.lang.Object parent,
Getter getter,
java.lang.Object child,
XMLThing tag,
XMLWriter writer)
throws java.lang.Exception
- Overrides:
writeAsElement
in class DefaultMarshaller
- Throws:
java.lang.Exception