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

Quick Search    Search Deep

com.k_int.util.CCL
Class XMLConfig  view XMLConfig download XMLConfig.java

java.lang.Object
  extended bycom.k_int.util.CCL.XMLConfig
All Implemented Interfaces:
CCLConfigurator

public class XMLConfig
extends java.lang.Object
implements CCLConfigurator

XMLConfig : Load a CCL Configuration from an XML datasource.

Version:
$Id: XMLConfig.java,v 1.7 2003/05/09 12:54:44 rob_tice Exp $

Field Summary
private static LoggingContext cat
           
(package private)  org.w3c.dom.Document doc
           
(package private)  CCLConfig target
           
 
Constructor Summary
XMLConfig(java.io.InputStream is, CCLConfig config)
          Constructor.
 
Method Summary
private  void addMappings(java.util.Vector v, org.w3c.dom.Node n)
           
 void configure()
          Trigger the transfer of data from the XML file into the CCLConfig
private  java.lang.String getAttr(org.w3c.dom.NamedNodeMap attrs, java.lang.String attrname, java.lang.String default_value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

private static LoggingContext cat

doc

org.w3c.dom.Document doc

target

CCLConfig target
Constructor Detail

XMLConfig

public XMLConfig(java.io.InputStream is,
                 CCLConfig config)
Constructor.

Method Detail

configure

public void configure()
Trigger the transfer of data from the XML file into the CCLConfig

Specified by:
configure in interface CCLConfigurator

addMappings

private void addMappings(java.util.Vector v,
                         org.w3c.dom.Node n)

getAttr

private java.lang.String getAttr(org.w3c.dom.NamedNodeMap attrs,
                                 java.lang.String attrname,
                                 java.lang.String default_value)