Class JAXBBond<T>

java.lang.Object
com.sun.xml.ws.db.toplink.JAXBBond<T>
All Implemented Interfaces:
XMLBridge<T>

public class JAXBBond<T> extends Object implements XMLBridge<T>
  • Constructor Details

  • Method Details

    • context

      public BindingContext context()
      Specified by:
      context in interface XMLBridge<T>
    • getTypeInfo

      public TypeInfo getTypeInfo()
      Specified by:
      getTypeInfo in interface XMLBridge<T>
    • marshal

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

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

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

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

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

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

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

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

      public T unmarshal(Node in, jakarta.xml.bind.attachment.AttachmentUnmarshaller au) throws jakarta.xml.bind.JAXBException
      Specified by:
      unmarshal in interface XMLBridge<T>
      Throws:
      jakarta.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>