5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk//
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk// Any modifications to this file will be lost upon recompilation of the source schema.
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk// Generated on: 2012.06.11 at 10:34:07 AM PDT
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk//
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkpackage com.sun.identity.saml2.jaxb.assertion.impl.runtime;
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkimport javax.xml.bind.UnmarshallerHandler;
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkimport javax.xml.bind.ValidationEvent;
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
dff2cc5646d4437ab9e0cb1dcb59da65462a5938jeff.schenkimport org.xml.sax.SAXException;
dff2cc5646d4437ab9e0cb1dcb59da65462a5938jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk/**
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk * Unified event handler that processes
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk * both the SAX events and error events.
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk *
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk * <p>
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk * This interface refines {@link ContentHandler} as follows:
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk * <ol>
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk * <li>element names and attribute names must be {@link String#intern()}ed.
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk * <li>namespace prefix and uris must be {@link String#intern()}ed.
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk * </ol>
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk */
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenkpublic interface SAXUnmarshallerHandler extends UnmarshallerHandler {
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk /**
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk * Reports an error to the user, and asks if s/he wants
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk * to recover. If the canRecover flag is false, regardless
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk * of the client instruction, an exception will be thrown.
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk *
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk * Only if the flag is true and the user wants to recover from an error,
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk * the method returns normally.
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk *
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk * The thrown exception will be catched by the unmarshaller.
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk */
dff2cc5646d4437ab9e0cb1dcb59da65462a5938jeff.schenk void handleEvent( ValidationEvent event, boolean canRecover ) throws SAXException;
5b64d5d44892834ba97f003080f3467299b7c5c5jeff.schenk}