Interface XmlObjectFactory

All Known Implementing Classes:
ParcelMode.Factory

public interface XmlObjectFactory
One can define within the encoded object xml the class of an object that implements XmlObjectFactory. This factory object is instantiated and used to create the object.
Version:
$Revision: 1.6 $Date: 2005/05/13 18:33:54 $
Author:
Metapps development team
  • Method Summary

    Modifier and Type
    Method
    Description
    getObject(XmlEncoder encoder, Element node)
    Returns an object corresponding to an XML element.
  • Method Details

    • getObject

      Object getObject(XmlEncoder encoder, Element node)
      Returns an object corresponding to an XML element.
      Parameters:
      encoder - The XML encoder.
      node - The XML element to be decoded.
      Returns:
      The object corresponding to the XML element.