org.w3c.mwi.mobileok.basic
Class MobileOKNamespaceContext
java.lang.Object
org.w3c.mwi.mobileok.basic.MobileOKNamespaceContext
- All Implemented Interfaces:
- javax.xml.namespace.NamespaceContext
public final class MobileOKNamespaceContext
- extends java.lang.Object
- implements javax.xml.namespace.NamespaceContext
Defines mobileOK namespaces prefixes that can be used in XPath expressions.
The list of prefixes and namespaces defined is:
moki="http://www.w3.org/2007/05/moki"
xml=XMLConstants.XML_NS_URI
html="http://www.w3.org/1999/xhtml
- Version:
- $Revision: 1.1 $
- Author:
- The W3C mobileOK Checker Task Force
Field Summary |
private java.util.Map<java.lang.String,java.lang.String> |
prefixMap
|
Method Summary |
java.lang.String |
getNamespaceURI(java.lang.String prefix)
|
java.lang.String |
getPrefix(java.lang.String uri)
|
java.util.Iterator<?> |
getPrefixes(java.lang.String uri)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prefixMap
private final java.util.Map<java.lang.String,java.lang.String> prefixMap
MobileOKNamespaceContext
public MobileOKNamespaceContext()
getNamespaceURI
public java.lang.String getNamespaceURI(java.lang.String prefix)
- Specified by:
getNamespaceURI
in interface javax.xml.namespace.NamespaceContext
getPrefix
public java.lang.String getPrefix(java.lang.String uri)
- Specified by:
getPrefix
in interface javax.xml.namespace.NamespaceContext
getPrefixes
public java.util.Iterator<?> getPrefixes(java.lang.String uri)
- Specified by:
getPrefixes
in interface javax.xml.namespace.NamespaceContext