Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC)
11g Release 1 (11.1)

E17274-04


oracle.stellent.ridc.common.xml
Class MapNamespaceContext

java.lang.Object
  extended by oracle.stellent.ridc.common.xml.MapNamespaceContext

All Implemented Interfaces:
NamespaceContext

public class MapNamespaceContext
extends Object
implements NamespaceContext

An XML namespace context that queries a Map


Field Summary
protected  Map<String,String> m_namespaces
           

 

Constructor Summary
MapNamespaceContext(Map<String,String> namespaces)
           

 

Method Summary
 String getNamespaceURI(String prefix)
          Queries our map for the prefix value; also handles the default "xml" prefix.
 String getPrefix(String uri)
          This method isn't necessary for XPath processing.
 Iterator getPrefixes(String uri)
          This method isn't necessary for XPath processing either.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

m_namespaces

protected Map<String,String> m_namespaces

Constructor Detail

MapNamespaceContext

public MapNamespaceContext(Map<String,String> namespaces)

Method Detail

getNamespaceURI

public String getNamespaceURI(String prefix)
Queries our map for the prefix value; also handles the default "xml" prefix.
Specified by:
getNamespaceURI in interface NamespaceContext
Parameters:
prefix - the prefix
Returns:
the XML namespace or XMLConstants.NULL_NS_URI if there is no namespace

getPrefix

public String getPrefix(String uri)
This method isn't necessary for XPath processing.
Specified by:
getPrefix in interface NamespaceContext

getPrefixes

public Iterator getPrefixes(String uri)
This method isn't necessary for XPath processing either.
Specified by:
getPrefixes in interface NamespaceContext

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC)
11g Release 1 (11.1)

E17274-04


Copyright © 2008, 2013, Oracle and/or its affiliates. All rights reserved.