Here you can find the source of getNodeList(Element parent)
Parameter | Description |
---|---|
parent | a parameter |
public static NodeList getNodeList(Element parent)
//package com.java2s; //License from project: Apache License import org.w3c.dom.Element; import org.w3c.dom.NodeList; public class Main { /**//from w w w . j a v a 2 s . c om * Get all child nodes of a parent node * * @param parent * @return */ public static NodeList getNodeList(Element parent) { return parent.getChildNodes(); } }