|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.digester.Rule
org.apache.tapestry.parse.AbstractSpecificationRule
org.apache.tapestry.parse.ValidateRule
Validates that an attribute matches a specified pattern.
Field Summary |
Fields inherited from class org.apache.commons.digester.Rule |
digester, namespaceURI |
Constructor Summary | |
ValidateRule(RegexpMatcher matcher,
String attributeName,
String pattern,
String errorKey)
|
Method Summary | |
void |
begin(String namespace,
String name,
org.xml.sax.Attributes attributes)
Validates that the attribute, if provided, matches the pattern. |
Methods inherited from class org.apache.tapestry.parse.AbstractSpecificationRule |
getLocation, getResourceLocation, getValue, setProperty |
Methods inherited from class org.apache.commons.digester.Rule |
begin, body, body, end, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ValidateRule(RegexpMatcher matcher, String attributeName, String pattern, String errorKey)
Method Detail |
public void begin(String namespace, String name, org.xml.sax.Attributes attributes) throws Exception
InvalidStringException
- if the value does not match the pattern.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |