Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6107

Supporting (Un)marshaller aware XML Readers and Writers in jaxb data binding

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • 2.7.13, 3.0.2
    • 3.0.3, 2.7.14, 3.1
    • None
    • None
    • Unknown

    Description

      In order to support some flexibility over how the XML is loaded, would be good to be able to use a custom XML Reader / Writer that can adjust it's behaviour based on the state of the (Un)marshaller.

      Add new interfaces

      public interface UnmarshallerAwareXMLReader {
      void setUnmarshaller(Unmarshaller unmarshaller);
      }

      public interface MarshallerAwareXMLWriter {
      void setMarshaller(Marshaller unmarshaller);
      }

      Attachments

        Activity

          People

            jpell Jason Pell
            jpell Jason Pell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: