public class XmlConfigurator extends java.lang.Object implements ProtocolStackConfigurator
限定符 | 构造器和说明 |
---|---|
protected |
XmlConfigurator(java.util.List<ProtocolConfiguration> protocols) |
限定符和类型 | 方法和说明 |
---|---|
static XmlConfigurator |
getInstance(org.w3c.dom.Element el) |
static XmlConfigurator |
getInstance(java.io.InputStream stream) |
static XmlConfigurator |
getInstance(java.io.InputStream stream,
java.lang.Boolean validate) |
static XmlConfigurator |
getInstance(java.net.URL url) |
static XmlConfigurator |
getInstance(java.net.URL url,
java.lang.Boolean validate) |
java.util.List<ProtocolConfiguration> |
getProtocolStack() |
java.lang.String |
getProtocolStackString() |
java.lang.String |
getProtocolStackString(boolean convert) |
static void |
main(java.lang.String[] args) |
protected static XmlConfigurator |
parse(org.w3c.dom.Element root_element) |
protected static XmlConfigurator |
parse(java.io.InputStream stream,
java.lang.Boolean validate) |
static java.util.List<ProtocolConfiguration> |
parseProtocols(org.w3c.dom.Element root_element) |
static java.lang.String |
replace(java.lang.String input,
java.lang.String expr,
java.lang.String replacement) |
protected static final Log log
protected XmlConfigurator(java.util.List<ProtocolConfiguration> protocols)
public static XmlConfigurator getInstance(java.net.URL url) throws java.io.IOException
java.io.IOException
public static XmlConfigurator getInstance(java.io.InputStream stream) throws java.io.IOException
java.io.IOException
public static XmlConfigurator getInstance(org.w3c.dom.Element el) throws java.lang.Exception
java.lang.Exception
public static XmlConfigurator getInstance(java.net.URL url, java.lang.Boolean validate) throws java.io.IOException
java.io.IOException
public static XmlConfigurator getInstance(java.io.InputStream stream, java.lang.Boolean validate) throws java.io.IOException
java.io.IOException
public java.lang.String getProtocolStackString(boolean convert)
convert
- If false: print old plain output, else print new XML formatpublic java.lang.String getProtocolStackString()
public java.util.List<ProtocolConfiguration> getProtocolStack()
getProtocolStack
在接口中 ProtocolStackConfigurator
protected static XmlConfigurator parse(java.io.InputStream stream, java.lang.Boolean validate) throws java.io.IOException
java.io.IOException
protected static XmlConfigurator parse(org.w3c.dom.Element root_element) throws java.lang.Exception
java.lang.Exception
public static java.util.List<ProtocolConfiguration> parseProtocols(org.w3c.dom.Element root_element) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static java.lang.String replace(java.lang.String input, java.lang.String expr, java.lang.String replacement)