public class XmlConfigurator extends java.lang.Object implements ProtocolStackConfigurator
Modifier | Constructor and Description |
---|---|
protected |
XmlConfigurator(java.util.List<ProtocolConfiguration> protocols) |
Modifier and Type | Method and Description |
---|---|
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()
getProtocolStackString
in interface ProtocolStackConfigurator
public java.util.List<ProtocolConfiguration> getProtocolStack()
getProtocolStack
in interface 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)
Copyright © 1998-2020 Red Hat. All Rights Reserved.