net.sourceforge.smile.config
Class FacesConfigInterpreter
java.lang.Object
net.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.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
-