org.oddjob.arooa.xml
Class XMLConfigurationNode
java.lang.Object
org.oddjob.arooa.parsing.AbstractConfigurationNode
org.oddjob.arooa.xml.XMLConfigurationNode
- All Implemented Interfaces:
- ArooaConfiguration, ConfigurationNode
public class XMLConfigurationNode
- extends AbstractConfigurationNode
XMLConfigurationNode
public XMLConfigurationNode(ArooaElement element)
- Constructor
- Parameters:
element
- prefixMappings
-
addText
public void addText(String data)
throws ArooaException
- Adds characters from #PCDATA areas to the wrapped element.
- Parameters:
data
- Text to add.
Should not be null
.
- Throws:
ArooaException
getText
public String getText()
parse
public ConfigurationHandle parse(ArooaContext parentContext)
throws ArooaParseException
- Description copied from interface:
ArooaConfiguration
- Parse the encapsulated configuration.
- Parameters:
parentContext
- The parent context to use.
- Returns:
- A
ConfigurationHandle
.
- Throws:
ArooaParseException
getContext
public ArooaContext getContext()
- Description copied from interface:
ConfigurationNode
- Get the associated
ArooaContext
for this node.
- Returns:
- The ArooaContext. Never null.
setContext
public void setContext(ArooaContext context)
toString
public String toString()
- Overrides:
toString
in class Object