de.nierbeck.timeTrack.model.impl.runtime
Interface UnmarshallingEventHandler

All Known Implementing Classes:
AbstractUnmarshallingEventHandlerImpl, EntriesImpl.Unmarshaller, EntriesTypeImpl.Unmarshaller, EntryTypeImpl.Unmarshaller, UnmarshallingEventHandlerAdaptor

public interface UnmarshallingEventHandler

Implemented by the generated code to unmarshall an object from unmarshaller events.

AbstractUnmarshallingEventHandlerImpl throws a SAXException when a problem is encountered and that problem is not reported. It is the responsibility of the caller of this interface to report it to the client's ValidationEventHandler and re-wrap it into UnmarshalException.

Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Method Summary
 void enterAttribute(java.lang.String uri, java.lang.String local, java.lang.String qname)
           
 void enterElement(java.lang.String uri, java.lang.String local, java.lang.String qname, org.xml.sax.Attributes atts)
           
 void leaveAttribute(java.lang.String uri, java.lang.String local, java.lang.String qname)
           
 void leaveChild(int nextState)
           
 void leaveElement(java.lang.String uri, java.lang.String local, java.lang.String qname)
           
 java.lang.Object owner()
          Returns the content-tree object for which this unmarshaller is working for.
 void text(java.lang.String s)
           
 

Method Detail

owner

java.lang.Object owner()
Returns the content-tree object for which this unmarshaller is working for.


enterElement

void enterElement(java.lang.String uri,
                  java.lang.String local,
                  java.lang.String qname,
                  org.xml.sax.Attributes atts)
                  throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

leaveElement

void leaveElement(java.lang.String uri,
                  java.lang.String local,
                  java.lang.String qname)
                  throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

text

void text(java.lang.String s)
          throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

enterAttribute

void enterAttribute(java.lang.String uri,
                    java.lang.String local,
                    java.lang.String qname)
                    throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

leaveAttribute

void leaveAttribute(java.lang.String uri,
                    java.lang.String local,
                    java.lang.String qname)
                    throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

leaveChild

void leaveChild(int nextState)
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException


Copyright © 2003-2006 Nierbeck. All Rights Reserved.