org.tagnetic.core.jaxb.tagneticconfig.impl.runtime
Interface UnmarshallingEventHandler

All Known Implementing Classes:
AbstractUnmarshallingEventHandlerImpl, 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

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


enterElement

public 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

public 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

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

enterAttribute

public 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

public 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

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


Copyright © 2005 tagnetic.org. All Rights Reserved.