Author: hlship
Date: Tue Apr 15 17:32:39 2008
New Revision: 648473

URL: http://svn.apache.org/viewvc?rev=648473&view=rev
Log:
TAPESTRY-2297: Element should expose namespace URL in which the element is 
defined

Modified:
    
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/dom/Element.java

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/dom/Element.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/dom/Element.java?rev=648473&r1=648472&r2=648473&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/dom/Element.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/dom/Element.java
 Tue Apr 15 17:32:39 2008
@@ -522,4 +522,11 @@
         return this;
     }
 
+    /**
+     * Returns the namespace for this element (which is typically a URL). The 
namespace may be null.
+     */
+    public String getNamespace()
+    {
+        return _namespace;
+    }
 }


Reply via email to