java.lang.Object
jakarta.servlet.jsp.tagext.TagLibraryValidator
ee.jakarta.tck.pages.api.jakarta_servlet.jsp.tagext.taglibraryvalidator.APIValidator

public class APIValidator extends jakarta.servlet.jsp.tagext.TagLibraryValidator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static int
    Count to track the number of times the validation method has been called.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the initialization parameters for this TLV.
    void
    Called by the container to set this TLV's initialization parameters.
    jakarta.servlet.jsp.tagext.ValidationMessage[]
    validate(String prefix, String uri, jakarta.servlet.jsp.tagext.PageData pageData)
    Validates the interaction between the TLV class, and the container.

    Methods inherited from class jakarta.servlet.jsp.tagext.TagLibraryValidator

    release

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • callCount

      public static int callCount
      Count to track the number of times the validation method has been called.
  • Constructor Details

    • APIValidator

      public APIValidator()
      Default constructor
  • Method Details

    • validate

      public jakarta.servlet.jsp.tagext.ValidationMessage[] validate(String prefix, String uri, jakarta.servlet.jsp.tagext.PageData pageData)
      Validates the interaction between the TLV class, and the container.
      Overrides:
      validate in class jakarta.servlet.jsp.tagext.TagLibraryValidator
      Parameters:
      prefix - - the taglib prefix
      uri - - the taglib URI
      pageData - - PageData object
      Returns:
      - Null or an Empty array of ValidationMessages.
    • getInitParameters

      public Map getInitParameters()
      Returns the initialization parameters for this TLV.
      Overrides:
      getInitParameters in class jakarta.servlet.jsp.tagext.TagLibraryValidator
      Returns:
      a map containing this TLV's initialziation parameters
    • setInitParameters

      public void setInitParameters(Map map)
      Called by the container to set this TLV's initialization parameters.
      Overrides:
      setInitParameters in class jakarta.servlet.jsp.tagext.TagLibraryValidator
      Parameters:
      map - - map containing the parameters