com.sun.faces.config.processor
public class ValidatorConfigProcessor extends AbstractConfigProcessor
This ConfigProcessor
handles all elements defined under
/faces-config/valiator
.
Modifier and Type | Field and Description |
---|---|
private static java.util.logging.Logger |
LOGGER |
private static java.lang.String |
VALIDATOR
/faces-config/validator
|
private static java.lang.String |
VALIDATOR_CLASS
/faces-config/component/validator-class
|
private static java.lang.String |
VALIDATOR_ID
/faces-config/component/validator-id
|
Constructor and Description |
---|
ValidatorConfigProcessor() |
Modifier and Type | Method and Description |
---|---|
private void |
addValidators(org.w3c.dom.NodeList validators,
java.lang.String namespace) |
void |
process(javax.servlet.ServletContext sc,
DocumentInfo[] documentInfos)
Process the array of
Document s. |
private void |
processDefaultValidatorIds() |
createInstance, createInstance, findRootType, getApplication, getNodeText, getTextMap, invokeNext, loadClass, processAnnotations, setNext
private static final java.util.logging.Logger LOGGER
private static final java.lang.String VALIDATOR
/faces-config/validator
private static final java.lang.String VALIDATOR_ID
/faces-config/component/validator-id
private static final java.lang.String VALIDATOR_CLASS
/faces-config/component/validator-class
public void process(javax.servlet.ServletContext sc, DocumentInfo[] documentInfos) throws java.lang.Exception
ConfigProcessor
Process the array of Document
s.
sc
- the ServletContext
for the application being configureddocumentInfos
- @throws Exception if an error occurs during processingjava.lang.Exception
ConfigProcessor.process(javax.servlet.ServletContext,com.sun.faces.config.DocumentInfo[])
private void processDefaultValidatorIds()
private void addValidators(org.w3c.dom.NodeList validators, java.lang.String namespace) throws javax.xml.xpath.XPathExpressionException
javax.xml.xpath.XPathExpressionException
Copyright © 2002-2010 Oracle America, Inc. All Rights Reserved.