You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2001/04/03 10:43:37 UTC
cvs commit: jakarta-slide/src/share/org/apache/slide/common Namespace.java
juergen 01/04/03 01:43:37
Modified: src/share/org/apache/slide/common Namespace.java
Log:
getter method to return the scopes managed by a namespace implemented.
Revision Changes Path
1.27 +14 -4 jakarta-slide/src/share/org/apache/slide/common/Namespace.java
Index: Namespace.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/common/Namespace.java,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- Namespace.java 2001/03/30 11:18:02 1.26
+++ Namespace.java 2001/04/03 08:43:36 1.27
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/common/Namespace.java,v 1.26 2001/03/30 11:18:02 juergen Exp $
- * $Revision: 1.26 $
- * $Date: 2001/03/30 11:18:02 $
+ * $Header: /home/cvs/jakarta-slide/src/share/org/apache/slide/common/Namespace.java,v 1.27 2001/04/03 08:43:36 juergen Exp $
+ * $Revision: 1.27 $
+ * $Date: 2001/04/03 08:43:36 $
*
* ====================================================================
*
@@ -93,7 +93,7 @@
* Namespace class.
*
* @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
- * @version $Revision: 1.26 $
+ * @version $Revision: 1.27 $
*/
public final class Namespace {
@@ -210,6 +210,16 @@
*/
NamespaceConfig getConfig() {
return config;
+ }
+
+
+ /**
+ ** Get all scopes managed by this namespace.
+ **
+ ** @return return an enumeration of all scopes
+ **/
+ public Enumeration getScopes() {
+ return stores.keys();
}