XMLConfigurator State
An XMLConfiguratorState encapsulates the state of an XMLConfigurator.
Author
Todd L Smith
Parameters
A concrete Configuration class.
A concrete XMLElement class.
A concrete XMLConfiguratorState class.
The initial configuration.
Constructors
Construct a new State.
Properties
The current contents of the text accumulator. This may contain leading or trailing whitespace.
Answer the parent element of the current element.
Functions
If the text accumulator is active, then append the specified range of the buffer onto the text accumulator; otherwise, do nothing.
Answer the configuration manipulated by this state.
Answer the top of the parse stack (without consuming it).
Answer the top of the parse stack (and consume it).
Push the specified element onto the parse stack.
Activate the text accumulator.
Deactivate the text accumulator.