jestr.core
Class DefaultStandardPredicate
java.lang.Object
jestr.core.PredicateBase
jestr.core.DefaultStandardPredicate
- All Implemented Interfaces:
- java.lang.Cloneable, JestrPredicate, java.io.Serializable, StandardPredicate
- public class DefaultStandardPredicate
- extends PredicateBase
- implements StandardPredicate
- Author:
- David Gilliland
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DefaultStandardPredicate
public DefaultStandardPredicate()
getIsRoot
public java.lang.Boolean getIsRoot()
- Specified by:
getIsRoot in interface StandardPredicate
setIsRoot
public void setIsRoot(java.lang.Boolean b)
- Specified by:
setIsRoot in interface StandardPredicate
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface StandardPredicate
setParentName
public void setParentName(java.lang.String parentName)
- Specified by:
setParentName in interface StandardPredicate
setIgnoreCase
public void setIgnoreCase(boolean ic)
- Specified by:
setIgnoreCase in interface StandardPredicate
getName
public java.lang.String getName()
- Specified by:
getName in interface StandardPredicate
getParentName
public java.lang.String getParentName()
- Specified by:
getParentName in interface StandardPredicate
getIgnoreCase
public boolean getIgnoreCase()
- Specified by:
getIgnoreCase in interface StandardPredicate
getNameIncludeRegexes
public java.util.List getNameIncludeRegexes()
- Specified by:
getNameIncludeRegexes in interface StandardPredicate
clearNameIncludeRegexes
public void clearNameIncludeRegexes()
- Specified by:
clearNameIncludeRegexes in interface StandardPredicate
addNameIncludeRegex
public void addNameIncludeRegex(java.lang.String re)
throws org.apache.oro.text.regex.MalformedPatternException
- Specified by:
addNameIncludeRegex in interface StandardPredicate
- Throws:
org.apache.oro.text.regex.MalformedPatternException
getNameExcludeRegexes
public java.util.List getNameExcludeRegexes()
- Specified by:
getNameExcludeRegexes in interface StandardPredicate
clearNameExcludeRegexes
public void clearNameExcludeRegexes()
- Specified by:
clearNameExcludeRegexes in interface StandardPredicate
addNameExcludeRegex
public void addNameExcludeRegex(java.lang.String re)
throws org.apache.oro.text.regex.MalformedPatternException
- Specified by:
addNameExcludeRegex in interface StandardPredicate
- Throws:
org.apache.oro.text.regex.MalformedPatternException
addClass
public void addClass(java.lang.Class c)
- Specified by:
addClass in interface StandardPredicate
removeClass
public void removeClass(java.lang.Class c)
- Specified by:
removeClass in interface StandardPredicate
addParentClass
public void addParentClass(java.lang.Class c)
- Specified by:
addParentClass in interface StandardPredicate
removeParentClass
public void removeParentClass(java.lang.Class c)
- Specified by:
removeParentClass in interface StandardPredicate
addVariableClass
public void addVariableClass(java.lang.Class c)
- Specified by:
addVariableClass in interface StandardPredicate
removeVariableClass
public void removeVariableClass(java.lang.Class c)
- Specified by:
removeVariableClass in interface StandardPredicate
testVariableClasses
protected java.lang.Boolean testVariableClasses()
testParentClasses
protected java.lang.Boolean testParentClasses()
testClasses
protected java.lang.Boolean testClasses()
isAny
protected java.lang.Boolean isAny(java.lang.Object o,
java.util.List classes)
isAny
protected java.lang.Boolean isAny(java.lang.Class c,
java.util.List classes)
testName
protected java.lang.Boolean testName()
testNameIncludeRegexes
protected java.lang.Boolean testNameIncludeRegexes()
testNameExcludeRegexes
protected java.lang.Boolean testNameExcludeRegexes()
testIsRoot
protected java.lang.Boolean testIsRoot()
testParentName
protected java.lang.Boolean testParentName()
toString
public java.lang.String toString()
doTestName
protected java.lang.Boolean doTestName(java.lang.String nameToTest,
java.util.List regexes,
Stringifier stringifier)
test
public boolean test()
- Specified by:
test in interface JestrPredicate
getCategoryPattern
public java.lang.String getCategoryPattern()
- Specified by:
getCategoryPattern in interface StandardPredicate
setCategoryPattern
public void setCategoryPattern(java.lang.String s)
- Specified by:
setCategoryPattern in interface StandardPredicate
testCategory
protected java.lang.Boolean testCategory()
clone
public java.lang.Object clone()
- Specified by:
clone in interface StandardPredicate- Overrides:
clone in class PredicateBase
Copyright (c) 2001-2003 - Apache Software Foundation