java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
ee.jakarta.tck.pages.spec.core_syntax.scripting.el.BaseCheckTag
ee.jakarta.tck.pages.spec.core_syntax.scripting.el.CheckObjectTag
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable

public class CheckObjectTag extends BaseCheckTag
Tag implementation to perform validation of the implicit objects provided by the JSP 2.0 expression language.
See Also:
  • Field Summary

    Fields inherited from class ee.jakarta.tck.pages.spec.core_syntax.scripting.el.BaseCheckTag

    _control, _name, _object

    Fields inherited from class jakarta.servlet.jsp.tagext.TagSupport

    id, pageContext

    Fields inherited from interface jakarta.servlet.jsp.tagext.IterationTag

    EVAL_BODY_AGAIN

    Fields inherited from interface jakarta.servlet.jsp.tagext.Tag

    EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Validates the following: If the object under test is an instance of PageContext, make sure it's the same PageContext as the control object. All other implicit objects aside from pageContext must be instances of java.util.Map.

    Methods inherited from class ee.jakarta.tck.pages.spec.core_syntax.scripting.el.BaseCheckTag

    displayTestStatus, doStartTag, getMessage, setControl, setDisplay, setName, setObject

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

    doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue

    Methods inherited from class java.lang.Object

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

    • CheckObjectTag

      public CheckObjectTag()
  • Method Details

    • performCheck

      protected void performCheck() throws jakarta.servlet.jsp.JspException
      Validates the following:
      • If the object under test is an instance of PageContext, make sure it's the same PageContext as the control object.
      • All other implicit objects aside from pageContext must be instances of java.util.Map. Validate the keys and values based on the what is contained in the control object provided.
      Specified by:
      performCheck in class BaseCheckTag
      Throws:
      jakarta.servlet.jsp.JspException - - if an error occurs