Package org.oddjob.arooa
Interface ArooaParser<P extends ParseContext<P>>
- Type Parameters:
P- The Type of Parse Context The Parser Uses.
- All Known Implementing Classes:
ConfigurationTreeArooaParser,DesignParser,JsonArooaParser,StandardArooaParser,StandardFragmentParser,XMLArooaParser
public interface ArooaParser<P extends ParseContext<P>>
Something that is able to parse an
ArooaConfiguration.
The parser will either produce a ConfigurationHandle object or throw
an ArooaParseException if parsing fails.
- Author:
- rob
-
Method Summary
Modifier and TypeMethodDescriptionparse(ArooaConfiguration configuration) Parse anArooaConfiguration.
-
Method Details
-
parse
Parse anArooaConfiguration.- Parameters:
configuration- The configuration.- Returns:
- A
ConfigurationHandle. - Throws:
ArooaParseException- If parsing fails.
-