com.sun.faces.config.rules
Class FacesConfigRuleSet

java.lang.Object
  extended by org.apache.commons.digester.RuleSetBase
      extended by com.sun.faces.config.rules.FacesConfigRuleSet
All Implemented Interfaces:
org.apache.commons.digester.RuleSet

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.


Field Summary
 
Fields inherited from class org.apache.commons.digester.RuleSetBase
namespaceURI
 
Constructor Summary
FacesConfigRuleSet(boolean design, boolean generate, boolean runtime)
          Construct a new instance that will incorporate rules for the profiles identified by our parameters.
 
Method Summary
 void addRuleInstances(org.apache.commons.digester.Digester digester)
          Add the set of Rule instances defined in this RuleSet to the specified Digester instance.
 
Methods inherited from class org.apache.commons.digester.RuleSetBase
getNamespaceURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesConfigRuleSet

public FacesConfigRuleSet(boolean design,
                          boolean generate,
                          boolean runtime)

Construct a new instance that will incorporate rules for the profiles identified by our parameters.

Parameters:
design - Include rules suitable for design time use in a tool
generate - Include rules suitable for generating component, renderer, and tag classes
runtime - Include rules suitable for runtime execution of an application
Method Detail

addRuleInstances

public void addRuleInstances(org.apache.commons.digester.Digester digester)

Add the set of Rule instances defined in this RuleSet to the specified Digester instance.

Specified by:
addRuleInstances in interface org.apache.commons.digester.RuleSet
Specified by:
addRuleInstances in class org.apache.commons.digester.RuleSetBase
Parameters:
digester - Digester instance for adding Rules


Copyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.