public class XmlConfigurator extends Object implements ProtocolStackConfigurator
| Modifier | Constructor and Description |
|---|---|
protected |
XmlConfigurator(List<ProtocolConfiguration> protocols) |
| Modifier and Type | Method and Description |
|---|---|
static XmlConfigurator |
getInstance(Element el) |
static XmlConfigurator |
getInstance(InputStream stream) |
static XmlConfigurator |
getInstance(InputStream stream,
Boolean validate) |
static XmlConfigurator |
getInstance(URL url) |
static XmlConfigurator |
getInstance(URL url,
Boolean validate) |
List<ProtocolConfiguration> |
getProtocolStack() |
String |
getProtocolStackString() |
String |
getProtocolStackString(boolean convert) |
static void |
main(String[] args) |
protected static XmlConfigurator |
parse(Element root_element) |
protected static XmlConfigurator |
parse(InputStream stream,
Boolean validate) |
static String |
replace(String input,
String expr,
String replacement) |
protected static final Log log
protected XmlConfigurator(List<ProtocolConfiguration> protocols)
public static XmlConfigurator getInstance(URL url) throws IOException
IOExceptionpublic static XmlConfigurator getInstance(InputStream stream) throws IOException
IOExceptionpublic static XmlConfigurator getInstance(Element el) throws IOException
IOExceptionpublic static XmlConfigurator getInstance(URL url, Boolean validate) throws IOException
IOExceptionpublic static XmlConfigurator getInstance(InputStream stream, Boolean validate) throws IOException
IOExceptionpublic String getProtocolStackString(boolean convert)
convert - If false: print old plain output, else print new XML formatpublic String getProtocolStackString()
getProtocolStackString in interface ProtocolStackConfiguratorpublic List<ProtocolConfiguration> getProtocolStack()
getProtocolStack in interface ProtocolStackConfiguratorprotected static XmlConfigurator parse(InputStream stream, Boolean validate) throws IOException
IOExceptionprotected static XmlConfigurator parse(Element root_element) throws IOException
IOExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.