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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
Copyright 2000-2005 Apache Software Foundation.