Package ucar.unidata.view.sounding
Class ParcelMode.Factory
java.lang.Object
ucar.unidata.view.sounding.ParcelMode.Factory
- All Implemented Interfaces:
XmlObjectFactory
- Enclosing class:
ParcelMode
Factory class for decoding an XML element into an instance of the
enclosing class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetObject
(XmlEncoder encoder, Element elt) Returns an instance of the enclosing class corresponding to an XML element.
-
Constructor Details
-
Factory
public Factory()Constructs from nothing. Necessary for factory creation by XmlPersistable.
-
-
Method Details
-
getObject
Returns an instance of the enclosing class corresponding to an XML element.- Specified by:
getObject
in interfaceXmlObjectFactory
- 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.
-