public class XMLConfigurationNode extends AbstractConfigurationNode<ArooaContext>
AbstractConfigurationNode.ChainingConfigurationHandle<P extends ParseContext<P>,Q extends ParseContext<Q>>| Constructor and Description |
|---|
XMLConfigurationNode(ArooaElement element)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addText(String data)
Adds characters from #PCDATA areas to the wrapped element.
|
ArooaContext |
getContext()
Get the associated
ArooaContext for this node. |
String |
getText() |
<P extends ParseContext<P>> |
parse(P parseParentContext)
Parse the encapsulated configuration.
|
void |
setContext(ArooaContext context) |
String |
toString() |
addNodeListener, children, indexOf, insertChild, removeChild, removeNodeListener, setInsertPositionpublic XMLConfigurationNode(ArooaElement element)
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 ArooaContext getContext()
ConfigurationNodeArooaContext for this node.public void setContext(ArooaContext context)
Copyright © 2023. All rights reserved.