You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2008/01/15 22:57:04 UTC
svn commit: r612238 - in /incubator/cxf/branches/2.0.x-fixes: ./
rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java
Author: dkulp
Date: Tue Jan 15 13:57:02 2008
New Revision: 612238
URL: http://svn.apache.org/viewvc?rev=612238&view=rev
Log:
Merged revisions 611923 via svnmerge from
https://svn.apache.org/repos/asf/incubator/cxf/trunk
........
r611923 | dkulp | 2008-01-14 15:44:09 -0500 (Mon, 14 Jan 2008) | 2 lines
Make the marshaller properties configurable
........
Modified:
incubator/cxf/branches/2.0.x-fixes/ (props changed)
incubator/cxf/branches/2.0.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java
Propchange: incubator/cxf/branches/2.0.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified: incubator/cxf/branches/2.0.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java
URL: http://svn.apache.org/viewvc/incubator/cxf/branches/2.0.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java?rev=612238&r1=612237&r2=612238&view=diff
==============================================================================
--- incubator/cxf/branches/2.0.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java (original)
+++ incubator/cxf/branches/2.0.x-fixes/rt/databinding/jaxb/src/main/java/org/apache/cxf/jaxb/JAXBDataBinding.java Tue Jan 15 13:57:02 2008
@@ -498,5 +498,22 @@
this.contextProperties = contextProperties;
}
-
+ /**
+ * Return a map of properties. These properties are set into the JAXB Marshaller
+ * (via Marshaller.setProperty(...) when the marshaller is created.
+ * @return the map of JAXB marshaller properties.
+ */
+ public Map<String, Object> getMarshallerProperties() {
+ return marshallerProperties;
+ }
+
+ /**
+ * Set a map of JAXB marshaller properties. These properties are set into the JAXB Marshaller
+ * (via Marshaller.setProperty(...) when the marshaller is created.
+ *
+ * @param marshallerProperties map of properties.
+ */
+ public void setMarshallerProperties(Map<String, Object> marshallerProperties) {
+ this.marshallerProperties = marshallerProperties;
+ }
}