ch.qos.logback.core.joran.action
Class AbstractEventEvaluatorAction

java.lang.Object
  extended by ch.qos.logback.core.spi.ContextAwareBase
      extended by ch.qos.logback.core.joran.action.Action
          extended by ch.qos.logback.core.joran.action.AbstractEventEvaluatorAction
All Implemented Interfaces:
ContextAware
Direct Known Subclasses:
EvaluatorAction

public abstract class AbstractEventEvaluatorAction
extends Action


Field Summary
 
Fields inherited from class ch.qos.logback.core.joran.action.Action
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, KEY_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, VALUE_ATTRIBUTE
 
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
 
Constructor Summary
AbstractEventEvaluatorAction()
           
 
Method Summary
 void begin(InterpretationContext ec, java.lang.String name, org.xml.sax.Attributes attributes)
          Instantiates an evaluator of the given class and sets its name.
protected abstract  java.lang.String defaultClassName()
          Returns a default class name in case the class attribute is not specified
 void end(InterpretationContext ec, java.lang.String e)
          Once the children elements are also parsed, now is the time to activate the evaluator options.
 void finish(InterpretationContext ec)
           
 
Methods inherited from class ch.qos.logback.core.joran.action.Action
body, getColumnNumber, getLineColStr, getLineNumber, toString
 
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractEventEvaluatorAction

public AbstractEventEvaluatorAction()
Method Detail

begin

public void begin(InterpretationContext ec,
                  java.lang.String name,
                  org.xml.sax.Attributes attributes)
Instantiates an evaluator of the given class and sets its name.

Specified by:
begin in class Action

defaultClassName

protected abstract java.lang.String defaultClassName()
Returns a default class name in case the class attribute is not specified

Returns:

end

public void end(InterpretationContext ec,
                java.lang.String e)
Once the children elements are also parsed, now is the time to activate the evaluator options.

Specified by:
end in class Action

finish

public void finish(InterpretationContext ec)