001// 002// 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 003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004// Any modifications to this file will be lost upon recompilation of the source schema. 005// Generated on: 2012.10.03 at 04:27:47 AM CEST 006// 007 008package org.jdtaus.mojo.resource.model.impl.runtime; 009 010import org.xml.sax.Attributes; 011import org.xml.sax.SAXException; 012 013/** 014 * Implemented by the generated code to unmarshall an object 015 * from unmarshaller events. 016 * 017 * <p> 018 * AbstractUnmarshallingEventHandlerImpl throws a SAXException when a problem is encountered 019 * and that problem is not reported. It is the responsibility of the caller 020 * of this interface to report it to the client's ValidationEventHandler 021 * and re-wrap it into UnmarshalException. 022 * 023 * @author 024 * Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com) 025 */ 026public interface UnmarshallingEventHandler { 027 028 /** 029 * Returns the content-tree object for which this unmarshaller 030 * is working for. 031 */ 032 Object owner(); 033 034 // 035 // event handlers 036 // 037 void enterElement(String uri, String local, String qname, Attributes atts) throws SAXException; 038 void leaveElement(String uri, String local, String qname ) throws SAXException; 039 void text(String s) throws SAXException; 040 void enterAttribute(String uri, String local, String qname ) throws SAXException; 041 void leaveAttribute(String uri, String local, String qname ) throws SAXException; 042 void leaveChild(int nextState) throws SAXException; 043}