com.sun.faces.taglib.html_basic
Modifier and Type | Field and Description |
---|---|
private boolean |
failed |
private java.lang.StringBuffer |
failureMessages |
private ValidatorInfo |
validatorInfo |
Constructor and Description |
---|
CommandTagParserImpl()
CommandTagParserImpl constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Get the failure message
|
private void |
handleCommandButton()
set failed flag to true unless tag has a value attribute
|
boolean |
hasFailed()
Return false if validator conditions have not been met
|
void |
parseEndElement()
Parse the end element
|
void |
parseStartElement()
Parse the starting element.
|
void |
setValidatorInfo(ValidatorInfo validatorInfo)
Set the validator info object that has the current tag
information
|
private java.lang.StringBuffer failureMessages
private boolean failed
private ValidatorInfo validatorInfo
public CommandTagParserImpl()
CommandTagParserImpl constructor
public void setValidatorInfo(ValidatorInfo validatorInfo)
Set the validator info object that has the current tag information
setValidatorInfo
in interface TagParser
validatorInfo
- object with current tag infopublic java.lang.String getMessage()
Get the failure message
getMessage
in interface TagParser
public boolean hasFailed()
Return false if validator conditions have not been met
public void parseStartElement()
Parse the starting element. Parcel out to appropriate handler method.
parseStartElement
in interface TagParser
public void parseEndElement()
Parse the end element
parseEndElement
in interface TagParser
private void handleCommandButton()
set failed flag to true unless tag has a value attribute
.PRECONDITION: qn is a commandButton
Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.