com.protomatter.syslog.xml
Interface XMLConfigHelper
- All Known Implementing Classes:
- BasicLogger_Helper, SimpleLogPolicy_Helper, SimpleSyslogTextFormatter_Helper
- public interface XMLConfigHelper
An interface for configuration helpers. Objects
implement this interface as a means to allow objects
that don't know about XML to be configured with XML.
Method Summary |
void |
configure(java.lang.Object o,
org.jdom.Element e)
Configure the given object using the given XML information. |
org.jdom.Element |
getConfiguration(java.lang.Object o,
org.jdom.Element e)
Encode the given object's configuration into the
given XML element. |
configure
public void configure(java.lang.Object o,
org.jdom.Element e)
throws SyslogInitException
- Configure the given object using the given XML information.
getConfiguration
public org.jdom.Element getConfiguration(java.lang.Object o,
org.jdom.Element e)
- Encode the given object's configuration into the
given XML element.