public final class MapNamespaceContext extends Object implements NamespaceContext
Constructor and Description |
---|
MapNamespaceContext() |
MapNamespaceContext(Map<String,String> ns) |
MapNamespaceContext(Node node) |
Modifier and Type | Method and Description |
---|---|
void |
addNamespace(String prefix,
String namespaceURI) |
void |
addNamespaces(Map<String,String> ns) |
String |
getNamespaceURI(String prefix) |
String |
getPrefix(String namespaceURI) |
Iterator<String> |
getPrefixes(String namespaceURI) |
Map<String,String> |
getUsedNamespaces() |
void |
setTargetNode(Node node) |
public MapNamespaceContext()
public MapNamespaceContext(Node node)
public void setTargetNode(Node node)
public String getNamespaceURI(String prefix)
getNamespaceURI
in interface NamespaceContext
public String getPrefix(String namespaceURI)
getPrefix
in interface NamespaceContext
public Iterator<String> getPrefixes(String namespaceURI)
getPrefixes
in interface NamespaceContext
Copyright © 2018 JBoss by Red Hat. All rights reserved.