Package com.sun.faces.taglib.jsf_core
Class CoreTagParserImpl
java.lang.Object
com.sun.faces.taglib.jsf_core.CoreTagParserImpl
- All Implemented Interfaces:
TagParser
public class CoreTagParserImpl extends Object implements TagParser
Parses the command tag attributes and verifies that the required attributes are present
-
Constructor Summary
Constructors Constructor Description CoreTagParserImpl()
CoreTagParserImpl 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 end elementvoid
parseStartElement()
Parse the starting element.void
setValidatorInfo(ValidatorInfo validatorInfo)
Set the validator info object that has the current tag information
-
Constructor Details
-
CoreTagParserImpl
public CoreTagParserImpl()CoreTagParserImpl 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. Parcel out to appropriate handler method.
- Specified by:
parseStartElement
in interfaceTagParser
-
parseEndElement
public void parseEndElement()Parse the end element
- Specified by:
parseEndElement
in interfaceTagParser
-