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, setDelegate
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setDelegate
public 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 XmlBuilder
generate
in class AbstractXmlBuilder
public Object build(XmlElement in, String type)
build
in interface XmlBuilder
build
in class AbstractXmlBuilder
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.