Class DomUtils
java.lang.Object
org.pentaho.di.trans.steps.webservices.wsdl.DomUtils
Some DOM utility methods.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static Element
getChildElementByName
(Element parent, String localName) Returns the first child element with the given name.getChildElementsByName
(Element parent, String localName) Returns a list of child elements with the given name.
-
Constructor Details
-
DomUtils
public DomUtils()
-
-
Method Details
-
getChildElementByName
Returns the first child element with the given name. Returns
null
if not found.- Parameters:
parent
- parent elementlocalName
- name of the child element- Returns:
- child element, null if not found.
-
getChildElementsByName
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
-