Log4j 1.3alpha-7

org.apache.log4j.joran.action
Class NestComponentIA

java.lang.Object
  extended byorg.apache.log4j.spi.ComponentBase
      extended byorg.apache.log4j.joran.action.Action
          extended byorg.apache.log4j.joran.action.ImplicitAction
              extended byorg.apache.log4j.joran.action.NestComponentIA
All Implemented Interfaces:
Component

public class NestComponentIA
extends ImplicitAction

Author:
Ceki Gülcü

Field Summary
 
Fields inherited from class org.apache.log4j.joran.action.Action
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, VALUE_ATTRIBUTE
 
Fields inherited from class org.apache.log4j.spi.ComponentBase
repository
 
Constructor Summary
NestComponentIA()
           
 
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.
 
Methods inherited from class org.apache.log4j.joran.action.Action
getColumnNumber, getLineNumber, toString
 
Methods inherited from class org.apache.log4j.spi.ComponentBase
getLogger, getLoggerRepository, getNonFloodingLogger, resetErrorCount, setLoggerRepository
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NestComponentIA

public NestComponentIA()
Method Detail

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.

Specified by:
isApplicable in class ImplicitAction
Parameters:
pattern - 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.

Specified by:
begin in class Action

end

public void end(org.apache.log4j.joran.spi.ExecutionContext ec,
                String tagName)
Specified by:
end in class Action

finish

public void finish(org.apache.log4j.joran.spi.ExecutionContext ec)

Log4j 1.3alpha-7

Copyright 2000-2005 Apache Software Foundation.