Class APIValidator
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
FieldsModifier and TypeFieldDescriptionstatic int
Count to track the number of times the validation method has been called. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the initialization parameters for this TLV.void
setInitParameters
(Map map) Called by the container to set this TLV's initialization parameters.jakarta.servlet.jsp.tagext.ValidationMessage[]
Validates the interaction between the TLV class, and the container.Methods inherited from class jakarta.servlet.jsp.tagext.TagLibraryValidator
release
-
Field Details
-
callCount
public static int callCountCount 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 classjakarta.servlet.jsp.tagext.TagLibraryValidator
- Parameters:
prefix
- - the taglib prefixuri
- - the taglib URIpageData
- - PageData object- Returns:
- - Null or an Empty array of ValidationMessages.
-
getInitParameters
Returns the initialization parameters for this TLV.- Overrides:
getInitParameters
in classjakarta.servlet.jsp.tagext.TagLibraryValidator
- Returns:
- a map containing this TLV's initialziation parameters
-
setInitParameters
Called by the container to set this TLV's initialization parameters.- Overrides:
setInitParameters
in classjakarta.servlet.jsp.tagext.TagLibraryValidator
- Parameters:
map
- - map containing the parameters
-