ATTR_INHERIT
public static final String ATTR_INHERIT
ATTR_NAME
public static final String ATTR_NAME
ATTR_VALUE
public static final String ATTR_VALUE
ELMT_CLASS
public static final String ELMT_CLASS
ELMT_DESCRIPTION
public static final String ELMT_DESCRIPTION
ELMT_PROT
public static final String ELMT_PROT
ELMT_PROT_NAME
public static final String ELMT_PROT_NAME
ELMT_PROT_OVERRIDE
public static final String ELMT_PROT_OVERRIDE
ELMT_PROT_PARAMS
public static final String ELMT_PROT_PARAMS
log
protected static final Log log
getInstance
public static XmlConfigurator getInstance(Element el)
throws java.io.IOException
getInstance
public static XmlConfigurator getInstance(InputStream stream)
throws java.io.IOException
getInstance
public static XmlConfigurator getInstance(URL url)
throws java.io.IOException
getInstanceOldFormat
public static XmlConfigurator getInstanceOldFormat(InputStream stream)
throws java.io.IOException
getInstanceOldFormat
public static XmlConfigurator getInstanceOldFormat(URL url)
throws java.io.IOException
getName
public String getName()
getProtocolStackString
public String getProtocolStackString(boolean convert)
convert
- If false: print old plain output, else print new XML format
- String with protocol stack in specified format
main
public static void main(String[] args)
throws Exception
override
public void override(ProtocolData data)
throws IOException
parse
protected static XmlConfigurator parse(Element root_element)
throws java.io.IOException
parse
protected static XmlConfigurator parse(InputStream stream)
throws java.io.IOException
parseOldFormat
protected static XmlConfigurator parseOldFormat(InputStream stream)
throws java.io.IOException
parseProtocolData
protected static ProtocolData parseProtocolData(Node protocol)
throws java.io.IOException
parseProtocolParameters
protected static ProtocolParameter[] parseProtocolParameters(Element protparams)
throws IOException
replace
public static String replace(String input,
String expr,
String replacement)