public abstract class AbstractXmlBuilder extends java.lang.Object implements XmlBuilder
Constructor and Description |
---|
AbstractXmlBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract 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 in)
Unable to generate XML by default.
|
XmlBuilder |
getDelegate()
Return the delegate set by getDelegate().
|
void |
setDelegate(XmlBuilder delegate)
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.
|
public abstract java.lang.Object build(XmlElement elt, java.lang.String type) throws java.lang.Exception
public Graph build (XmlElement elt, String type);
build
in interface XmlBuilder
java.lang.Exception
public void setDelegate(XmlBuilder delegate)
setDelegate
in interface XmlBuilder
CompositeBuilder
public XmlBuilder getDelegate()
public XmlElement generate(java.lang.Object in) throws java.lang.Exception
generate
in interface XmlBuilder
java.lang.UnsupportedOperationException
- Unable to generate XML by defaultjava.lang.Exception