Class MarshallerBridge

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

public class MarshallerBridge extends org.glassfish.jaxb.runtime.api.Bridge implements XMLBridge
  • Constructor Details

    • MarshallerBridge

      protected MarshallerBridge(org.glassfish.jaxb.runtime.v2.runtime.JAXBContextImpl context)
  • Method Details

    • marshal

      public void marshal(jakarta.xml.bind.Marshaller m, Object object, XMLStreamWriter output) throws jakarta.xml.bind.JAXBException
      Specified by:
      marshal in class org.glassfish.jaxb.runtime.api.Bridge
      Throws:
      jakarta.xml.bind.JAXBException
    • marshal

      public void marshal(jakarta.xml.bind.Marshaller m, Object object, OutputStream output, NamespaceContext nsContext) throws jakarta.xml.bind.JAXBException
      Specified by:
      marshal in class org.glassfish.jaxb.runtime.api.Bridge
      Throws:
      jakarta.xml.bind.JAXBException
    • marshal

      public void marshal(jakarta.xml.bind.Marshaller m, Object object, Node output) throws jakarta.xml.bind.JAXBException
      Specified by:
      marshal in class org.glassfish.jaxb.runtime.api.Bridge
      Throws:
      jakarta.xml.bind.JAXBException
    • marshal

      public void marshal(jakarta.xml.bind.Marshaller m, Object object, ContentHandler contentHandler) throws jakarta.xml.bind.JAXBException
      Specified by:
      marshal in class org.glassfish.jaxb.runtime.api.Bridge
      Throws:
      jakarta.xml.bind.JAXBException
    • marshal

      public void marshal(jakarta.xml.bind.Marshaller m, Object object, Result result) throws jakarta.xml.bind.JAXBException
      Specified by:
      marshal in class org.glassfish.jaxb.runtime.api.Bridge
      Throws:
      jakarta.xml.bind.JAXBException
    • unmarshal

      public Object unmarshal(jakarta.xml.bind.Unmarshaller u, XMLStreamReader in)
      Specified by:
      unmarshal in class org.glassfish.jaxb.runtime.api.Bridge
    • unmarshal

      public Object unmarshal(jakarta.xml.bind.Unmarshaller u, Source in)
      Specified by:
      unmarshal in class org.glassfish.jaxb.runtime.api.Bridge
    • unmarshal

      public Object unmarshal(jakarta.xml.bind.Unmarshaller u, InputStream in)
      Specified by:
      unmarshal in class org.glassfish.jaxb.runtime.api.Bridge
    • unmarshal

      public Object unmarshal(jakarta.xml.bind.Unmarshaller u, Node n)
      Specified by:
      unmarshal in class org.glassfish.jaxb.runtime.api.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 org.glassfish.jaxb.runtime.api.TypeReference getTypeReference()
      Specified by:
      getTypeReference in class org.glassfish.jaxb.runtime.api.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.