com.sun.xml.ws.db.toplink
Class JAXBBond<T>

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

public class JAXBBond<T>
extends Object
implements com.sun.xml.ws.spi.db.XMLBridge<T>


Nested Class Summary
static class JAXBBond.CustomXMLStreamReaderReader
           
static class JAXBBond.NewStreamWriterRecord
           
 
Constructor Summary
JAXBBond(JAXBContextWrapper p, com.sun.xml.ws.spi.db.TypeInfo ti)
           
 
Method Summary
 com.sun.xml.ws.spi.db.BindingContext context()
           
 com.sun.xml.ws.spi.db.TypeInfo getTypeInfo()
           
 void marshal(T object, ContentHandler contentHandler, AttachmentMarshaller am)
           
 void marshal(T object, Node output)
           
 void marshal(T object, OutputStream output, NamespaceContext nsContext, AttachmentMarshaller am)
           
 void marshal(T object, Result result)
           
 void marshal(T object, XMLStreamWriter output, AttachmentMarshaller am)
           
 boolean supportOutputStream()
          The combination of jaxws-ri and eclipselink-jaxb may perform better with XMLStreamWriter
 T unmarshal(InputStream in)
           
 T unmarshal(Node in, AttachmentUnmarshaller au)
           
 T unmarshal(Source in, AttachmentUnmarshaller au)
           
 T unmarshal(XMLStreamReader in, AttachmentUnmarshaller au)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBBond

public JAXBBond(JAXBContextWrapper p,
                com.sun.xml.ws.spi.db.TypeInfo ti)
Method Detail

context

public com.sun.xml.ws.spi.db.BindingContext context()
Specified by:
context in interface com.sun.xml.ws.spi.db.XMLBridge<T>

getTypeInfo

public com.sun.xml.ws.spi.db.TypeInfo getTypeInfo()
Specified by:
getTypeInfo in interface com.sun.xml.ws.spi.db.XMLBridge<T>

marshal

public void marshal(T object,
                    XMLStreamWriter output,
                    AttachmentMarshaller am)
             throws JAXBException
Specified by:
marshal in interface com.sun.xml.ws.spi.db.XMLBridge<T>
Throws:
JAXBException

marshal

public void marshal(T object,
                    OutputStream output,
                    NamespaceContext nsContext,
                    AttachmentMarshaller am)
             throws JAXBException
Specified by:
marshal in interface com.sun.xml.ws.spi.db.XMLBridge<T>
Throws:
JAXBException

marshal

public void marshal(T object,
                    Node output)
             throws JAXBException
Specified by:
marshal in interface com.sun.xml.ws.spi.db.XMLBridge<T>
Throws:
JAXBException

marshal

public void marshal(T object,
                    ContentHandler contentHandler,
                    AttachmentMarshaller am)
             throws JAXBException
Specified by:
marshal in interface com.sun.xml.ws.spi.db.XMLBridge<T>
Throws:
JAXBException

marshal

public void marshal(T object,
                    Result result)
             throws JAXBException
Specified by:
marshal in interface com.sun.xml.ws.spi.db.XMLBridge<T>
Throws:
JAXBException

unmarshal

public T unmarshal(XMLStreamReader in,
                   AttachmentUnmarshaller au)
            throws JAXBException
Specified by:
unmarshal in interface com.sun.xml.ws.spi.db.XMLBridge<T>
Throws:
JAXBException

unmarshal

public T unmarshal(Source in,
                   AttachmentUnmarshaller au)
            throws JAXBException
Specified by:
unmarshal in interface com.sun.xml.ws.spi.db.XMLBridge<T>
Throws:
JAXBException

unmarshal

public T unmarshal(InputStream in)
            throws JAXBException
Specified by:
unmarshal in interface com.sun.xml.ws.spi.db.XMLBridge<T>
Throws:
JAXBException

unmarshal

public T unmarshal(Node in,
                   AttachmentUnmarshaller au)
            throws JAXBException
Specified by:
unmarshal in interface com.sun.xml.ws.spi.db.XMLBridge<T>
Throws:
JAXBException

supportOutputStream

public boolean supportOutputStream()
The combination of jaxws-ri and eclipselink-jaxb may perform better with XMLStreamWriter

Specified by:
supportOutputStream in interface com.sun.xml.ws.spi.db.XMLBridge<T>


Copyright © 2015 Oracle Corporation. All Rights Reserved.