|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.taglib.util.validators.ADSTagLibraryValidator
public class ADSTagLibraryValidator
Translation-time validator class for a JSP page using the SAS ADS tag library.
A reference to this class must be set in the tld file to be recognized by the servlet container.
For example:
<validator>
<validator-class>com.sas.taglib.util.validators.ADSTagLibraryValidator</validator-class>
</validator>
| Field Summary | |
|---|---|
protected java.util.ArrayList |
messageList
Array list of type ValidationMessage for return of validate method. |
static java.lang.String |
RB_KEY
Static key for referencing the Internationalization Strings for this class |
| Constructor Summary | |
|---|---|
ADSTagLibraryValidator()
Default Constructor. |
|
| Method Summary | |
|---|---|
javax.servlet.jsp.tagext.ValidationMessage[] |
validate(java.lang.String prefix,
java.lang.String uri,
javax.servlet.jsp.tagext.PageData pageData)
Overrides the TagLibraryValidator validate method to validate a JSP page. |
void |
validateNode(java.lang.String prefix,
java.lang.String uri,
org.w3c.dom.Node node)
Validates a single node in the JSP page by calling any custom tag validation classes which implement the ValidationInterface. |
| Field Detail |
|---|
public static final java.lang.String RB_KEY
protected java.util.ArrayList messageList
| Constructor Detail |
|---|
public ADSTagLibraryValidator()
| Method Detail |
|---|
public javax.servlet.jsp.tagext.ValidationMessage[] validate(java.lang.String prefix,
java.lang.String uri,
javax.servlet.jsp.tagext.PageData pageData)
validate in class javax.servlet.jsp.tagext.TagLibraryValidatorprefix - 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.
public void validateNode(java.lang.String prefix,
java.lang.String uri,
org.w3c.dom.Node node)
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.
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||