|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Encapsulates XML configuration data. The root element of XML configuration data
has to implement the IConfiguration
interface.
Method Summary | |
IConfiguration |
getConfiguration()
|
void |
setup()
Sets up the configuration by visiting all nodes in the XML configuration data. |
void |
tearDown()
Tears down the configuration by visiting all node in the XML configuration data. |
Methods inherited from interface org.jbind.xml.code.IXmlCode |
getCode, getUrl |
Method Detail |
public IConfiguration getConfiguration() throws XmlException
XmlException
public void setup() throws XmlException
ISetupAndTearDown
interface
then its setup
method is called during a visit.
Descendant nodes are setup before their ancestors.
The getNbSetupAndTearDownLevels
method of the XML configuration data determines how often the data is visited.
The visit is iterated starting at level 0.
XmlException
public void tearDown() throws XmlException
ISetupAndTearDown
interface
then its setup
tear down method is called.
Ancestor nodes are teared down before their descendants.
The getNbSetupAndTearDownLevels
method of the XML configuration data determines how often the data is visited.
The visit is iterated starting at the number of levels - 1.
XmlException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |