org.jconfig.parser
Class AbstractConfigParser

java.lang.Object
  extended byorg.jconfig.parser.AbstractConfigParser
All Implemented Interfaces:
ConfigurationParser
Direct Known Subclasses:
CDataConfigParser, DefaultConfigParser, NestedConfigParser

public abstract class AbstractConfigParser
extends java.lang.Object
implements ConfigurationParser

Author:
Andreas Mecky andreas.mecky@xcom.de, Terry Dye terry.dye@xcom.de

Constructor Summary
AbstractConfigParser()
           
 
Method Summary
protected  void getBaseConfigName(org.w3c.dom.Document doc, Configuration config)
          check if this configuration extends another configuration defined in the top level tag like this:
protected  void getIncludeProperties(org.w3c.dom.Document doc, Configuration config)
           
protected  void getVariables(org.w3c.dom.Document doc, Configuration config)
          Gets the variables attribute of the ConfigurationManager object
abstract  Configuration parse(org.w3c.dom.Document doc, java.lang.String configName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractConfigParser

public AbstractConfigParser()
Method Detail

getVariables

protected void getVariables(org.w3c.dom.Document doc,
                            Configuration config)
Gets the variables attribute of the ConfigurationManager object

Parameters:
doc - Description of the Parameter
Returns:
The variables value

getBaseConfigName

protected void getBaseConfigName(org.w3c.dom.Document doc,
                                 Configuration config)
check if this configuration extends another configuration defined in the top level tag like this:


getIncludeProperties

protected void getIncludeProperties(org.w3c.dom.Document doc,
                                    Configuration config)

parse

public abstract Configuration parse(org.w3c.dom.Document doc,
                                    java.lang.String configName)
Specified by:
parse in interface ConfigurationParser


Copyright © 2001-2005 Andreas Mecky, Terry Dye. All Rights Reserved.