org.oddjob.designer.arooa
Class DesignSkipHandler
java.lang.Object
org.oddjob.arooa.ArooaHandler
org.oddjob.designer.arooa.DesignSkipHandler
- public class DesignSkipHandler
- extends ArooaHandler
Handler for a nested element that skips a level.
|
Method Summary |
void |
onEndElement(java.lang.String uri,
java.lang.String tag,
ArooaContext context)
Called when this element and all elements nested into it have been
handled (i.e. |
ArooaHandler |
onStartChild(java.lang.String uri,
java.lang.String tag,
java.lang.String qname,
org.xml.sax.Attributes attrs,
ArooaContext context)
Handles the start of an element. |
void |
onStartElement(java.lang.String uri,
java.lang.String tag,
java.lang.String qname,
org.xml.sax.Attributes attrs,
ArooaContext context)
Handles the start of an element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DesignSkipHandler
public DesignSkipHandler(DesignElementType introduce)
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
- Description copied from class:
ArooaHandler
- Handles the start of an element. This base implementation does
nothing.
- Overrides:
onStartElement in class ArooaHandler
- Parameters:
uri - the namespace URI for the tagtag - The name of the element being started.
Will not be null.qname - The qualified name of the element.attrs - Attributes of the element being started.
Will not be null.context - The context that this element is in.
- Throws:
org.xml.sax.SAXParseException - if this method is not overridden, or in
case of error in an overridden version
onStartChild
public ArooaHandler onStartChild(java.lang.String uri,
java.lang.String tag,
java.lang.String qname,
org.xml.sax.Attributes attrs,
ArooaContext context)
throws org.xml.sax.SAXParseException
- Description copied from class:
ArooaHandler
- Handles the start of an element. This base implementation just
throws an exception - you must override this method if you expect
child elements.
- Overrides:
onStartChild in class ArooaHandler
- Parameters:
uri - The namespace uri for this element.tag - The name of the element being started.
Will not be null.qname - The qualified name for this element.attrs - Attributes of the element being started.
Will not be null.context - The current context.
- Returns:
- a handler (in the derived classes)
- Throws:
org.xml.sax.SAXParseException - if this method is not overridden, or in
case of error in an overridden version
onEndElement
public void onEndElement(java.lang.String uri,
java.lang.String tag,
ArooaContext context)
- Description copied from class:
ArooaHandler
- Called when this element and all elements nested into it have been
handled (i.e. at the ).
- Overrides:
onEndElement in class ArooaHandler
- Parameters:
uri - the namespace uri for this elementtag - the element namecontext - the current context