chapters.onJoran.calculator
Class LiteralAction
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.joran.action.Action
chapters.onJoran.calculator.LiteralAction
- All Implemented Interfaces:
- ContextAware
public class LiteralAction
- extends Action
This action converts the value attribute of the associated element to an
integer and pushes the resulting Integer object on top of the execution
context stack.
It also illustrates usage of Joran's error reporting/handling paradigm.
- Author:
- Ceki Gülcü
| Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext |
VALUE_ATR
public static String VALUE_ATR
LiteralAction
public LiteralAction()
begin
public void begin(InterpretationContext ic,
String name,
Attributes attributes)
- Specified by:
begin in class Action
end
public void end(InterpretationContext ic,
String name)
- Specified by:
end in class Action
Copyright © 2005-2010 QOS.ch. All Rights Reserved.