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.
  • Constructor Details

    • Factory

      public Factory()
      Constructs from nothing. Necessary for factory creation by XmlPersistable.
  • Method Details

    • 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.