ucar.unidata.view.sounding
Class ParcelMode.Factory
java.lang.Object
ucar.unidata.view.sounding.ParcelMode.Factory
- All Implemented Interfaces:
- XmlObjectFactory
- Enclosing class:
- ParcelMode
public static class ParcelMode.Factory
- extends Object
- implements XmlObjectFactory
Factory class for decoding an XML element into an instance of the
enclosing class.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParcelMode.Factory
public ParcelMode.Factory()
- Constructs from nothing. Necessary for factory creation by
XmlPersistable.
getObject
public Object getObject(XmlEncoder encoder,
Element elt)
- Returns an instance of the enclosing class corresponding to an XML
element.
- Specified by:
getObject in interface XmlObjectFactory
- Parameters:
encoder - The XML encoder.elt - The XML element to be decoded.
- Returns:
- The object corresponding to the XML
element.
- Throws:
IllegalArgumentException - if the element can't be decoded.