public class NamespaceBindings extends Object implements NamespaceContext
| Constructor and Description |
|---|
NamespaceBindings() |
public String getNamespaceURI(String prefix)
getNamespaceURI in interface NamespaceContextpublic String getPrefix(String namespaceURI)
getPrefix in interface NamespaceContextpublic Iterator<String> getPrefixes(String namespaceURI)
getPrefixes in interface NamespaceContextpublic 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 © 2020 Open Geospatial Consortium. All rights reserved.