We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12a62dd commit a092d3dCopy full SHA for a092d3d
src/main/java/org/scijava/util/XML.java
@@ -252,6 +252,13 @@ public static ArrayList<Element> elements(final NodeList nodes) {
252
return elements;
253
}
254
255
+ /** Gets the given element's specified child elements. */
256
+ public static ArrayList<Element>
257
+ elements(final Element el, final String child)
258
+ {
259
+ return elements(el.getElementsByTagName(child));
260
+ }
261
+
262
// -- Helper methods --
263
264
/** Loads an XML document from the given file. */
0 commit comments