Syslog: White Paper FAQ Examples JavaDoc
Protomatter Classes v1.1.6

com.protomatter.syslog.xml
Class XMLConfigUtil

java.lang.Object
  |
  +--com.protomatter.syslog.xml.XMLConfigUtil

public class XMLConfigUtil
extends java.lang.Object

XML configuration utility.


Constructor Summary
XMLConfigUtil()
           
 
Method Summary
static XMLConfigHelper getConfigHelper(java.lang.Object o)
          Get the helper class for the given object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLConfigUtil

public XMLConfigUtil()
Method Detail

getConfigHelper

public static XMLConfigHelper getConfigHelper(java.lang.Object o)
                                       throws java.lang.InstantiationException,
                                              java.lang.ClassNotFoundException,
                                              java.lang.IllegalAccessException
Get the helper class for the given object. A helper class is a class that implements the XMLConfigHelper interface. This method takes the class of the given object and looks for a helper class in an "xml" package under the given object's package. The name of the helper class is the same as the name of the object's class, except it has "_Helper" appended to it.

For example, the helper class name for "com.protomatter.syslog.FileLog" would be "com.protomatter.syslog.xml.FileLog_Helper".


Protomatter Classes v1.1.6
Copyright 1998-2001 Nate Sammons

Protomatter Classes v1.1.6 http://protomatter.sourceforge.net/1.1.6