Package org.exist.xquery.value

Examples of org.exist.xquery.value.EmptySequence


      throws XPathException {
   
    // get the query expression
    final String expr = args[0].getStringValue();
    if ("".equals(expr.trim())) {
      return new EmptySequence();
    }
    context.pushNamespaceContext();
    logger.debug("eval: " + expr);
    // TODO(pkaminsk2): why replicate XQuery.compile here?
   
View Full Code Here


        if (Type.subTypeOf(expr.getType(), Type.ANY_URI)) {
            querySource = loadQueryFromURI(expr);
        } else {
            final String queryStr = expr.getStringValue();
            if("".equals(queryStr.trim())) {
              return new EmptySequence();
            }
            querySource = new StringSource(queryStr);
        }

        NodeValue contextInit = null;
View Full Code Here

TOP

Related Classes of org.exist.xquery.value.EmptySequence

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.