public class XMLConfigurationNode extends AbstractConfigurationNode
AbstractConfigurationNode.ChainingConfigurationHandle
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() |
ConfigurationHandle |
parse(ArooaContext parentContext)
Parse the encapsulated configuration.
|
void |
setContext(ArooaContext context) |
String |
toString() |
addNodeListener, children, indexOf, insertChild, removeChild, removeNodeListener, setInsertPosition
public XMLConfigurationNode(ArooaElement element)
element
- prefixMappings
- public void addText(String data) throws ArooaException
data
- Text to add.
Should not be null
.ArooaException
public String getText()
public ConfigurationHandle parse(ArooaContext parentContext) throws ArooaParseException
ArooaConfiguration
parentContext
- The parent context to use.ConfigurationHandle
.ArooaParseException
public ArooaContext getContext()
ConfigurationNode
ArooaContext
for this node.public void setContext(ArooaContext context)