|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface ValidationInterface
The interface that must be implemented by a custom tag validation class. During JSP translation, the validate method will be called. Any custom validation required can be put in a validation class to insure proper tag usage within the page.
| Method Summary | |
|---|---|
abstract void |
validate(java.lang.String prefix,
java.lang.String uri,
org.w3c.dom.Node node,
java.util.ArrayList messageList)
This method is called at translation time by the CoreTagLibraryValidator class for each validator class in the tag library that implements ValidationInterface. |
| Method Detail |
|---|
void validate(java.lang.String prefix,
java.lang.String uri,
org.w3c.dom.Node node,
java.util.ArrayList messageList)
prefix - The tag prefix used for this tag in the current page.uri - The uri associated with the tag and prefix.node - The Node object which contains all the xml document information.An - array of ValidationMessages. These are the errors which occured on the current JSP page. Add
other custom errors to the list as needed in validation.
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||