Home | History | Annotate | Download | only in rss

Lines Matching refs:nodelist

38 import org.w3c.dom.NodeList;
215 NodeList nodelist = getNodeList(document, xpath);
216 // Process the elements in the nodelist
217 if (nodelist != null && nodelist.getLength()>0) {
218 for (int i=0; i<nodelist.getLength(); i++) {
219 Node node = (Node)nodelist.item(i);
223 aNode = (Attr)nodelist.item(i);
228 aNode = (Element)nodelist.item(i);
233 aNode = (Text)nodelist.item(i);
278 NodeList nodelist = getNodeList(document, xpath.substring(0, xpath.lastIndexOf("/")));
279 if (nodelist !=null && nodelist.getLength()>0)
281 for (int i=0; i<nodelist.getLength(); i++) {
282 node = (Node)nodelist.item(i);
295 private NodeList getNodeList(Document document, String xpath)
297 NodeList nodelist = null;
302 if (o instanceof NodeList)
304 nodelist = (NodeList)o;
311 return nodelist;