org.oddjob.arooa.parsing
Class AbstractConfigurationNode.ChainingConfigurationHandle

java.lang.Object
  extended by org.oddjob.arooa.parsing.AbstractConfigurationNode.ChainingConfigurationHandle
All Implemented Interfaces:
ConfigurationHandle
Enclosing class:
AbstractConfigurationNode

protected static class AbstractConfigurationNode.ChainingConfigurationHandle
extends Object
implements ConfigurationHandle

This ConfigurationHandle survives the replacement of this ConfigurationNode which is what happens in order to save changes.


Constructor Summary
AbstractConfigurationNode.ChainingConfigurationHandle(ArooaContext existingContext, ArooaContext parentContext, int index)
           
 
Method Summary
 ArooaContext getDocumentContext()
          Get the ArooaContext that corresponds to the document element or it's equivalent.
 void save()
          Save the parsed configuration tree back into the underlying configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractConfigurationNode.ChainingConfigurationHandle

public AbstractConfigurationNode.ChainingConfigurationHandle(ArooaContext existingContext,
                                                             ArooaContext parentContext,
                                                             int index)
Method Detail

save

public void save()
          throws ArooaParseException
Description copied from interface: ConfigurationHandle
Save the parsed configuration tree back into the underlying configuration.

Specified by:
save in interface ConfigurationHandle
Throws:
ArooaParseException

getDocumentContext

public ArooaContext getDocumentContext()
Description copied from interface: ConfigurationHandle
Get the ArooaContext that corresponds to the document element or it's equivalent.

Specified by:
getDocumentContext in interface ConfigurationHandle
Returns:
The ArooaContext.