|
|||||||||||
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.TypePattern
Implements the regular expression pattern matcher for types.
Field Summary | |
protected String |
m_pattern
The pattern as a string. |
protected com.karneim.util.collection.regex.Pattern |
m_typeNamePattern
The fully qualified type name. |
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 pattern)
Escapes the type pattern. |
String |
getPattern()
Returns the pattern as a string. |
SubtypePatternType |
getSubtypePatternType()
Returns the subtype pattern type |
int |
hashCode()
|
protected static int |
hashCodeOrZeroIfNull(Object o)
|
boolean |
isEagerWildCard()
Checks if the pattern matches all types. |
boolean |
matches(String typeName)
Matches a type 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_typeNamePattern
protected String m_pattern
Method Detail |
public boolean matches(String typeName)
typeName
- the name of the type
public SubtypePatternType getSubtypePatternType()
public boolean isEagerWildCard()
public String getPattern()
protected void escape(String pattern)
pattern
- the method patternpublic int hashCode()
protected static int hashCodeOrZeroIfNull(Object o)
public boolean equals(Object o)
protected static boolean areEqualsOrBothNull(Object o1, Object o2)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |