Class JAXBBond<T>

    • Method Detail

      • marshal

        public void marshal​(T object,
                            XMLStreamWriter output,
                            javax.xml.bind.attachment.AttachmentMarshaller am)
                     throws javax.xml.bind.JAXBException
        Specified by:
        marshal in interface XMLBridge<T>
        Throws:
        javax.xml.bind.JAXBException
      • marshal

        public void marshal​(T object,
                            OutputStream output,
                            NamespaceContext nsContext,
                            javax.xml.bind.attachment.AttachmentMarshaller am)
                     throws javax.xml.bind.JAXBException
        Specified by:
        marshal in interface XMLBridge<T>
        Throws:
        javax.xml.bind.JAXBException
      • marshal

        public void marshal​(T object,
                            Node output)
                     throws javax.xml.bind.JAXBException
        Specified by:
        marshal in interface XMLBridge<T>
        Throws:
        javax.xml.bind.JAXBException
      • marshal

        public void marshal​(T object,
                            ContentHandler contentHandler,
                            javax.xml.bind.attachment.AttachmentMarshaller am)
                     throws javax.xml.bind.JAXBException
        Specified by:
        marshal in interface XMLBridge<T>
        Throws:
        javax.xml.bind.JAXBException
      • marshal

        public void marshal​(T object,
                            Result result)
                     throws javax.xml.bind.JAXBException
        Specified by:
        marshal in interface XMLBridge<T>
        Throws:
        javax.xml.bind.JAXBException
      • unmarshal

        public T unmarshal​(XMLStreamReader in,
                           javax.xml.bind.attachment.AttachmentUnmarshaller au)
                    throws javax.xml.bind.JAXBException
        Specified by:
        unmarshal in interface XMLBridge<T>
        Throws:
        javax.xml.bind.JAXBException
      • unmarshal

        public T unmarshal​(Source in,
                           javax.xml.bind.attachment.AttachmentUnmarshaller au)
                    throws javax.xml.bind.JAXBException
        Specified by:
        unmarshal in interface XMLBridge<T>
        Throws:
        javax.xml.bind.JAXBException
      • unmarshal

        public T unmarshal​(InputStream in)
                    throws javax.xml.bind.JAXBException
        Specified by:
        unmarshal in interface XMLBridge<T>
        Throws:
        javax.xml.bind.JAXBException
      • unmarshal

        public T unmarshal​(Node in,
                           javax.xml.bind.attachment.AttachmentUnmarshaller au)
                    throws javax.xml.bind.JAXBException
        Specified by:
        unmarshal in interface XMLBridge<T>
        Throws:
        javax.xml.bind.JAXBException
      • supportOutputStream

        public boolean supportOutputStream()
        The combination of jaxws-ri and eclipselink-jaxb may perform better with XMLStreamWriter
        Specified by:
        supportOutputStream in interface XMLBridge<T>