|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.arooa.standard.StandardArooaParser
public class StandardArooaParser
An ArooaParser that configures a provided root
Object. The root Object is considered to be a component and
so may be given an id and is registered with the
the ComponentPool
| Constructor Summary | |
|---|---|
StandardArooaParser(Object root)
Constructor that will use a StandardArooaSession with
a StandardArooaDescriptor. |
|
StandardArooaParser(Object root,
ArooaDescriptor descriptor)
Constructor with a ArooaDescriptor that will be
used in a StandardArooaSession. |
|
StandardArooaParser(Object root,
ArooaSession session)
Constructor with a ArooaSession. |
|
| Method Summary | |
|---|---|
ArooaElement |
getExpectedDocumentElement()
Getter for the expected document element. |
ArooaSession |
getSession()
Get the ArooaSession used. |
ConfigurationHandle |
parse(ArooaConfiguration configuration)
Parse an ArooaConfiguration. |
void |
setExpectedDocumentElement(ArooaElement exepectedDocumentElement)
Set the expected document element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StandardArooaParser(Object root,
ArooaSession session)
ArooaSession.
root - The root object. Must not be null.session - The ArooaSession. Must not be null.
public StandardArooaParser(Object root,
ArooaDescriptor descriptor)
ArooaDescriptor that will be
used in a StandardArooaSession.
root - The root object. Must not be null.descriptor - The Descriptor. May be null.public StandardArooaParser(Object root)
StandardArooaSession with
a StandardArooaDescriptor.
root - The root object. Must not be null.| Method Detail |
|---|
public void setExpectedDocumentElement(ArooaElement exepectedDocumentElement)
exepectedDocumentElement - public ArooaElement getExpectedDocumentElement()
public ConfigurationHandle parse(ArooaConfiguration configuration)
throws ArooaParseException
ArooaParserArooaConfiguration.
parse in interface ArooaParserconfiguration - The configuration.
ConfigurationHandle.
ArooaParseException - If parsing fails.public ArooaSession getSession()
ArooaSession used. This will either
be as provided or the one created.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||