You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by bi...@apache.org on 2020/04/14 20:02:34 UTC

[axis-axis2-java-core] 22/38: Merged r1298550 to the 1.5 branch.

This is an automated email from the ASF dual-hosted git repository.

billblough pushed a commit to branch 1_5
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git

commit 04a183ee9709a1e8bb285deb0fdaef6e052441e4
Author: Andreas Veithen <ve...@apache.org>
AuthorDate: Sat Mar 10 09:32:20 2012 +0000

    Merged r1298550 to the 1.5 branch.
---
 modules/saaj/src/org/apache/axis2/saaj/TextImplEx.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/saaj/src/org/apache/axis2/saaj/TextImplEx.java b/modules/saaj/src/org/apache/axis2/saaj/TextImplEx.java
index f846d3c..ebd0fae 100644
--- a/modules/saaj/src/org/apache/axis2/saaj/TextImplEx.java
+++ b/modules/saaj/src/org/apache/axis2/saaj/TextImplEx.java
@@ -24,6 +24,7 @@ import org.apache.axiom.om.OMException;
 import org.apache.axiom.om.impl.dom.DOOMAbstractFactory;
 import org.apache.axiom.om.impl.dom.TextImpl;
 import org.w3c.dom.DOMException;
+import org.w3c.dom.Document;
 
 import javax.xml.soap.SOAPElement;
 import javax.xml.soap.Text;
@@ -242,6 +243,10 @@ public class TextImplEx extends NodeImplEx implements Text {
         textNode.setParent(element);
     }
 
+    public Document getOwnerDocument() {
+        return textNode.getOwnerDocument();
+    }
+
     /* (non-Javadoc)
       * @see org.apache.axiom.om.OMNode#getParent()
       */