Author: gawor
Date: Thu Jun 14 10:18:36 2007
New Revision: 547320

URL: http://svn.apache.org/viewvc?view=rev&rev=547320
Log:
implement getNodeValue()/setNodeValue() methods

Modified:
    
webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/TextImplEx.java

Modified: 
webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/TextImplEx.java
URL: 
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/TextImplEx.java?view=diff&rev=547320&r1=547319&r2=547320
==============================================================================
--- 
webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/TextImplEx.java
 (original)
+++ 
webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/TextImplEx.java
 Thu Jun 14 10:18:36 2007
@@ -261,6 +261,10 @@
         return textNode.getData();
     }
 
+    public String getNodeValue() {
+        return textNode.getData();
+    }
+
     /**
      * If this is a Text node then this method will set its value, otherwise 
it sets the value of
      * the immediate (Text) child of this node. The value of the immediate 
child of this node can be
@@ -272,6 +276,10 @@
      *                               child node or has a child node that is 
not a Text node
      */
     public void setValue(String value) {
+        textNode.setData(value);
+    }
+
+    public void setNodeValue(String value) {
         textNode.setData(value);
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to