All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jvnet.jaxbcommons.runtime.SAXUnmarshallerHandler Maven / Gradle / Ivy

//
// 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 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2006.07.10 at 02:12:40 PM CEST 
//

package org.jvnet.jaxbcommons.runtime;

import javax.xml.bind.UnmarshallerHandler;
import javax.xml.bind.ValidationEvent;

import org.xml.sax.SAXException;

/**
 * Unified event handler that processes
 * both the SAX events and error events.
 * 
 * 

* This interface refines {@link ContentHandler} as follows: *

    *
  1. element names and attribute names must be {@link String#intern()}ed. *
  2. namespace prefix and uris must be {@link String#intern()}ed. *
*/ public interface SAXUnmarshallerHandler extends UnmarshallerHandler { /** * Reports an error to the user, and asks if s/he wants * to recover. If the canRecover flag is false, regardless * of the client instruction, an exception will be thrown. * * Only if the flag is true and the user wants to recover from an error, * the method returns normally. * * The thrown exception will be catched by the unmarshaller. */ void handleEvent( ValidationEvent event, boolean canRecover ) throws SAXException; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy