|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.james.jspf.impl.DefaultTermDefinition
public class DefaultTermDefinition
Default implementation for the TermDefinition. This implementation try to retrieve the definition looking up a static REGEX field in the term class.
Constructor Summary | |
---|---|
DefaultTermDefinition(Class<?> tClass)
|
Method Summary | |
---|---|
int |
getMatchSize()
Return the number of groups to be expected from the pattern of this Term. |
Pattern |
getPattern()
Retrieve the pattern to be used to match a string against this record type. |
Class<?> |
getTermDef()
The class implementing this Term type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultTermDefinition(Class<?> tClass) throws IllegalArgumentException, SecurityException, IllegalAccessException, NoSuchFieldException
IllegalArgumentException
SecurityException
IllegalAccessException
NoSuchFieldException
Method Detail |
---|
public Pattern getPattern()
TermDefinition
getPattern
in interface TermDefinition
TermDefinition.getPattern()
public Class<?> getTermDef()
TermDefinition
getTermDef
in interface TermDefinition
TermDefinition.getTermDef()
public int getMatchSize()
TermDefinition
getMatchSize
in interface TermDefinition
TermDefinition.getMatchSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |