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.JAXBException;
11: import javax.xml.bind.ValidationEvent;
12:
13: import org.xml.sax.SAXException;
14:
15: import com.sun.xml.bind.unmarshaller.InterningXMLReader;
16:
17: /**
18: * Filter {@link SAXUnmarshallerHandler} that interns all the Strings
19: * in the SAX events.
20: *
21: * @author
22: * Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
23: */
24: final class InterningUnmarshallerHandler extends InterningXMLReader
25: implements SAXUnmarshallerHandler {
26:
27: private final SAXUnmarshallerHandler core;
28:
29: InterningUnmarshallerHandler(SAXUnmarshallerHandler core) {
30: super ();
31: setContentHandler(core);
32: this .core = core;
33: }
34:
35: public void handleEvent(ValidationEvent event, boolean canRecover)
36: throws SAXException {
37: core.handleEvent(event, canRecover);
38: }
39:
40: public Object getResult() throws JAXBException,
41: IllegalStateException {
42: return core.getResult();
43: }
44:
45: }
|