Parses the command tag attributes and verifies that the required attributes are present
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private StringBuffer | |
| private ValidatorInfo |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: String Failure messageImplements com. Get the failure message |
| private void | |
| public boolean | Returns: boolean false if validation conditions have not been metImplements com. Return false if validator conditions have not been met |
| public void | |
| public void | parseStartElement()
Implements com. Parse the starting element. |
| public void | setValidatorInfo(ValidatorInfo
object with current tag info validatorInfo)Implements com. Set the validator info object that has the current tag information |
| failed | back to summary |
|---|---|
| private boolean failed | |
| failureMessages | back to summary |
|---|---|
| private StringBuffer failureMessages | |
| validatorInfo | back to summary |
|---|---|
| private ValidatorInfo validatorInfo | |
| CommandTagParserImpl | back to summary |
|---|---|
| public CommandTagParserImpl() CommandTagParserImpl constructor | |
| getMessage | back to summary |
|---|---|
| public String getMessage() Implements com. Get the failure message | |
| handleCommandButton | back to summary |
|---|---|
| private void handleCommandButton() set failed flag to true unless tag has a value attribute .
PRECONDITION: qn is a commandButton | |
| hasFailed | back to summary |
|---|---|
| public boolean hasFailed() Implements com. Return false if validator conditions have not been met
| |
| parseEndElement | back to summary |
|---|---|
| public void parseEndElement() Implements com. Parse the end element
| |
| parseStartElement | back to summary |
|---|---|
| public void parseStartElement() Implements com. Parse the starting element. Parcel out to appropriate handler method.
| |
| setValidatorInfo | back to summary |
|---|---|
| public void setValidatorInfo(ValidatorInfo validatorInfo) Implements com. Set the validator info object that has the current tag information
| |