public class ClassBuilder extends AbstractXmlBuilder
Constructor and Description |
---|
ClassBuilder() |
Modifier and Type | Method and Description |
---|---|
Object |
build(XmlElement elt,
String type)
Build an instance of the given type using Java reflection.
|
XmlElement |
generate(Object in)
Generate XML that contains the given object's class name
and no children.
|
getDelegate, setDelegate
public Object build(XmlElement elt, String type) throws Exception
build
in interface XmlBuilder
build
in class AbstractXmlBuilder
Exception
public XmlElement generate(Object in)
generate
in interface XmlBuilder
generate
in class AbstractXmlBuilder
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.