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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.7.13, 3.0.2
    • Fix Version/s: 3.0.3, 2.7.14, 3.1
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: