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

Quick Search    Search Deep

org.jabbee.util
Class ConfigReader  view ConfigReader download ConfigReader.java

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.jabbee.util.ConfigHandler
          extended byorg.jabbee.util.ConfigReader
All Implemented Interfaces:
java.lang.Runnable

public final class ConfigReader
extends ConfigHandler

Reads the given configuration file and places information in the appropriate panels.

Version:
0.02

Nested Class Summary
 
Nested classes inherited from class java.lang.Thread
java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  org.w3c.dom.Document configDoc
           
 
Fields inherited from class org.jabbee.util.ConfigHandler
components, connections, filesystem, filters, general, inputOutput, logging, security, services
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ConfigReader(org.w3c.dom.Document d)
          Creates a new instance of ConfigReader
 
Method Summary
 void populatePanels()
          Reads the Document and transfers appropriate values to the various panels
 void run()
          The method of Thread that will be run if there is no Runnable object associated with the Thread.
 boolean validateRoot(java.lang.String rootElement)
          Validates the root element of an XML document
 
Methods inherited from class org.jabbee.util.ConfigHandler
getAttributeValue, getChildTextValue, getChildValues, getChildValues, setComponentsPanel, setConnectionsPanel, setFilesystemPanel, setFiltersPanel, setGeneralPanel, setInputOutputPanel, setLoggingPanel, setSecurityPanel, setServicePanel, simulateXPathForAttribute, simulateXPathForValue, simulateXPathGetAttributeNode, simulateXPathGetNode, simulateXPathPathExists
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

configDoc

private org.w3c.dom.Document configDoc
Constructor Detail

ConfigReader

public ConfigReader(org.w3c.dom.Document d)
Creates a new instance of ConfigReader

Method Detail

run

public void run()
Description copied from class: java.lang.Thread
The method of Thread that will be run if there is no Runnable object associated with the Thread. Thread's implementation does nothing at all.


validateRoot

public boolean validateRoot(java.lang.String rootElement)
Validates the root element of an XML document


populatePanels

public void populatePanels()
Reads the Document and transfers appropriate values to the various panels