org.basex.api.jaxp
Class BXNamespaceContext

java.lang.Object
  extended by org.basex.api.jaxp.BXNamespaceContext
All Implemented Interfaces:
NamespaceContext

public final class BXNamespaceContext
extends Object
implements NamespaceContext

This class provides access to namespace context.

Author:
Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen

Constructor Summary
BXNamespaceContext(NSLocal n)
          Constructor.
 
Method Summary
 String getNamespaceURI(String pre)
           
 String getPrefix(String uri)
           
 Iterator<String> getPrefixes(String uri)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BXNamespaceContext

public BXNamespaceContext(NSLocal n)
Constructor.

Parameters:
n - namespace references
Method Detail

getNamespaceURI

public String getNamespaceURI(String pre)
Specified by:
getNamespaceURI in interface NamespaceContext

getPrefix

public String getPrefix(String uri)
Specified by:
getPrefix in interface NamespaceContext

getPrefixes

public Iterator<String> getPrefixes(String uri)
Specified by:
getPrefixes in interface NamespaceContext