Package org.apache.tuscany.sca.databinding.saxon.collection

Examples of org.apache.tuscany.sca.databinding.saxon.collection.ItemList


            iterator = exp.iterator(dynamicContext);
        } finally {
            SaxonDataBindingHelper.CURR_EXECUTING_CONFIG = oldConfigValue;
        }
       
        ItemList list = new ItemList();
        Item item = iterator.next();
              
        while (item != null) {
          list.add(item);
          item = iterator.next();
         
        }
       
        if (list.size() == 0) {
            return null;
           
        } else if (list.size() == 1) {
       
          item = list.iterator().next();
         
          if (item instanceof NodeInfo) {
                return item;
            } else {
                return Value.asValue(item);
View Full Code Here


            iterator = exp.iterator(dynamicContext);
        } finally {
            SaxonDataBindingHelper.CURR_EXECUTING_CONFIG = oldConfigValue;
        }
       
        ItemList list = new ItemList();
        Item item = iterator.next();
              
        while (item != null) {
          list.add(item);
          item = iterator.next();
         
        }
       
        if (list.size() == 0) {
            return null;
           
        } else if (list.size() == 1) {
       
          item = list.iterator().next();
         
          if (item instanceof NodeInfo) {
                return item;
            } else {
                return Value.asValue(item);
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.databinding.saxon.collection.ItemList

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.