public interface XmlBuilder
Modifier and Type | Method and Description |
---|---|
Object |
build(XmlElement elt,
String type)
Given an XmlElement, create and return an internal representtion
of it.
|
XmlElement |
generate(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.
|
Object build(XmlElement elt, String type) throws Exception
public Graph build (XmlELement elt, String type);
Exception
void setDelegate(XmlBuilder child)
CompositeBuilder
XmlElement generate(Object obj) throws Exception
Exception
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.