KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > japex > testsuite > impl > runtime > UnmarshallingEventHandler


1 //
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.3-b18-fcs
3
// See <a HREF="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4
// Any modifications to this file will be lost upon recompilation of the source schema.
5
// Generated on: 2005.06.14 at 12:02:17 PDT
6
//
7

8 package com.sun.japex.testsuite.impl.runtime;
9
10 import org.xml.sax.Attributes JavaDoc;
11 import org.xml.sax.SAXException JavaDoc;
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 JavaDoc owner();
33
34     //
35
// event handlers
36
//
37
void enterElement(String JavaDoc uri, String JavaDoc local, String JavaDoc qname, Attributes JavaDoc atts) throws SAXException JavaDoc;
38     void leaveElement(String JavaDoc uri, String JavaDoc local, String JavaDoc qname ) throws SAXException JavaDoc;
39     void text(String JavaDoc s) throws SAXException JavaDoc;
40     void enterAttribute(String JavaDoc uri, String JavaDoc local, String JavaDoc qname ) throws SAXException JavaDoc;
41     void leaveAttribute(String JavaDoc uri, String JavaDoc local, String JavaDoc qname ) throws SAXException JavaDoc;
42     void leaveChild(int nextState) throws SAXException JavaDoc;
43 }
44
Popular Tags