Package com.sun.faces.taglib.jsf_core
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 Summary
Constructors Constructor Description IdTagParserImpl()
CommandTagParser constructor -
Method Summary
Modifier and Type Method Description String
getMessage()
Get the failure messageboolean
hasFailed()
Return false if validator conditions have not been metvoid
parseEndElement()
Parse the ending element.void
parseStartElement()
Parse the starting element.void
setValidatorInfo(ValidatorInfo validatorInfo)
Set the validator info object that has the current tag information
-
Constructor Details
-
IdTagParserImpl
public IdTagParserImpl()CommandTagParser constructor
-
-
Method Details
-
setValidatorInfo
Set the validator info object that has the current tag information
- Specified by:
setValidatorInfo
in interfaceTagParser
- Parameters:
validatorInfo
- object with current tag info
-
getMessage
Get the failure message
- Specified by:
getMessage
in interfaceTagParser
- Returns:
- String Failure message
-
hasFailed
public boolean hasFailed()Return false if validator 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 interfaceTagParser
-
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 interfaceTagParser
-