Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mrbook.mrpostman.gui
Class ModuleOptionGuiParser  view ModuleOptionGuiParser download ModuleOptionGuiParser.java

java.lang.Object
  extended byorg.mrbook.mrpostman.gui.ModuleOptionGuiParser

public class ModuleOptionGuiParser
extends java.lang.Object

A Utility class capable of parsing the module option gui configuration XML file and returning the data objects. Creation date: (16/01/2003 7:05:41 PM)


Field Summary
static java.lang.String CVSID
           
private static java.util.logging.Logger logger
          The Log instance for this application.
 
Constructor Summary
ModuleOptionGuiParser()
          ModuleOptionGuiParser constructor comment.
 
Method Summary
protected  java.lang.String getAttributeValue(org.w3c.dom.Node node, java.lang.String attributeName)
          Helper method to return the string representation of a node's named attribute (if found) returns null if not found.
 java.util.HashMap parse(java.io.InputStream input)
          Parse the XML input stream and return the populated data model.
protected  org.mrbook.mrpostman.gui.config.Input parseInput(org.w3c.dom.Node node)
          Parse the module-option/input sub branch of the DOM and return an Input object.
protected  org.mrbook.mrpostman.gui.config.Module parseModule(org.w3c.dom.Node moduleNode)
          Parse the module sub branch of the DOM and return an Module object
protected  org.mrbook.mrpostman.gui.config.ModuleOption parseModuleOption(org.w3c.dom.Node node)
          Parse the module-option sub branch of the DOM and return an ModuleOption object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CVSID

public static final java.lang.String CVSID
See Also:
Constant Field Values

logger

private static java.util.logging.Logger logger
The Log instance for this application.

Constructor Detail

ModuleOptionGuiParser

public ModuleOptionGuiParser()
ModuleOptionGuiParser constructor comment.

Method Detail

parse

public java.util.HashMap parse(java.io.InputStream input)
                        throws ModuleOptionGuiConfigException
Parse the XML input stream and return the populated data model. Creation date: (22/07/2002 7:08:37 PM)


parseModule

protected org.mrbook.mrpostman.gui.config.Module parseModule(org.w3c.dom.Node moduleNode)
Parse the module sub branch of the DOM and return an Module object


parseModuleOption

protected org.mrbook.mrpostman.gui.config.ModuleOption parseModuleOption(org.w3c.dom.Node node)
Parse the module-option sub branch of the DOM and return an ModuleOption object.


parseInput

protected org.mrbook.mrpostman.gui.config.Input parseInput(org.w3c.dom.Node node)
Parse the module-option/input sub branch of the DOM and return an Input object.


getAttributeValue

protected java.lang.String getAttributeValue(org.w3c.dom.Node node,
                                             java.lang.String attributeName)
Helper method to return the string representation of a node's named attribute (if found) returns null if not found.