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
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 String |
getFailureMessage(String prefix,
String uri)
Create failure message from any failed validations
|
protected 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
protected void init()
Initialize state
init
in class FacesValidator
public void release()
Release and re-initialize state
release
in class FacesValidator
protected DefaultHandler getSAXHandler()
Get the validator handler
getSAXHandler
in class FacesValidator
protected String getFailureMessage(String prefix, String uri)
Create failure message from any failed validations
getFailureMessage
in class FacesValidator
prefix
- Tag library prefixuri
- Tag library uriComments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.