|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.clapper.curn.ConfiguredOutputHandler
public class ConfiguredOutputHandler
Contains parsed configuration information for an output handler, including the class name and output handler name (which is really the section name).
CurnConfig,
Curn| Constructor Summary | |
|---|---|
ConfiguredOutputHandler(java.lang.String name,
java.lang.String sectionName,
java.lang.String className)
Construct a new ConfiguredOutputHandler object. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
Compares this object with the specified object for order. |
void |
disable()
Mark this handler disabled, usually in response to a plug-in action. |
java.lang.String |
getClassName()
Get the class name associated with this output handler |
java.util.Map |
getExtraVariables()
Get the extra variables defined with this output handler. |
java.lang.String |
getName()
Get the unique name for this handler |
OutputHandler |
getOutputHandler()
Get the actual OutputHandler object, instantiating it if it hasn't already been instantiated. |
java.lang.String |
getSectionName()
Get the configuration file section name where this output handler was defined |
boolean |
isDisabled()
Determine whether this handler is disabled. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfiguredOutputHandler(java.lang.String name,
java.lang.String sectionName,
java.lang.String className)
name - a unique name for the handlersectionName - the name of the configuration file section
where the output handler was defined, or null
if the handler has no corresponding sectionclassName - the output handler's class name| Method Detail |
|---|
public java.lang.String getClassName()
public java.lang.String getSectionName()
public java.lang.String getName()
public void disable()
isDisabled()public boolean isDisabled()
disable()
public OutputHandler getOutputHandler()
throws CurnException
CurnException - on errorpublic java.util.Map getExtraVariables()
public int compareTo(java.lang.Object o)
throws java.lang.ClassCastException
compareTo in interface java.lang.Comparableo - the object to compare
java.lang.ClassCastException - if the specified object's type prevents
it from being compared to this Object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||