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 StringgetMessage()Get the failure messagebooleanhasFailed()Return false if validator conditions have not been metvoidparseEndElement()Parse the ending element.voidparseStartElement()Parse the starting element.voidsetValidatorInfo(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:
setValidatorInfoin interfaceTagParser- Parameters:
validatorInfo- object with current tag info
-
getMessage
Get the failure message
- Specified by:
getMessagein 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:
parseStartElementin 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:
parseEndElementin interfaceTagParser
-