You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by jh...@apache.org on 2007/03/21 14:14:19 UTC

svn commit: r520875 - /webservices/muse/trunk/modules/muse-util-qname/src/javax/xml/namespace/NamespaceContext.java

Author: jhawkins
Date: Wed Mar 21 06:14:18 2007
New Revision: 520875

URL: http://svn.apache.org/viewvc?view=rev&rev=520875
Log:
[MUSE-205] MUSE on OSGI/Axis not working with wsdl2java-generated code and samples 

Added:
    webservices/muse/trunk/modules/muse-util-qname/src/javax/xml/namespace/NamespaceContext.java

Added: webservices/muse/trunk/modules/muse-util-qname/src/javax/xml/namespace/NamespaceContext.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-util-qname/src/javax/xml/namespace/NamespaceContext.java?view=auto&rev=520875
==============================================================================
--- webservices/muse/trunk/modules/muse-util-qname/src/javax/xml/namespace/NamespaceContext.java (added)
+++ webservices/muse/trunk/modules/muse-util-qname/src/javax/xml/namespace/NamespaceContext.java Wed Mar 21 06:14:18 2007
@@ -0,0 +1,38 @@
+/*=============================================================================*
+ *  Copyright 2006 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *=============================================================================*/
+
+package javax.xml.namespace;
+
+import java.util.Iterator;
+
+/**
+ * 
+ * This is an implementation of javax.xml.namespace.NamespaceContext for J2SE 1.4.x. 
+ * This interface is available in myriad other places and platforms, but we 
+ * need to have one in a consistent place for development time. We could 
+ * take one from some other project and declare it The Standard, but that 
+ * would make Legal sad.
+ *
+ * @author Joel Hawkins (jhawkins)
+ *
+ */
+
+public interface NamespaceContext
+{
+	 String getNamespaceURI(String prefix); 
+	 String getPrefix(String namespaceURI); 
+	 Iterator getPrefixes(String namespaceURI); 
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org