org.apache.log4j.joran.action
Class NestComponentIA
java.lang.Object
|
+--org.apache.log4j.spi.ComponentBase
|
+--org.apache.log4j.joran.action.Action
|
+--org.apache.log4j.joran.action.ImplicitAction
|
+--org.apache.log4j.joran.action.NestComponentIA
- All Implemented Interfaces:
- Component
- public class NestComponentIA
- extends ImplicitAction
- Author:
- Ceki Gülcü
Method Summary |
void |
begin(org.apache.log4j.joran.spi.ExecutionContext ec,
String localName,
Attributes attributes)
Called when the parser first encounters an element. |
void |
end(org.apache.log4j.joran.spi.ExecutionContext ec,
String tagName)
|
void |
finish(org.apache.log4j.joran.spi.ExecutionContext ec)
|
boolean |
isApplicable(org.apache.log4j.joran.spi.Pattern pattern,
Attributes attributes,
org.apache.log4j.joran.spi.ExecutionContext ec)
Check whether this implicit action is apprioriate in the current context. |
NestComponentIA
public NestComponentIA()
isApplicable
public boolean isApplicable(org.apache.log4j.joran.spi.Pattern pattern,
Attributes attributes,
org.apache.log4j.joran.spi.ExecutionContext ec)
- Description copied from class:
ImplicitAction
- Check whether this implicit action is apprioriate in the current context.
- Overrides:
isApplicable
in class ImplicitAction
- Following copied from class:
org.apache.log4j.joran.action.ImplicitAction
- Parameters:
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
- - Returns:
- Whether the implicit action is applicable in the current context
begin
public void begin(org.apache.log4j.joran.spi.ExecutionContext ec,
String localName,
Attributes attributes)
- Description copied from class:
Action
- Called when the parser first encounters an element.
The return value indicates whether child elements should be processed. If
the returned value is 'false', then child elements are ignored.
- Overrides:
begin
in class Action
end
public void end(org.apache.log4j.joran.spi.ExecutionContext ec,
String tagName)
- Overrides:
end
in class Action
finish
public void finish(org.apache.log4j.joran.spi.ExecutionContext ec)
Copyright © 2000-2006 Apache Software Foundation.
Licensed under the Apache License, Version 2.0.