|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.expression.regexp.Pattern
org.codehaus.aspectwerkz.expression.regexp.NamePattern
public class NamePattern
Implements the regular expression pattern matcher for names.
Field Summary | |
---|---|
protected com.karneim.util.collection.regex.Pattern |
m_namePattern
The name pattern. |
protected String |
m_pattern
The name pattern as a string. |
Fields inherited from class org.codehaus.aspectwerkz.expression.regexp.Pattern |
---|
ABBREVIATIONS, EAGER_WILDCARD, REGULAR_WILDCARD |
Method Summary | |
---|---|
protected static boolean |
areEqualsOrBothNull(Object o1,
Object o2)
|
boolean |
equals(Object o)
|
protected void |
escape(String namePattern)
Escapes the name pattern. |
String |
getPattern()
Returns the pattern as a string. |
int |
hashCode()
|
protected static int |
hashCodeOrZeroIfNull(Object o)
|
boolean |
matches(String name)
Matches a name. |
Methods inherited from class org.codehaus.aspectwerkz.expression.regexp.Pattern |
---|
compileNamePattern, compileTypePattern |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient com.karneim.util.collection.regex.Pattern m_namePattern
protected String m_pattern
Method Detail |
---|
public boolean matches(String name)
name
- the name
public String getPattern()
protected void escape(String namePattern)
namePattern
- the name patternpublic int hashCode()
hashCode
in class Object
protected static int hashCodeOrZeroIfNull(Object o)
public boolean equals(Object o)
equals
in class Object
protected static boolean areEqualsOrBothNull(Object o1, Object o2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |