Log4j 1.3alpha-3

org.apache.log4j.rule
Class RuleFactory

java.lang.Object
  |
  +--org.apache.log4j.rule.RuleFactory

public class RuleFactory
extends java.lang.Object

A Factory class which, given a string representation of the rule, and a context stack, will return a Rule ready for evaluation against events. If an operator is requested that isn't supported, or if a LIKE rule is requested and the ORO package is not available, an IllegalArgumentException is thrown.

Author:
Scott Deboy

Method Summary
static RuleFactory getInstance()
           
 Rule getRule(java.lang.String symbol, java.util.Stack stack)
           
 boolean isRule(java.lang.String symbol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static RuleFactory getInstance()

isRule

public boolean isRule(java.lang.String symbol)

getRule

public Rule getRule(java.lang.String symbol,
                    java.util.Stack stack)

Log4j 1.3alpha-3

Copyright 2000-2003 Apache Software Foundation.