org.jconfig.parser
Class CDataConfigParser

java.lang.Object
  extended byorg.jconfig.parser.AbstractConfigParser
      extended byorg.jconfig.parser.CDataConfigParser
All Implemented Interfaces:
ConfigurationParser

public class CDataConfigParser
extends AbstractConfigParser

The CDataConfigParser supports the following XML structure:

my value
more goes here
8080

It also supports "inheritance" that means one category can extend another category and will also have all properties. Properties will be overwritten.
Syntax:

world/



This means that category "second" now also has the property called "hello"

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

Constructor Summary
CDataConfigParser()
           
 
Method Summary
 Configuration parse(org.w3c.dom.Document doc, java.lang.String configName)
          Description of the Method
 
Methods inherited from class org.jconfig.parser.AbstractConfigParser
getBaseConfigName, getIncludeProperties, getVariables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDataConfigParser

public CDataConfigParser()
Method Detail

parse

public Configuration parse(org.w3c.dom.Document doc,
                           java.lang.String configName)
Description of the Method

Specified by:
parse in interface ConfigurationParser
Specified by:
parse in class AbstractConfigParser
Parameters:
doc - Description of the Parameter


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