The ConfigParser is expected to parse that information into the HashMap described below. @version %I%, %G%
Utility class to parse JavaServer Faces configuration resources, and register JSF artifacts with the mock object hierarchy.
The following artifacts are registered:
Converter
(by-id and by-class)RenderKit
and Renderer
UIComponent
Validator
Note that any declared factory instances are explicitly NOT registered, allowing the mock object hierarchy of the Shale Test Framework to manage these APIs.
USAGE NOTE - If you are using an instance of this class within a subclass of AbstractJsfTestCase
or AbstractJmockJsfTestCase
, be sure you have completed the setUp()
processing in this base class before calling one of the parse()
methods.
Class to parse the contents of an XML configuration file (using Commons Digester) that defines and configures commands and command chains to be registered in a {@link Catalog}. Advanced users can configure the detailed parsing behavior by configuring the properties of an instance of this class prior to calling the parse()
method. It is legal to call the parse()
method more than once, in order to parse more than one configuration document.
Utility class to parse JavaServer Faces configuration resources, and register JSF artifacts with the mock object hierarchy.
The following artifacts are registered:
Converter
(by-id and by-class)RenderKit
and Renderer
UIComponent
Validator
Note that any declared factory instances are explicitly NOT registered, allowing the mock object hierarchy of the Myfaces Test Framework to manage these APIs.
USAGE NOTE - If you are using an instance of this class within a subclass of AbstractJsfTestCase
or AbstractJmockJsfTestCase
, be sure you have completed the setUp()
processing in this base class before calling one of the parse()
methods.
This class also maintains the model of various elements in the configuration file.
This class can be sub-classed to create a {@link ConfigParser} with a custom non-standard behavior. @author Kohsuke Kawaguchi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|