diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-15 16:06:49 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-15 16:06:49 +0000 |
commit | 5dd2ce8d6ab5905fb4b4366d1063c6161f91c261 (patch) | |
tree | 55fabb1b06d81b5ed3b26f35a298c9d653e47d9a /branches/sca-equinox/modules/databinding-jaxb-axiom/src/main/java/org/apache/tuscany/sca/databinding/jaxb/axiom/ext/SourceDataSource.java | |
parent | d2fba70e65ea81a4f87d9fdfa0306bad66565c5b (diff) |
Update to axiom 1.2.7 OMDataSourceExt
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@704946 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-equinox/modules/databinding-jaxb-axiom/src/main/java/org/apache/tuscany/sca/databinding/jaxb/axiom/ext/SourceDataSource.java')
-rw-r--r-- | branches/sca-equinox/modules/databinding-jaxb-axiom/src/main/java/org/apache/tuscany/sca/databinding/jaxb/axiom/ext/SourceDataSource.java | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/branches/sca-equinox/modules/databinding-jaxb-axiom/src/main/java/org/apache/tuscany/sca/databinding/jaxb/axiom/ext/SourceDataSource.java b/branches/sca-equinox/modules/databinding-jaxb-axiom/src/main/java/org/apache/tuscany/sca/databinding/jaxb/axiom/ext/SourceDataSource.java index 758a82f72f..0a12654524 100644 --- a/branches/sca-equinox/modules/databinding-jaxb-axiom/src/main/java/org/apache/tuscany/sca/databinding/jaxb/axiom/ext/SourceDataSource.java +++ b/branches/sca-equinox/modules/databinding-jaxb-axiom/src/main/java/org/apache/tuscany/sca/databinding/jaxb/axiom/ext/SourceDataSource.java @@ -34,16 +34,15 @@ import javax.xml.transform.TransformerFactory; import javax.xml.transform.stream.StreamResult; import javax.xml.transform.stream.StreamSource; +import org.apache.axiom.om.OMDataSourceExt; import org.apache.axiom.om.OMException; +import org.apache.axiom.om.ds.OMDataSourceExtBase; import org.apache.axiom.om.util.StAXUtils; /** * OMDataSource backed by a source */ -public class SourceDataSource -// FIXME: [rfeng] Re-enable it after we move to AXIOM 1.2.7 -// extends OMDataSourceExtBase -{ +public class SourceDataSource extends OMDataSourceExtBase { private Source data; public SourceDataSource(Source data) { @@ -54,10 +53,9 @@ public class SourceDataSource public void close() { } - // FIXME: [rfeng] Re-enable it after we move to AXIOM 1.2.7 - // public OMDataSourceExt copy() { - // return new SourceDataSource(data); - // } + public OMDataSourceExt copy() { + return new SourceDataSource(data); + } public Object getObject() { return data; |