Class MarshallerBridge

java.lang.Object
com.sun.xml.bind.api.Bridge
com.sun.xml.ws.db.glassfish.MarshallerBridge
All Implemented Interfaces:
XMLBridge

public class MarshallerBridge extends Bridge implements XMLBridge
  • Constructor Details

  • Method Details

    • marshal

      public void marshal(javax.xml.bind.Marshaller m, Object object, XMLStreamWriter output) throws javax.xml.bind.JAXBException
      Specified by:
      marshal in class Bridge
      Throws:
      javax.xml.bind.JAXBException
    • marshal

      public void marshal(javax.xml.bind.Marshaller m, Object object, OutputStream output, NamespaceContext nsContext) throws javax.xml.bind.JAXBException
      Specified by:
      marshal in class Bridge
      Throws:
      javax.xml.bind.JAXBException
    • marshal

      public void marshal(javax.xml.bind.Marshaller m, Object object, Node output) throws javax.xml.bind.JAXBException
      Specified by:
      marshal in class Bridge
      Throws:
      javax.xml.bind.JAXBException
    • marshal

      public void marshal(javax.xml.bind.Marshaller m, Object object, ContentHandler contentHandler) throws javax.xml.bind.JAXBException
      Specified by:
      marshal in class Bridge
      Throws:
      javax.xml.bind.JAXBException
    • marshal

      public void marshal(javax.xml.bind.Marshaller m, Object object, Result result) throws javax.xml.bind.JAXBException
      Specified by:
      marshal in class Bridge
      Throws:
      javax.xml.bind.JAXBException
    • unmarshal

      public Object unmarshal(javax.xml.bind.Unmarshaller u, XMLStreamReader in)
      Specified by:
      unmarshal in class Bridge
    • unmarshal

      public Object unmarshal(javax.xml.bind.Unmarshaller u, Source in)
      Specified by:
      unmarshal in class Bridge
    • unmarshal

      public Object unmarshal(javax.xml.bind.Unmarshaller u, InputStream in)
      Specified by:
      unmarshal in class Bridge
    • unmarshal

      public Object unmarshal(javax.xml.bind.Unmarshaller u, Node n)
      Specified by:
      unmarshal in class Bridge
    • getTypeInfo

      public TypeInfo getTypeInfo()
      Description copied from interface: XMLBridge
      Gets the TypeInfo from which this bridge was created.
      Specified by:
      getTypeInfo in interface XMLBridge
    • getTypeReference

      public TypeReference getTypeReference()
      Description copied from class: Bridge
      Gets the TypeReference from which this bridge was created.
      Specified by:
      getTypeReference in class Bridge
    • context

      public BindingContext context()
      Description copied from interface: XMLBridge
      Gets the BindingContext to which this object belongs.
      Specified by:
      context in interface XMLBridge
    • supportOutputStream

      public boolean supportOutputStream()
      Description copied from interface: XMLBridge
      This can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.
      Specified by:
      supportOutputStream in interface XMLBridge
      Returns:
      true if marshall to OutputStream is supported in the implementation.