public class XMLArooaParser extends java.lang.Object implements ArooaParser<SimpleParseContext>
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.
Constructor and Description |
---|
XMLArooaParser() |
XMLArooaParser(NamespaceMappings namespaceMappings) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getXml() |
ConfigurationHandle<SimpleParseContext> |
parse(ArooaConfiguration configuration)
Parse an
ArooaConfiguration . |
public XMLArooaParser()
public XMLArooaParser(NamespaceMappings namespaceMappings)
public ConfigurationHandle<SimpleParseContext> parse(ArooaConfiguration configuration) throws ArooaParseException
ArooaParser
ArooaConfiguration
.parse
in interface ArooaParser<SimpleParseContext>
configuration
- The configuration.ConfigurationHandle
.ArooaParseException
- If parsing fails.public java.lang.String getXml()