com.sun.faces.taglib.jsf_core
public class CoreValidator extends FacesValidator
A TagLibrary Validator class to allow a TLD to mandate that JSF tag must have an id if it is a child or sibling of a JSTL conditional or iteration tag
Modifier and Type | Class and Description |
---|---|
private class |
CoreValidator.CoreValidatorHandler
The handler that provides the base of the TLV implementation.
|
Modifier and Type | Field and Description |
---|---|
private CoreTagParserImpl |
coreTagParser |
private IdTagParserImpl |
idTagParser |
private ValidatorInfo |
validatorInfo |
failed, JSF_CORE_PRE, JSF_FORM_LN, JSF_FORM_QN, JSF_HTML_PRE, JSF_SUBVIEW_LN, JSF_SUBVIEW_QN, JSTL_CHOOSE_LN, JSTL_CHOOSE_QN, JSTL_CORE_PRE, JSTL_FOREACH_LN, JSTL_FOREACH_QN, JSTL_FORTOKENS_LN, JSTL_FORTOKENS_QN, JSTL_IF_LN, JSTL_IF_QN
Constructor and Description |
---|
CoreValidator()
CoreValidator constructor
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getFailureMessage(java.lang.String prefix,
java.lang.String uri)
Create failure message from any failed validations
|
protected org.xml.sax.helpers.DefaultHandler |
getSAXHandler()
Get the validator handler
|
protected void |
init()
Initialize state
|
void |
release()
Release and re-initialize state
|
debugPrintTagData, getJSF_CORE_PRE, getJSF_FORM_LN, getJSF_FORM_QN, getJSF_HTML_PRE, getJSF_SUBVIEW_LN, getJSF_SUBVIEW_QN, getJSTL_CHOOSE_LN, getJSTL_CHOOSE_QN, getJSTL_CORE_PRE, getJSTL_FOREACH_LN, getJSTL_FOREACH_QN, getJSTL_FORTOKENS_LN, getJSTL_FORTOKENS_QN, getJSTL_IF_LN, getJSTL_IF_QN, maybeSnagTLPrefixes, validate
private ValidatorInfo validatorInfo
private IdTagParserImpl idTagParser
private CoreTagParserImpl coreTagParser
protected void init()
Initialize state
init
in class FacesValidator
public void release()
Release and re-initialize state
release
in class FacesValidator
protected org.xml.sax.helpers.DefaultHandler getSAXHandler()
Get the validator handler
getSAXHandler
in class FacesValidator
protected java.lang.String getFailureMessage(java.lang.String prefix, java.lang.String uri)
Create failure message from any failed validations
getFailureMessage
in class FacesValidator
prefix
- Tag library prefixuri
- Tag library uriCopyright © 2002-2010 Oracle America, Inc. All Rights Reserved.