Package org.exist.xquery.value

Examples of org.exist.xquery.value.Sequence.convertTo()


       
        final Sequence item = getExpression(0).eval(contextSequence);
        if (item.isEmpty())
          {return item;}
       
    NumericValue value = (NumericValue)item.convertTo(Type.NUMBER);
    if(mode == Constants.MINUS)
            {result = value.negate();}
    else
            {result =  value;}
       
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.