public interface ClayConfigParser
This interfaces is used by a ConfigBean
instance to load
a configuration file. These files come in two flavors XML and HTML.
The ComponentConfigBean
handles materializing XML documents into a graph of
ComponentBean
and the
TemplateConfigBean
loads an HTML template into ComponentBean
object representations.
Modifier and Type | Method and Description |
---|---|
ConfigBean |
getConfig()
Returns an instance of the
ConfigBean that pools a
collection of faces meta-component definitions. |
void |
loadConfigFile(URL url,
String watchDogName)
|
void |
setConfig(ConfigBean config)
Sets an instance of the
ConfigBean that pools a
collection of faces meta-component definitions. |
void setConfig(ConfigBean config)
Sets an instance of the ConfigBean
that pools a
collection of faces meta-component definitions.
config
- bean poolConfigBean getConfig()
Returns an instance of the ConfigBean
that pools a
collection of faces meta-component definitions.
void loadConfigFile(URL url, String watchDogName) throws IOException, SAXException
Loads the url
identified by the watchDogName
into the ConfigBean
object pool.
url
- file to loadwatchDogName
- dependency watch group for the url fileIOException
- file loadSAXException
- xml parserCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.