public class FacesConfigRuleSet
extends org.apache.commons.digester.RuleSetBase
Digester RuleSet
for parsing a JavaServer Faces
configuration file. Varying levels of detail may be requested by
inclusion of the boolean flags passed to our constructor. In all
cases, the basic structural rules will be included.
Constructor and Description |
---|
FacesConfigRuleSet(boolean design,
boolean generate,
boolean runtime)
Construct a new instance that will incorporate rules for the profiles
identified by our parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
addRuleInstances(org.apache.commons.digester.Digester digester)
Add the set of Rule instances defined in this RuleSet to the
specified
Digester instance. |
public FacesConfigRuleSet(boolean design, boolean generate, boolean runtime)
Construct a new instance that will incorporate rules for the profiles identified by our parameters.
design
- Include rules suitable for design time use in a toolgenerate
- Include rules suitable for generating component,
renderer, and tag classesruntime
- Include rules suitable for runtime execution of an
applicationpublic void addRuleInstances(org.apache.commons.digester.Digester digester)
Add the set of Rule instances defined in this RuleSet to the
specified Digester
instance.
addRuleInstances
in interface org.apache.commons.digester.RuleSet
addRuleInstances
in class org.apache.commons.digester.RuleSetBase
digester
- Digester instance for adding RulesCopyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.