Class IdTagParserImpl

java.lang.Object
com.sun.faces.taglib.jsf_core.IdTagParserImpl
All Implemented Interfaces:
TagParser

public class IdTagParserImpl
extends Object
implements TagParser

Parses tags to verify that an id attribute is present if it is determined to be required

  • Constructor Details

  • Method Details

    • setValidatorInfo

      public void setValidatorInfo​(ValidatorInfo validatorInfo)

      Set the validator info object that has the current tag information

      Specified by:
      setValidatorInfo in interface TagParser
      Parameters:
      validatorInfo - object with current tag info
    • getMessage

      public String getMessage()

      Get the failure message

      Specified by:
      getMessage in interface TagParser
      Returns:
      String Failure message
    • hasFailed

      public boolean hasFailed()

      Return false if validator conditions have not been met

      Specified by:
      hasFailed in interface TagParser
      Returns:
      boolean false if validation conditions have not been met
    • parseStartElement

      public void parseStartElement()

      Parse the starting element. If it is a specific JSTL tag make sure that the nested JSF tags have IDs.

      Specified by:
      parseStartElement in interface TagParser
    • parseEndElement

      public void parseEndElement()

      Parse the ending element. If it is a specific JSTL tag make sure that the appropriate flags are set.

      Specified by:
      parseEndElement in interface TagParser