Author: thilina
Date: Thu Jan 25 03:32:25 2007
New Revision: 499745

URL: http://svn.apache.org/viewvc?view=rev&rev=499745
Log:
adding a method to access the encapsulated DataSource...
This is usefull when accessing the native data in the DataSource object.

Modified:
    
webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java

Modified: 
webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java?view=diff&rev=499745&r1=499744&r2=499745
==============================================================================
--- 
webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java
 (original)
+++ 
webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java
 Thu Jan 25 03:32:25 2007
@@ -785,4 +785,13 @@
     OMNamespace handleNamespace(String namespaceURI, String prefix) {
         return super.handleNamespace(namespaceURI, prefix);    //To change 
body of overridden methods use File | Settings | File Templates.
     }
+
+       /**
+        * Provide access to the data source encapsulated in OMSourcedEle. This 
is usesfull
+        * when we want to access the raw data in the data source.
+        * @return the internal datasource
+        */
+       public OMDataSource getDataSource() {
+               return dataSource;
+       }
 }



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

Reply via email to