com.sun.xml.wss.impl.dsig
Class NamespaceContextImpl
java.lang.Object
com.sun.xml.wss.impl.dsig.NamespaceContextImpl
- All Implemented Interfaces:
- NamespaceContext
public class NamespaceContextImpl
- extends Object
- implements NamespaceContext
Implements NamespaceContext .
TODO : Performance Improvements.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamespaceContextImpl
public NamespaceContextImpl()
add
public void add(String prefix,
String uri)
- Add prefix and namespaceuri to be associated with the prefix.
- Parameters:
prefix - Namespace Prefixuri - NamespaceURI
getNamespaceURI
public String getNamespaceURI(String prefix)
- Specified by:
getNamespaceURI in interface NamespaceContext
- Parameters:
prefix -
- Returns:
getPrefix
public String getPrefix(String namespaceURI)
- Specified by:
getPrefix in interface NamespaceContext
- Parameters:
namespaceURI -
- Returns:
- NamespaceURI associated with the prefix
getPrefixes
public Iterator getPrefixes(String namespaceURI)
- Specified by:
getPrefixes in interface NamespaceContext
- Parameters:
namespaceURI -
- Returns:
- Iterator to list of prefixes associated with the namespaceURI
getMap
public Map getMap()
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.