Class Expression
java.lang.Object
org.jboss.resteasy.core.registry.Expression
- All Implemented Interfaces:
Comparable<Expression>
- Direct Known Subclasses:
ClassExpression
,MethodExpression
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(Expression expression) int
getRegex()
protected static int
groupCount
(String regex) Find the number of groups in the regular expression don't count escaped '('.boolean
isStatic()
-
Field Details
-
GROUP
-
pathExpression
-
regex
-
pattern
-
groups
-
literalCharacters
protected int literalCharacters -
numCapturingGroups
protected int numCapturingGroups -
numNonDefaultGroups
protected int numNonDefaultGroups
-
-
Constructor Details
-
Expression
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Expression>
-
groupCount
Find the number of groups in the regular expression don't count escaped '('.- Parameters:
regex
- regular expression- Returns:
- number of groups
-
isStatic
public boolean isStatic() -
getNumGroups
public int getNumGroups() -
getRegex
-
getPathExpression
-
getPattern
-