01: //
02: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.5-b16-fcs
03: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
04: // Any modifications to this file will be lost upon recompilation of the source schema.
05: // Generated on: 2005.12.17 at 09:43:27 AM GMT+07:00
06: //
07:
08: package com.mvnforum.jaxb.db.impl.runtime;
09:
10: import org.xml.sax.Attributes;
11: import org.xml.sax.SAXException;
12:
13: /**
14: * Implemented by the generated code to unmarshall an object
15: * from unmarshaller events.
16: *
17: * <p>
18: * AbstractUnmarshallingEventHandlerImpl throws a SAXException when a problem is encountered
19: * and that problem is not reported. It is the responsibility of the caller
20: * of this interface to report it to the client's ValidationEventHandler
21: * and re-wrap it into UnmarshalException.
22: *
23: * @author
24: * Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
25: */
26: public interface UnmarshallingEventHandler {
27:
28: /**
29: * Returns the content-tree object for which this unmarshaller
30: * is working for.
31: */
32: Object owner();
33:
34: //
35: // event handlers
36: //
37: void enterElement(String uri, String local, String qname,
38: Attributes atts) throws SAXException;
39:
40: void leaveElement(String uri, String local, String qname)
41: throws SAXException;
42:
43: void text(String s) throws SAXException;
44:
45: void enterAttribute(String uri, String local, String qname)
46: throws SAXException;
47:
48: void leaveAttribute(String uri, String local, String qname)
49: throws SAXException;
50:
51: void leaveChild(int nextState) throws SAXException;
52: }
|