View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v@@BUILD_VERSION@@ 
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.30 um 05:21:08 CEST 
6   //
7   
8   package de.nierbeck.timeTrack.model.impl.runtime;
9   
10  import org.xml.sax.Attributes;
11  import org.xml.sax.SAXException;
12  
13  /***
14   * Implemented by the generated code to unmarshall an object from unmarshaller
15   * events.
16   * 
17   * <p>
18   * AbstractUnmarshallingEventHandlerImpl throws a SAXException when a problem is
19   * encountered and that problem is not reported. It is the responsibility of the
20   * caller of this interface to report it to the client's ValidationEventHandler
21   * and re-wrap it into UnmarshalException.
22   * 
23   * @author Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
24   */
25  public interface UnmarshallingEventHandler {
26  
27  	/***
28  	 * Returns the content-tree object for which this unmarshaller is working
29  	 * for.
30  	 */
31  	Object owner();
32  
33  	//
34  	// event handlers
35  	//
36  	void enterElement(String uri, String local, String qname, Attributes atts)
37  			throws SAXException;
38  
39  	void leaveElement(String uri, String local, String qname)
40  			throws SAXException;
41  
42  	void text(String s) throws SAXException;
43  
44  	void enterAttribute(String uri, String local, String qname)
45  			throws SAXException;
46  
47  	void leaveAttribute(String uri, String local, String qname)
48  			throws SAXException;
49  
50  	void leaveChild(int nextState) throws SAXException;
51  }