org.openejb.alt.assembler.classic.xml
Class EnvEntry

java.lang.Object
  |
  +--org.openejb.alt.assembler.classic.InfoObject
        |
        +--org.openejb.alt.assembler.classic.EnvEntryInfo
              |
              +--org.openejb.alt.assembler.classic.xml.EnvEntry
All Implemented Interfaces:
DomObject, java.io.Serializable

public class EnvEntry
extends EnvEntryInfo
implements DomObject

A subclass of EnvEntryInfo filled with data from an XML file. Populates the member variables of EnvEntryInfo in this classes initializeFromDOM method.

See Also:
EnvEntryInfo, #EnvEntry.initializeFromDOM, Serialized Form

Field Summary
static java.lang.String ENV_ENTRY_NAME
          Represents the env-entry-name element in the XML config file.
static java.lang.String ENV_ENTRY_TYPE
          Represents the env-entry-type element in the XML config file.
static java.lang.String ENV_ENTRY_VALUE
          Represents the env-entry-value element in the XML config file.
 
Fields inherited from class org.openejb.alt.assembler.classic.EnvEntryInfo
name, type, value
 
Constructor Summary
EnvEntry()
           
 
Method Summary
 void initializeFromDOM(org.w3c.dom.Node node)
          Parses out the values needed by this DomObject from the DOM Node passed in.
 void serializeToDOM(org.w3c.dom.Node node)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENV_ENTRY_NAME

public static final java.lang.String ENV_ENTRY_NAME
Represents the env-entry-name element in the XML config file.

ENV_ENTRY_TYPE

public static final java.lang.String ENV_ENTRY_TYPE
Represents the env-entry-type element in the XML config file.

ENV_ENTRY_VALUE

public static final java.lang.String ENV_ENTRY_VALUE
Represents the env-entry-value element in the XML config file.
Constructor Detail

EnvEntry

public EnvEntry()
Method Detail

initializeFromDOM

public void initializeFromDOM(org.w3c.dom.Node node)
                       throws OpenEJBException
Parses out the values needed by this DomObject from the DOM Node passed in.
Specified by:
initializeFromDOM in interface DomObject

serializeToDOM

public void serializeToDOM(org.w3c.dom.Node node)
                    throws OpenEJBException
Specified by:
serializeToDOM in interface DomObject