com.sas.taglib.util.validators
Interface ValidationInterface


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
 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

validate

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.

Parameters:
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.



Copyright © 2009 SAS Institute Inc. All Rights Reserved.