|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object extended bydiva.util.xml.AbstractXmlBuilder
An abstract implementation of the XmlBuilder interface that gets and sets a delegate, leaves the build method abstract, and doesn't support the generate method.
| Constructor Summary | |
AbstractXmlBuilder()
|
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractXmlBuilder()
| Method Detail |
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 XmlBuilderjava.lang.Exceptionpublic void setDelegate(XmlBuilder delegate)
setDelegate in interface XmlBuilderCompositeBuilderpublic XmlBuilder getDelegate()
public XmlElement generate(java.lang.Object in) throws java.lang.Exception
generate in interface XmlBuilderjava.lang.UnsupportedOperationException - Unable to generate XML by default
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||