    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class xm.xm_XmlEngineFactory

    java.lang.Object
       |
       +----xm.xm_Factory
               |
               +----xm.xm_XmlEngineFactory

public class xm_XmlEngineFactory
extends xm_Factory

Factory for generating XML engines (ie. xm_XmlEngine objects).

##

EngineAttName
  The name of the attribute in an attribute list whose value is the name of an XML engine's class.

##

xm_XmlEngineFactory()

##

createXmlEngine(String)
  Create an XML engine as an instance of the class whose name is InputEngineClassName.
createXmlEngine(xg_AttList)
  Create an XML engine of a type defined by the InputEngineAttributes.

##

EngineAttName

     public static final String EngineAttName

  The name of the attribute in an attribute list whose value is the name of an XML engine's class.

##

xm_XmlEngineFactory

     public xm_XmlEngineFactory()

##

createXmlEngine

     public static xm_XmlEngine createXmlEngine(xg_AttList InputEngineAttributes) throws xm_ParseException

  Create an XML engine of a type defined by the InputEngineAttributes. These must include an 'Engine' attribute which is the name of an XML engine which derives from xm.xm_XmlEngine. All the InputEngineAttributes are passed to the newly-created engine, as configuration parameters. Different types of engine may use different parameters as they see fit.

  Parameters:
    InputEngineAttributes - The class name of the engine we need to create
  Returns:
    The newly-created engine
  Throws: xm_ParseException
    The InputEngineAttributes do not include an 'Engine' attribute, or this attribute's value is not the name of a valid class which derives from xm.xm_XmlEngine

createXmlEngine

     public static xm_XmlEngine createXmlEngine(String InputEngineClassName) throws xm_ParseException

  Create an XML engine as an instance of the class whose name is InputEngineClassName. This class must derive from xm.xm_XmlEngine.

  Parameters:
    InputEngineClassName - The class name of the engine we need to create
  Returns:
    The newly-created engine
  Throws: xm_ParseException
    The given class could not be found, or is not derived from xm.xm_XmlEngine

    All Packages  Class Hierarchy  This Package  Previous  Next  Index