Package org.openntf.domino.utils.xml

Examples of org.openntf.domino.utils.xml.XMLNode.selectNodes()


  protected List<Object> getItemValue(final String itemName) {
    List<Object> result = new ArrayList<Object>();
    XMLNode node = getDxl().selectSingleNode("//item[@name='" + XMLDocument.escapeXPathValue(itemName) + "']");
    if (node != null) {
      List<XMLNode> nodes = node.selectNodes(".//number | .//text");
      for (XMLNode child : nodes) {
        if (child.getNodeName().equals("number")) {
          result.add(Double.parseDouble(child.getText()));
        } else {
          result.add(child.getText());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.