Class DomUtils
- java.lang.Object
-
- org.pentaho.di.trans.steps.webservices.wsdl.DomUtils
-
public final class DomUtils extends Object
Some DOM utility methods.
-
-
Constructor Summary
Constructors Constructor Description DomUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static ElementgetChildElementByName(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.
-
-
-
Method Detail
-
getChildElementByName
protected static Element getChildElementByName(Element parent, String localName)
Returns the first child element with the given name. Returns
nullif not found.- Parameters:
parent- parent elementlocalName- name of the child element- Returns:
- child element, null if not found.
-
getChildElementsByName
protected 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.
- Parameters:
parent- parent elementlocalName- Local name of the child element- Returns:
- child elements
-
-