public final class DomUtils extends Object
| Constructor and Description |
|---|
DomUtils() |
| Modifier and Type | Method and Description |
|---|---|
protected static Element |
getChildElementByName(Element parent,
String localName)
Returns the first child element with the given name.
|
protected static List<Element> |
getChildElementsByName(Element parent,
String localName)
Returns a list of child elements with the given name.
|
protected static Element getChildElementByName(Element parent, String localName)
Returns the first child element with the given name. Returns null if not found.
parent - parent elementlocalName - name of the child elementprotected static List<Element> getChildElementsByName(Element parent, String localName)
Returns a list of child elements with the given name. Returns an empty list if there are no such child elements.
parent - parent elementlocalName - Local name of the child elementCopyright © 2018 Hitachi Vantara. All rights reserved.