XMLConfigurator State
class XMLConfiguratorState<ConfigurationType : Configuration, ElementType : Enum<ElementType>, XMLElement<ConfigurationType, ElementType, StateType>, StateType : XMLConfiguratorState<ConfigurationType, ElementType, StateType>>(configuration: ConfigurationType)
Content copied to clipboard
An XMLConfiguratorState encapsulates the state of an XMLConfigurator.
Author
Todd L Smith
Parameters
Configuration Type
A concrete Configuration class.
Element Type
A concrete XMLElement class.
State Type
A concrete XMLConfiguratorState class.
configuration
The initial configuration.
Constructors
Link copied to clipboard
fun <ConfigurationType : Configuration> XMLConfiguratorState(configuration: ConfigurationType)
Content copied to clipboard
Construct a new State.
Functions
Link copied to clipboard
If the text accumulator is active, then append the specified range of the buffer onto the text accumulator; otherwise, do nothing.
Link copied to clipboard
Answer the configuration manipulated by this state.
Link copied to clipboard
Answer the top of the parse stack (without consuming it).
Link copied to clipboard
Answer the top of the parse stack (and consume it).
Link copied to clipboard
Push the specified element onto the parse stack.
Link copied to clipboard
Activate the text accumulator.
Link copied to clipboard
Deactivate the text accumulator.