net.sourceforge.smile.config
Class FacesConfigInterpreter

java.lang.Object
  extended bynet.sourceforge.smile.config.FacesConfigInterpreter

public class FacesConfigInterpreter
extends java.lang.Object

Author:
codehawk This singleton is responsible for parsing and effecting the configuration in a single faces-config.xml file. This class may be called multiple times by the application startup logic.

Method Summary
static FacesConfigInterpreter getInstance()
           
 boolean isValidate()
           
 FacesConfigTag parse(java.util.List sources)
          Parse a list of input sources, and merge their content, to represent a global tree of faces-config.xml elements.
 FacesConfigTag parse(java.io.Reader config)
          Parse the given input source as faces-config.xml
 void setValidate(boolean b)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static FacesConfigInterpreter getInstance()

parse

public FacesConfigTag parse(java.io.Reader config)
Parse the given input source as faces-config.xml

Parameters:
config -
Returns:
The root of the parsed, file.

parse

public FacesConfigTag parse(java.util.List sources)
Parse a list of input sources, and merge their content, to represent a global tree of faces-config.xml elements.

Parameters:
sources -
Returns:
The root of the parsed, and merge files.

isValidate

public boolean isValidate()
Returns:

setValidate

public void setValidate(boolean b)
Parameters:
b -