You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by th...@apache.org on 2007/01/25 12:32:27 UTC

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

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: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org