org.oddjob.arooa.handlers
Class NestedElementHandler

java.lang.Object
  extended byorg.oddjob.arooa.ArooaHandler
      extended byorg.oddjob.arooa.handlers.TypicalElementHandler
          extended byorg.oddjob.arooa.handlers.NestedElementHandler

public class NestedElementHandler
extends TypicalElementHandler

Handler for a nested element.


Constructor Summary
NestedElementHandler()
           
 
Method Summary
 void onStartElement(java.lang.String uri, java.lang.String tag, java.lang.String qname, org.xml.sax.Attributes attrs, ArooaContext context)
          Initialisation routine called after handler creation with the element name and attributes.
 
Methods inherited from class org.oddjob.arooa.handlers.TypicalElementHandler
characters, onStartChild
 
Methods inherited from class org.oddjob.arooa.ArooaHandler
checkNamespace, onEndChild, onEndElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestedElementHandler

public NestedElementHandler()
Method Detail

onStartElement

public void onStartElement(java.lang.String uri,
                           java.lang.String tag,
                           java.lang.String qname,
                           org.xml.sax.Attributes attrs,
                           ArooaContext context)
                    throws org.xml.sax.SAXParseException
Initialisation routine called after handler creation with the element name and attributes. This configures the element with its attributes and sets it up with its parent container (if any). Nested elements are then added later as the parser encounters them.

Specified by:
onStartElement in class TypicalElementHandler
Parameters:
uri - The namespace URI for this element.
tag - Name of the element which caused this handler to be created. Must not be null.
qname - The qualified name for this element.
attrs - Attributes of the element which caused this handler to be created. Must not be null.
context - The current context.
Throws:
org.xml.sax.SAXParseException - in case of error (not thrown in this implementation)