Class IDResolverWrapper


  • public class IDResolverWrapper
    extends IDResolver
    INTERNAL:

    This class provides an implementation of IDResolver that wraps an IDResolver from the Sun JAXB Implementation.

    • Constructor Summary

      Constructors 
      Constructor Description
      IDResolverWrapper​(java.lang.Object sunResolver)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bind​(java.lang.Object id, java.lang.Object obj)  
      void bind​(java.util.Map<java.lang.String,​java.lang.Object> id, java.lang.Object obj)  
      void endDocument()  
      java.lang.Object getResolver()  
      java.util.concurrent.Callable<?> resolve​(java.lang.Object id, java.lang.Class targetType)  
      java.util.concurrent.Callable<?> resolve​(java.util.Map<java.lang.String,​java.lang.Object> id, java.lang.Class type)  
      void startDocument​(javax.xml.bind.ValidationEventHandler eventHandler)
      Called when unmarshalling begins.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IDResolverWrapper

        public IDResolverWrapper​(java.lang.Object sunResolver)
    • Method Detail

      • bind

        public void bind​(java.lang.Object id,
                         java.lang.Object obj)
                  throws org.xml.sax.SAXException
        Specified by:
        bind in class org.eclipse.persistence.internal.oxm.IDResolver
        Throws:
        org.xml.sax.SAXException
      • endDocument

        public void endDocument()
                         throws org.xml.sax.SAXException
        Overrides:
        endDocument in class org.eclipse.persistence.internal.oxm.IDResolver
        Throws:
        org.xml.sax.SAXException
      • startDocument

        public void startDocument​(javax.xml.bind.ValidationEventHandler eventHandler)
                           throws org.xml.sax.SAXException
        Description copied from class: IDResolver

        Called when unmarshalling begins.

        Overrides:
        startDocument in class IDResolver
        Parameters:
        eventHandler - Any errors encountered during the unmarshal process should be reported to this handler.
        Throws:
        org.xml.sax.SAXException
      • resolve

        public java.util.concurrent.Callable<?> resolve​(java.lang.Object id,
                                                        java.lang.Class targetType)
                                                 throws org.xml.sax.SAXException
        Specified by:
        resolve in class org.eclipse.persistence.internal.oxm.IDResolver
        Throws:
        org.xml.sax.SAXException
      • resolve

        public java.util.concurrent.Callable<?> resolve​(java.util.Map<java.lang.String,​java.lang.Object> id,
                                                        java.lang.Class type)
                                                 throws org.xml.sax.SAXException
        Specified by:
        resolve in class org.eclipse.persistence.internal.oxm.IDResolver
        Throws:
        org.xml.sax.SAXException
      • bind

        public void bind​(java.util.Map<java.lang.String,​java.lang.Object> id,
                         java.lang.Object obj)
                  throws org.xml.sax.SAXException
        Specified by:
        bind in class org.eclipse.persistence.internal.oxm.IDResolver
        Throws:
        org.xml.sax.SAXException
      • getResolver

        public java.lang.Object getResolver()