|
Log4j 1.3alpha-3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.joran.action.Action | +--org.apache.joran.action.ImplicitAction
ImplcitActions are like normal (explicit) actions except that are applied
by the parser when no other pattern applies. Since there can be many implcit
actions, each action is asked whether it applies in the given context. The
first impplcit action to respond postively will be applied. See also the
isApplicable(org.apache.joran.Pattern, org.xml.sax.Attributes, org.apache.joran.ExecutionContext)
method.
Field Summary |
Fields inherited from class org.apache.joran.action.Action |
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, VALUE_ATTRIBUTE |
Constructor Summary | |
ImplicitAction()
|
Method Summary | |
abstract boolean |
isApplicable(Pattern currentPattern,
Attributes attributes,
ExecutionContext ec)
Check whether this implicit action is apprioriate in the current context. |
Methods inherited from class org.apache.joran.action.Action |
begin, end, getColumnNumber, getLineNumber, getLogger, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ImplicitAction()
Method Detail |
public abstract boolean isApplicable(Pattern currentPattern, Attributes attributes, ExecutionContext ec)
currentPattern
- This pattern contains the tag name of the current
element being parsed at the top of the stack.attributes
- The attributes of the current element to process.ec
-
|
Log4j 1.3alpha-3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |