Class JAXBBinder


  • public class JAXBBinder
    extends javax.xml.bind.Binder
    INTERNAL

    Purpose: Provide a TopLink implementation of the javax.xml.bind.Binder interface

    Responsibilities:

    • Provide an implementation of Binder
    • Provide a means to preserve unmapped XML Data
    Since:
    Oracle TopLink 11.1.1.0.0
    Author:
    mmacivor
    See Also:
    Binder
    • Method Detail

      • marshal

        public void marshal​(Object obj,
                            Object xmlNode)
                     throws javax.xml.bind.MarshalException
        Specified by:
        marshal in class javax.xml.bind.Binder
        Throws:
        javax.xml.bind.MarshalException
      • unmarshal

        public Object unmarshal​(Object obj)
                         throws javax.xml.bind.JAXBException
        Specified by:
        unmarshal in class javax.xml.bind.Binder
        Throws:
        javax.xml.bind.JAXBException
      • unmarshal

        public javax.xml.bind.JAXBElement unmarshal​(Object obj,
                                                    Class javaClass)
                                             throws javax.xml.bind.JAXBException
        Specified by:
        unmarshal in class javax.xml.bind.Binder
        Throws:
        javax.xml.bind.JAXBException
      • getXMLNode

        public Object getXMLNode​(Object obj)
        Specified by:
        getXMLNode in class javax.xml.bind.Binder
      • updateXML

        public Object updateXML​(Object obj)
        Specified by:
        updateXML in class javax.xml.bind.Binder
      • updateXML

        public Object updateXML​(Object obj,
                                Object xmlNode)
        Specified by:
        updateXML in class javax.xml.bind.Binder
      • getJAXBNode

        public Object getJAXBNode​(Object obj)
        Specified by:
        getJAXBNode in class javax.xml.bind.Binder
      • updateJAXB

        public Object updateJAXB​(Object obj)
                          throws javax.xml.bind.JAXBException
        Specified by:
        updateJAXB in class javax.xml.bind.Binder
        Throws:
        javax.xml.bind.JAXBException
      • setSchema

        public void setSchema​(Schema schema)
        Specified by:
        setSchema in class javax.xml.bind.Binder
      • getSchema

        public Schema getSchema()
        Specified by:
        getSchema in class javax.xml.bind.Binder
      • setEventHandler

        public void setEventHandler​(javax.xml.bind.ValidationEventHandler newValidationEventHandler)
                             throws javax.xml.bind.JAXBException
        Specified by:
        setEventHandler in class javax.xml.bind.Binder
        Throws:
        javax.xml.bind.JAXBException
      • getEventHandler

        public javax.xml.bind.ValidationEventHandler getEventHandler()
        Specified by:
        getEventHandler in class javax.xml.bind.Binder
      • getProperty

        public Object getProperty​(String propName)
                           throws javax.xml.bind.PropertyException
        Specified by:
        getProperty in class javax.xml.bind.Binder
        Throws:
        javax.xml.bind.PropertyException
      • setProperty

        public void setProperty​(String propName,
                                Object value)
                         throws javax.xml.bind.PropertyException
        Specified by:
        setProperty in class javax.xml.bind.Binder
        Throws:
        javax.xml.bind.PropertyException
      • getXMLBinder

        public XMLBinder getXMLBinder()