public abstract class AbstractXmlBuilder extends Object implements XmlBuilder
| Constructor and Description |
|---|
AbstractXmlBuilder() |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
build(XmlElement elt,
String type)
Given an XmlElement, create and return an internal representtion
of it.
|
XmlElement |
generate(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 Object build(XmlElement elt, String type) throws Exception
public Graph build (XmlELement elt, String type);
build in interface XmlBuilderExceptionpublic void setDelegate(XmlBuilder delegate)
setDelegate in interface XmlBuilderCompositeBuilderpublic XmlBuilder getDelegate()
public XmlElement generate(Object in) throws Exception
generate in interface XmlBuilderUnsupportedOperationException - Unable to generate XML by defaultExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.