org.oddjob.arooa.standard
Class StandardFragmentParser
java.lang.Object
org.oddjob.arooa.standard.StandardFragmentParser
- All Implemented Interfaces:
- ArooaParser
public class StandardFragmentParser
- extends Object
- implements ArooaParser
Parser a fragment of a configuration. The topmost element is a factory
element for either a value or a component.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardFragmentParser
public StandardFragmentParser(ArooaSession session)
StandardFragmentParser
public StandardFragmentParser(ArooaDescriptor descriptor)
StandardFragmentParser
public StandardFragmentParser()
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.
getRoot
public Object getRoot()
getSession
public ArooaSession getSession()
getArooaType
public ArooaType getArooaType()
setArooaType
public void setArooaType(ArooaType type)