org.logicalcobwebs.proxool.configuration
Class JAXPConfigurator
java.lang.Objectorg.logicalcobwebs.proxool.configuration.JAXPConfigurator
public class JAXPConfigurator
extends java.lang.Object
Configurator that uses JAXP to get a parser for Proxool configuration xml. The parser relies on JAXP version 1.1 or higher
and is namespace aware.
See
XMLConfigurator for the Proxool xml configuration format.
All the
configure methods of this class takes a boolean argument describing whether the
xml should be validated or not. If you want your xml to be validated be sure to read the
Validation chapter in the JavaDoc for
XMLConfigurator.
$Revision: 1.12 $, $Date: 2006/01/18 14:39:58 $- Christian Nedregaard (christian_nedregaard@email.com)
- $Author: billhorsman $ (current maintainer)
static void | configure(InputSource inputSource, boolean validate)- Configure Proxool with xml from the given InputSource.
|
static void | configure(Reader reader, boolean validate)- Configure Proxool with xml from the given reader.
|
static void | configure(String xmlFileName, boolean validate)- Configure Proxool with xml from the given file.
|
configure
public static void configure(InputSource inputSource,
boolean validate)
throws ProxoolException Configure Proxool with xml from the given InputSource.
inputSource - the InputSource to read xml from.validate - true if the parsel shall be validating, and false otherwise.
configure
public static void configure(Reader reader,
boolean validate)
throws ProxoolException Configure Proxool with xml from the given reader.
reader - the reader to read xml from.validate - true if the parsel shall be validating, and false otherwise.
configure
public static void configure(String xmlFileName,
boolean validate)
throws ProxoolException Configure Proxool with xml from the given file.
xmlFileName - the file to read xml from.validate - true if the parsel shall be validating, and false otherwise.