Package edu.wisc.ssec.mcidasv.util
Class XPathUtils
java.lang.Object
edu.wisc.ssec.mcidasv.util.XPathUtils
Documentation is still forthcoming, but remember that no methods accept
null
parameters!-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
Logging object.private static final Map
<String, XPathExpression> Maps (and caches) the XPathString
to its compiledXPathExpression
. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Thou shalt not create an instantiation of this class! -
Method Summary
Modifier and TypeMethodDescriptionelements
(IntegratedDataViewer idv, IdvResourceManager.IdvResource collectionId, String xPath) elements
(XmlResourceCollection collection, String xPath) static NodeList
static NodeList
eval
(XmlResourceCollection collection, String xPath) static XPathExpression
static Document
static Document
loadXml
(InputStream in) static Document
static XPathUtils.NodeListIterator
static XPathUtils.NodeListIterator
static XPathUtils.NodeListIterator
nodes
(IntegratedDataViewer idv, IdvResourceManager.IdvResource collectionId, String xPath) nodes
(XmlResourceCollection collection, String xPath)
-
Field Details
-
logger
Logging object. -
pathMap
Maps (and caches) the XPathString
to its compiledXPathExpression
.
-
-
Constructor Details
-
XPathUtils
private XPathUtils()Thou shalt not create an instantiation of this class!
-
-
Method Details
-
expr
-
eval
-
eval
-
eval
-
nodes
public static List<Node> nodes(IntegratedDataViewer idv, IdvResourceManager.IdvResource collectionId, String xPath) -
nodes
-
nodes
-
nodes
-
nodes
-
elements
public static List<Element> elements(IntegratedDataViewer idv, IdvResourceManager.IdvResource collectionId, String xPath) -
elements
-
elements
-
elements
-
elements
-
loadXml
-
loadXml
-
loadXml
-