org.w3c.mwi.mobileok.basic
Class MobileOKNamespaceContext

java.lang.Object
  extended by 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:

Version:
$Revision: 1.1 $
Author:
The W3C mobileOK Checker Task Force

Field Summary
private  java.util.Map<java.lang.String,java.lang.String> prefixMap
           
 
Constructor Summary
MobileOKNamespaceContext()
           
 
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
 

Field Detail

prefixMap

private final java.util.Map<java.lang.String,java.lang.String> prefixMap
Constructor Detail

MobileOKNamespaceContext

public MobileOKNamespaceContext()
Method Detail

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