public static class ConstantTable.XML extends XMLFormat<ConstantTable<?>>
XMLFormat.InputElement, XMLFormat.OutputElement| Constructor and Description |
|---|
ConstantTable.XML() |
| Modifier and Type | Method and Description |
|---|---|
ConstantTable<?> |
newInstance(Class<? extends ConstantTable<?>> cls,
XMLFormat.InputElement xml)
Allocates a new object of the specified class from the specified
XML input element.
|
void |
read(XMLFormat.InputElement xml,
ConstantTable<?> that)
Parses an XML input element into the specified object.
|
void |
write(ConstantTable<?> that,
XMLFormat.OutputElement xml)
Formats an object into the specified XML output element.
|
isReferenceablepublic ConstantTable<?> newInstance(Class<? extends ConstantTable<?>> cls, XMLFormat.InputElement xml) throws XMLStreamException
XMLFormatnewInstance in class XMLFormat<ConstantTable<?>>cls - the class of the object to return.xml - the XML input element.XMLStreamExceptionpublic void read(XMLFormat.InputElement xml, ConstantTable<?> that) throws XMLStreamException
XMLFormatread in class XMLFormat<ConstantTable<?>>xml - the XML element to parse.that - the object created through XMLFormat.newInstance(java.lang.Class<? extends T>, javolution.xml.XMLFormat.InputElement)
and to setup from the specified XML element.XMLStreamExceptionpublic void write(ConstantTable<?> that, XMLFormat.OutputElement xml) throws XMLStreamException
XMLFormatwrite in class XMLFormat<ConstantTable<?>>that - the object to format.xml - the XMLElement destination.XMLStreamExceptionCopyright © 2017. All rights reserved.