Log4j 1.3alpha-8

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ü

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.
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)

Log4j 1.3alpha-8

Copyright © 2000-2006 Apache Software Foundation.
Licensed under the Apache License, Version 2.0.