org.oddjob.arooa.xml
Class XMLArooaParser

java.lang.Object
  extended by 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

Constructor Summary
XMLArooaParser()
           
 
Method Summary
 String getXml()
           
 ConfigurationHandle parse(ArooaConfiguration configuration)
          Parse an ArooaConfiguration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLArooaParser

public XMLArooaParser()
Method Detail

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()