public static class SimpleParseContext.SimpleConfigNode extends AbstractConfigurationNode<SimpleParseContext>
AbstractConfigurationNode.ChainingConfigurationHandle<P extends ParseContext<P>,Q extends ParseContext<Q>>| Constructor and Description |
|---|
SimpleConfigNode(ArooaElement element,
SimpleParseContext owner)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addText(String data)
Adds characters from #PCDATA areas to the wrapped element.
|
SimpleParseContext |
getContext()
Get the associated
ArooaContext for this node. |
String |
getText() |
<P extends ParseContext<P>> |
parse(P parseParentContext)
Parse the encapsulated configuration.
|
String |
toString() |
addNodeListener, children, indexOf, insertChild, removeChild, removeNodeListener, setInsertPositionpublic SimpleConfigNode(ArooaElement element, SimpleParseContext owner)
element - public void addText(String data) throws ArooaException
data - Text to add.
Should not be null.ArooaExceptionpublic String getText()
public <P extends ParseContext<P>> ConfigurationHandle<P> parse(P parseParentContext) throws ArooaParseException
ArooaConfigurationP - The type of the context in which parsing occurs.parseParentContext - The context in which this configuration will be
parsed. This context will provide the
ArooaHandler, and therefore
subsequent child contexts.ConfigurationHandle. The handle provides access to the context created
as the result of the parse and a way of saving this context back into the configuration.ArooaParseException - If parsing fails.public SimpleParseContext getContext()
ConfigurationNodeArooaContext for this node.Copyright © 2023. All rights reserved.