edu.ksi.virtualclassroom.mappers.jaxb.xmlwrapper.impl.runtime
Class InterningUnmarshallerHandler

java.lang.Object
  extended byorg.xml.sax.helpers.XMLFilterImpl
      extended bycom.sun.xml.bind.unmarshaller.InterningXMLReader
          extended byedu.ksi.virtualclassroom.mappers.jaxb.xmlwrapper.impl.runtime.InterningUnmarshallerHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, SAXUnmarshallerHandler, javax.xml.bind.UnmarshallerHandler, org.xml.sax.XMLFilter, org.xml.sax.XMLReader

final class InterningUnmarshallerHandler
extends com.sun.xml.bind.unmarshaller.InterningXMLReader
implements SAXUnmarshallerHandler

Filter SAXUnmarshallerHandler that interns all the Strings * in the SAX events. * * @author * Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com) * @version $Revision$


Nested Class Summary
 
Nested classes inherited from class com.sun.xml.bind.unmarshaller.InterningXMLReader
 
Field Summary
private  SAXUnmarshallerHandler core
          Field core
 
Fields inherited from class com.sun.xml.bind.unmarshaller.InterningXMLReader
 
Fields inherited from class org.xml.sax.helpers.XMLFilterImpl
 
Constructor Summary
(package private) InterningUnmarshallerHandler(SAXUnmarshallerHandler core)
          Constructor for InterningUnmarshallerHandler
 
Method Summary
 java.lang.Object getResult()
          Method getResult
 void handleEvent(javax.xml.bind.ValidationEvent event, boolean canRecover)
          Method handleEvent
 
Methods inherited from class com.sun.xml.bind.unmarshaller.InterningXMLReader
adapt, endElement, endPrefixMapping, processingInstruction, startElement, startPrefixMapping
 
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endDocument, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 

Field Detail

core

private final SAXUnmarshallerHandler core
Field core

Constructor Detail

InterningUnmarshallerHandler

InterningUnmarshallerHandler(SAXUnmarshallerHandler core)
Constructor for InterningUnmarshallerHandler

Parameters:
core - SAXUnmarshallerHandler
Method Detail

handleEvent

public void handleEvent(javax.xml.bind.ValidationEvent event,
                        boolean canRecover)
                 throws org.xml.sax.SAXException
Method handleEvent

Specified by:
handleEvent in interface SAXUnmarshallerHandler
Parameters:
event - ValidationEvent
canRecover - boolean
Throws:
org.xml.sax.SAXException
See Also:
SAXUnmarshallerHandler.handleEvent(ValidationEvent, boolean)

getResult

public java.lang.Object getResult()
                           throws javax.xml.bind.JAXBException,
                                  java.lang.IllegalStateException
Method getResult

Specified by:
getResult in interface javax.xml.bind.UnmarshallerHandler
Returns:
Object
Throws:
javax.xml.bind.JAXBException
java.lang.IllegalStateException
See Also:
UnmarshallerHandler.getResult()