public interface XmlBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
build(XmlElement elt,
java.lang.String type)
Given an XmlElement, create and return an internal representation
of it.
|
XmlElement |
generate(java.lang.Object obj)
Given an object, produce an XML representation of it.
|
void |
setDelegate(XmlBuilder child)
Delegate builders can be used to build/generate for objects
that are unknown by the current builder, as might be the
case in a hierarchy of heterogeneous objects.
|
java.lang.Object build(XmlElement elt, java.lang.String type) throws java.lang.Exception
public Graph build (XmlElement elt, String type);
java.lang.Exception
void setDelegate(XmlBuilder child)
CompositeBuilder
XmlElement generate(java.lang.Object obj) throws java.lang.Exception
java.lang.Exception