uk.ltd.getahead.dwr
Interface Configuration

All Known Implementing Classes:
DefaultConfiguration

public interface Configuration

The DefaultConfiguration class has responsibility for reading all config data from web.xml and dwr.xml

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Method Summary
 void addConfig(org.w3c.dom.Document doc)
          Add to the current configuration by reading a DOM tree directly
 void addConfig(java.io.InputStream in)
          Add to the current configuration by reading a DOM tree from a IO stream.
 

Method Detail

addConfig

public void addConfig(java.io.InputStream in)
               throws javax.xml.parsers.ParserConfigurationException,
                      java.io.IOException,
                      org.xml.sax.SAXException
Add to the current configuration by reading a DOM tree from a IO stream.

Parameters:
in - The InputStream to parse from
Throws:
javax.xml.parsers.ParserConfigurationException - If there are XML setup problems
java.io.IOException - Error parsing dwr.xml
org.xml.sax.SAXException - Error parsing dwr.xml

addConfig

public void addConfig(org.w3c.dom.Document doc)
Add to the current configuration by reading a DOM tree directly

Parameters:
doc - The DOM tree

Copyright ? 2005