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 classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.LoggerLogging object.private static final Map<String, XPathExpression> Maps (and caches) the XPathStringto its compiledXPathExpression. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateThou 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 NodeListstatic NodeListeval(XmlResourceCollection collection, String xPath) static XPathExpressionstatic Documentstatic DocumentloadXml(InputStream in) static Documentstatic XPathUtils.NodeListIteratorstatic XPathUtils.NodeListIteratorstatic XPathUtils.NodeListIteratornodes(IntegratedDataViewer idv, IdvResourceManager.IdvResource collectionId, String xPath) nodes(XmlResourceCollection collection, String xPath)
-
Field Details
-
logger
Logging object. -
pathMap
Maps (and caches) the XPathStringto 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
-