Home | History | Annotate | Download | only in rss

Lines Matching defs:xpath

26 import javax.xml.xpath.XPath;
27 import javax.xml.xpath.XPathConstants;
28 import javax.xml.xpath.XPathExpressionException;
29 import javax.xml.xpath.XPathFactory;
50 * xpath - xpath string representing the object to modify
62 private static final XPath xp = XPathFactory.newInstance().newXPath();
71 private String xpath;
90 public void setXpath(String xpath) {
91 if (isNullString(xpath))
94 { this.xpath = xpath; }
103 System.out.println(Messages.getString("RSSFeedUpdateEntryTask.SearchingFor") + SP + xpath + (!isNullString(replacement)?", " + Messages.getString("RSSFeedUpdateEntryTask.ReplacingWith") + " '" + replacement + "'":NS)); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$
214 if (debug==0) { System.out.print(xpath + (isNullString(replacement)?" = ":" :: ")); } //$NON-NLS-1$ //$NON-NLS-2$
215 NodeList nodelist = getNodeList(document, xpath);
278 NodeList nodelist = getNodeList(document, xpath.substring(0, xpath.lastIndexOf("/")));
295 private NodeList getNodeList(Document document, String xpath)
301 Object o = xp.evaluate(xpath, document, XPathConstants.NODESET);