1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-01/24/2006 06:15 PM(kohsuke)-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: 2012.10.03 at 04:27:47 AM CEST 6 // 7 8 package org.jdtaus.mojo.resource.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 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, Attributes atts) throws SAXException; 38 void leaveElement(String uri, String local, String qname ) throws SAXException; 39 void text(String s) throws SAXException; 40 void enterAttribute(String uri, String local, String qname ) throws SAXException; 41 void leaveAttribute(String uri, String local, String qname ) throws SAXException; 42 void leaveChild(int nextState) throws SAXException; 43 }