Package org.exist.xquery.value

Examples of org.exist.xquery.value.ValueSequence.itemAt()


                    item = i.nextItem();
                    tmp.add(item);
                }
                result = new ValueSequence();
                for (int i = seq.getItemCount() - 1; i >= 0; i--) {
                    result.add(tmp.itemAt(i));
                }
        }

        if (context.getProfiler().isEnabled())
            {context.getProfiler().end(this, "", result);}
View Full Code Here


          p = FunStringToCodepoints.indexOf(mapStr, ch);
          if(p == Constants.STRING_NOT_FOUND) {
                    buf.append(FunStringToCodepoints.codePointToString(ch));
                } else {
            if (p < transStr.getItemCount())
              {buf.append(FunStringToCodepoints.codePointToString((IntegerValue) transStr.itemAt(p)));}
          }
        }
            result = new StringValue(buf.toString());
        }
View Full Code Here

            if (sourceObj != null) {
              if (sourceObj instanceof ValueSequence) {
          final ValueSequence seq = (ValueSequence) sourceObj;
         
          if (seq.size() == 1) {
            sourceObj = seq.itemAt(0);
                    }
        }
             
                if (sourceObj instanceof Item) {
                    inputNode = (Item) sourceObj;
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.