Modifier and Type | Field and Description |
---|---|
private boolean |
failed |
private java.lang.StringBuffer |
failureMessages |
private ValidatorInfo |
validatorInfo |
Constructor and Description |
---|
CoreTagParserImpl()
CoreTagParserImpl constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Get the failure message
|
private void |
handleConverter()
Converter tag must have a "converterId" and/or "binding" attribute.
|
private void |
handleListener()
Listener tags must have a "type" and/or "binding" attribute.
|
private void |
handleValidator()
Validator tag must have a "validatorId" and/or "binding" 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 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 handleListener()
Listener tags must have a "type" and/or "binding" attribute.
PRECONDITION: qn is an actionListener or valueChangeListener
private void handleValidator()
Validator tag must have a "validatorId" and/or "binding" attribute.
PRECONDITION: qn is a validator
private void handleConverter()
Converter tag must have a "converterId" and/or "binding" attribute.
PRECONDITION: qn is a converter
Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.