|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.logicalcobwebs.proxool.configuration.JAXPConfigurator
public class JAXPConfigurator
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.
| 构造方法摘要 | |
|---|---|
JAXPConfigurator()
|
|
| 方法摘要 | |
|---|---|
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. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public JAXPConfigurator()
| 方法详细信息 |
|---|
public static void configure(String xmlFileName,
boolean validate)
throws ProxoolException
xmlFileName - the file to read xml from.validate - true if the parsel shall be validating, and false otherwise.
ProxoolException - if the configuration fails.
public static void configure(InputSource inputSource,
boolean validate)
throws ProxoolException
inputSource - the InputSource to read xml from.validate - true if the parsel shall be validating, and false otherwise.
ProxoolException - if the configuration fails.
public static void configure(Reader reader,
boolean validate)
throws ProxoolException
reader - the reader to read xml from.validate - true if the parsel shall be validating, and false otherwise.
ProxoolException - if the configuration fails.
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||