|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.configuration.HierarchicalConfigurationConverter
org.apache.commons.configuration.BaseConfigurationXMLReader.SAXConverter
An internally used helper class to iterate over all configuration keys ant to generate corresponding SAX events.
| Constructor Summary | |
(package private) |
BaseConfigurationXMLReader.SAXConverter()
|
| Method Summary | |
protected void |
closeElements(ConfigurationKey keyLast,
ConfigurationKey keyAct)
Fires all necessary element end events for the specified keys. |
protected void |
elementEnd(java.lang.String name)
Callback for the end of an element. |
protected void |
elementStart(java.lang.String name,
java.lang.Object value)
Callback for the start of an element. |
protected void |
fireValue(java.lang.String name,
java.lang.Object value)
Fires all necessary element start events with the actual element values. |
protected java.lang.String |
openElements(ConfigurationKey keyLast,
ConfigurationKey keyAct)
Fires all necessary element start events for the specified key. |
void |
process(Configuration config)
Processes the specified configuration object. |
protected java.util.Iterator |
reverseIterator(ConfigurationKey key)
Helper method for determining a reverse iterator for the specified key. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
BaseConfigurationXMLReader.SAXConverter()
| Method Detail |
protected void elementStart(java.lang.String name,
java.lang.Object value)
elementStart in class HierarchicalConfigurationConvertername - the element namevalue - the element valueprotected void elementEnd(java.lang.String name)
elementEnd in class HierarchicalConfigurationConvertername - the element namepublic void process(Configuration config)
elementStart() and
elementEnd() methods.
config - the configuration to be processed
protected void closeElements(ConfigurationKey keyLast,
ConfigurationKey keyAct)
keyLast - the last processed keykeyAct - the actual keyprotected java.util.Iterator reverseIterator(ConfigurationKey key)
key - the key
protected java.lang.String openElements(ConfigurationKey keyLast,
ConfigurationKey keyAct)
keyLast - the last processed keykeyAct - the actual key
protected void fireValue(java.lang.String name,
java.lang.Object value)
name - the name of the actual elementvalue - the element's value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||