Class MarshallerBridge

    • Constructor Detail

      • MarshallerBridge

        protected MarshallerBridge​(JAXBContextImpl context)
    • Method Detail

      • 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
      • 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.