01: //
02: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.4-b18-fcs
03: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
04: // Any modifications to this file will be lost upon recompilation of the source schema.
05: // Generated on: 2005.03.04 at 10:20:40 PST
06: //
07:
08: package com.nabhinc.portal.config.impl.runtime;
09:
10: import javax.xml.bind.UnmarshallerHandler;
11: import javax.xml.bind.ValidationEvent;
12:
13: import org.xml.sax.SAXException;
14:
15: /**
16: * Unified event handler that processes
17: * both the SAX events and error events.
18: *
19: * <p>
20: * This interface refines {@link ContentHandler} as follows:
21: * <ol>
22: * <li>element names and attribute names must be {@link String#intern()}ed.
23: * <li>namespace prefix and uris must be {@link String#intern()}ed.
24: * </ol>
25: */
26: public interface SAXUnmarshallerHandler extends UnmarshallerHandler {
27:
28: /**
29: * Reports an error to the user, and asks if s/he wants
30: * to recover. If the canRecover flag is false, regardless
31: * of the client instruction, an exception will be thrown.
32: *
33: * Only if the flag is true and the user wants to recover from an error,
34: * the method returns normally.
35: *
36: * The thrown exception will be catched by the unmarshaller.
37: */
38: void handleEvent(ValidationEvent event, boolean canRecover)
39: throws SAXException;
40: }
|