Package org.apache.abdera.xpath

Examples of org.apache.abdera.xpath.XPathException


      throws XPathException {
    try {
      XPath xpath = getXPath(path, namespaces, functions, variables);
      return xpath.selectNodes(base);
    } catch (JaxenException e) {
      throw new XPathException(e);
    }
  }
View Full Code Here


    Map<QName,Object> variables) throws XPathException {
    try {
      XPath xpath = getXPath(path, namespaces, functions, variables);
      return xpath.selectSingleNode(base);
    } catch (JaxenException e) {
      throw new XPathException(e);
    }
  }
View Full Code Here

    Map<QName,Object> variables) throws XPathException {
    try {
      XPath xpath = getXPath(path, namespaces, functions, variables);
      return xpath.evaluate(base);
    } catch (JaxenException e) {
      throw new XPathException(e);
    }
  }
View Full Code Here

      throws XPathException {
    try {
      XPath xpath = getXPath(path, namespaces, functions, variables);
      return xpath.stringValueOf(base);
    } catch (JaxenException e) {
      throw new XPathException(e);
    }
  }
View Full Code Here

      throws XPathException {
    try {
      XPath xpath = getXPath(path, namespaces, functions, variables);
      return xpath.booleanValueOf(base);
    } catch (JaxenException e) {
      throw new XPathException(e);
    }
  }
View Full Code Here

      throws XPathException {
    try {
      XPath xpath = getXPath(path, namespaces, functions, variables);
      return xpath.numberValueOf(base);
    } catch (JaxenException e) {
      throw new XPathException(e);
    }
  }
View Full Code Here

          nodes.add(obj);
        }
      }
      return nodes;
    } catch (JaxenException e) {
      throw new XPathException(e);
    }
  }
View Full Code Here

      XPath xpath = getXPath(path, namespaces, functions, variables);
      Object obj = xpath.selectSingleNode(base);
      if (obj instanceof OMAttribute) obj = new FOMAttribute((OMAttribute) obj);
      return obj;
    } catch (JaxenException e) {
      throw new XPathException(e);
    }
  }
View Full Code Here

    try {
      base = getElementWrapped(base);
      XPath xpath = getXPath(path, namespaces, functions, variables);
      return xpath.evaluate(base);
    } catch (JaxenException e) {
      throw new XPathException(e);
    }
  }
View Full Code Here

    try {
      base = getElementWrapped(base);
      XPath xpath = getXPath(path, namespaces, functions, variables);
      return xpath.stringValueOf(base);
    } catch (JaxenException e) {
      throw new XPathException(e);
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.abdera.xpath.XPathException

Copyright © 2018 www.massapicom. 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.