org.knime.core.data.xml.util
Class DefaultNamespaceContext
java.lang.Object
org.knime.core.data.xml.util.DefaultNamespaceContext
- All Implemented Interfaces:
- NamespaceContext
public class DefaultNamespaceContext
- extends Object
- implements NamespaceContext
A default implementation of NamespaceContext. The JDK does not
provide a default implementation.
- Author:
- Heiko Hofer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultNamespaceContext
public DefaultNamespaceContext(String[] prefixes,
String[] namespaces)
- The context with the mapping prefixes[i] matches namespaces[i]
- Parameters:
prefixes - the namespace prefixesnamespaces - the namespaces
getNamespaceURI
public String getNamespaceURI(String prefix)
-
- Specified by:
getNamespaceURI in interface NamespaceContext
getPrefix
public String getPrefix(String uri)
-
- Specified by:
getPrefix in interface NamespaceContext
getPrefixes
public Iterator getPrefixes(String uri)
-
- Specified by:
getPrefixes in interface NamespaceContext
Copyright, 2003 - 2012. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.