org.oddjob.designer.arooa
Class DesignParser

java.lang.Object
  extended byorg.oddjob.designer.arooa.DesignParser

public class DesignParser
extends java.lang.Object

Parses a design into a sequence of events which are passed to a handler for further processing.


Constructor Summary
DesignParser(ArooaContext context)
          Constructor.
 
Method Summary
 void parse(java.lang.String tag, java.lang.Object object, ArooaHandler handler)
          Parse a design.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DesignParser

public DesignParser(ArooaContext context)
Constructor.

Parameters:
context - The context which will be passed to the handler.
Method Detail

parse

public void parse(java.lang.String tag,
                  java.lang.Object object,
                  ArooaHandler handler)
           throws org.xml.sax.SAXParseException
Parse a design.

Parameters:
tag - The top level tag, e.g. oddjob.
object - The top level element.
handler - The handler to use.
Throws:
org.xml.sax.SAXParseException - Could be thrown by the handler.