org.oddjob.arooa.xml
Class XMLArooaParser
java.lang.Object
org.oddjob.arooa.xml.XMLArooaParser
- All Implemented Interfaces:
- ArooaParser
public class XMLArooaParser
- extends Object
- implements ArooaParser
An ArooaParser
that parses an ArooaConfiguration
into an XML string.
Once the parse(ArooaConfiguration)
method has been
called the XML is available using the getXml()
method.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLArooaParser
public XMLArooaParser()
parse
public ConfigurationHandle parse(ArooaConfiguration configuration)
throws ArooaParseException
- Description copied from interface:
ArooaParser
- Parse an
ArooaConfiguration
.
- Specified by:
parse
in interface ArooaParser
- Parameters:
configuration
- The configuration.
- Returns:
- A
ConfigurationHandle
.
- Throws:
ArooaParseException
- If parsing fails.
getXml
public String getXml()