public class NamespaceBindings extends Object implements NamespaceContext
Constructor and Description |
---|
NamespaceBindings() |
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
public void addNamespaceBinding(String namespaceURI, String prefix)
namespaceURI
- A String denoting a namespace name (an absolute URI value).prefix
- A prefix associated with the namespace name.public void addAllBindings(Map<String,String> nsBindings)
nsBindings
- A Map containing a collection of namespace bindings where the
key is an absolute URI specifying the namespace name and the
value denotes the associated prefix.public Map<String,String> getAllBindings()
public static NamespaceBindings withStandardBindings()
Copyright © 2022 Open Geospatial Consortium. All rights reserved.