cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Winkels (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (CXF-6074) Add configured XmlAdapters
Date Fri, 16 Jan 2015 17:01:34 GMT

     [ https://issues.apache.org/jira/browse/CXF-6074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maarten Winkels updated CXF-6074:
---------------------------------
    Comment: was deleted

(was: diff --git a/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBDataBindingTest.java
b/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBDataBindingTest.java
index 5aeb192..d15a04f 100644
--- a/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBDataBindingTest.java
+++ b/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBDataBindingTest.java
@@ -290,6 +290,9 @@
     public static class Language {
         private final String code;
         private final String name;
+        public Language() {
+        	this(null, null);
+        }
         public Language(String code, String name) {
             this.code = code;
             this.name = name;)

> Add configured XmlAdapters
> --------------------------
>
>                 Key: CXF-6074
>                 URL: https://issues.apache.org/jira/browse/CXF-6074
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAXB Databinding
>            Reporter: Maarten Winkels
>             Fix For: 3.0.3
>
>
> In some cases an XmlAdapter (as used by JAXB) needs state. For this the Marshaller and
Unmarshaller have a setAdapter(...) method, that accepts a configured instance.
> Currently the JAXBDataBinding has no configuration for this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message