Package com.sun.faces.taglib
Interface TagParser
- All Known Implementing Classes:
CommandTagParserImpl,CoreTagParserImpl,IdTagParserImpl
public interface TagParser
Interface defining the Validator Tag Parser implementation methods
-
Method Summary
Modifier and Type Method Description StringgetMessage()Return the failure message for a failed validationbooleanhasFailed()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 Bean
-
Method Details
-
getMessage
String getMessage()Return the failure message for a failed validation
- Returns:
- String Failure message
-
hasFailed
boolean hasFailed()Return false if validator conditions have not been met
- Returns:
- boolean false if validation conditions have not been met
-
setValidatorInfo
Set the Validator Info Bean
-
parseStartElement
void parseStartElement()Parse the starting element. Parcel out to appropriate handler method.
-
parseEndElement
void parseEndElement()Parse the ending element. Parcel out to appropriate handler method.
-