Class NsUtils
java.lang.Object
gov.nasa.pds.registry.common.util.xml.NsUtils
Utility methods to extract namespace information from XMLs.
- Author:
- karpenko
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XmlNamespacesgetNamespaces(Document doc) Extract URI to prefix and prefix to location mappings.
-
Constructor Details
-
NsUtils
public NsUtils()
-
-
Method Details
-
getNamespaces
Extract URI to prefix and prefix to location mappings.- Parameters:
doc- XML DOM model- Returns:
- mappings
- Throws:
Exception- an exception
-