public final class SimpleData extends AbstractXmlBuilder implements TypedData
| Constructor and Description |
|---|
SimpleData()
Used in the builder interface--do not call
this constructor from code!
|
SimpleData(String typeId)
Construct a simple data with the given dynamic
identifier.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
build(XmlElement in,
String type)
Build a SimpleData from the given XmlElement
|
boolean |
equals(Object o)
Equality test: are the types equal?
|
XmlElement |
generate(Object in)
Generate an XML element from this instance
|
Type |
getType()
Construct a simple data with the given dynamic
identifier.
|
String |
getTypeID()
Return the dynamic type identifier of this data item.
|
String |
toString()
Print the dynamic type of this data in brackets as
short hand to denote that it is a dynamic type.
|
getDelegate, setDelegateclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetDelegatepublic SimpleData()
public SimpleData(String typeId)
Type.isStaticType(String)public Type getType()
public String getTypeID()
public boolean equals(Object o)
public String toString()
public XmlElement generate(Object in)
generate in interface XmlBuildergenerate in class AbstractXmlBuilderpublic Object build(XmlElement in, String type)
build in interface XmlBuilderbuild in class AbstractXmlBuilderCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.