You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2008/04/16 02:32:41 UTC
svn commit: r648473 -
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/dom/Element.java
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;
+ }
}