Syslog White Paper FAQ Examples JavaDoc Classloader
Protomatter Software v1.1.7

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 Software v1.1.7
Copyright 1998-2002 Nate Sammons

Protomatter Software v1.1.7 http://protomatter.sourceforge.net/1.1.7