Log4j 1.3alpha-7

org.apache.log4j.joran.action
Class PriorityAction

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

public class PriorityAction
extends LevelAction

This action allows us to warn users that the Priority element has been deprecated but is still accepted.

Author:
Ceki Gulcu

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
PriorityAction()
           
 
Method Summary
 void begin(org.apache.log4j.joran.spi.ExecutionContext ec, String name, Attributes attributes)
          Called when the parser first encounters an element.
 
Methods inherited from class org.apache.log4j.joran.action.LevelAction
end, finish
 
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

PriorityAction

public PriorityAction()
Method Detail

begin

public void begin(org.apache.log4j.joran.spi.ExecutionContext ec,
                  String name,
                  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 LevelAction

Log4j 1.3alpha-7

Copyright 2000-2005 Apache Software Foundation.