Uses of Class
org.basex.query.value.Value

Packages that use Value
org.basex.query XQuery implementation. 
org.basex.query.expr XQuery expressions. 
org.basex.query.ft XQuery Full Text expressions. 
org.basex.query.func XQuery functions. 
org.basex.query.gflwor   
org.basex.query.iter XQuery iterators. 
org.basex.query.path XQuery path expressions. 
org.basex.query.up.expr   
org.basex.query.util XQuery utility classes. 
org.basex.query.util.http   
org.basex.query.value XQuery data types. 
org.basex.query.value.item   
org.basex.query.value.map   
org.basex.query.value.node   
org.basex.query.value.seq   
org.basex.query.value.type   
org.basex.query.var   
 

Uses of Value in org.basex.query
 

Fields in org.basex.query declared as Value
 Value QueryContext.value
          Current context value.
 

Methods in org.basex.query that return Value
 Value QueryResources.collection(InputInfo info)
          Returns the default collection.
 Value QueryResources.collection(java.lang.String input, InputInfo info)
          Evaluates fn:collection(): opens an existing database collection, or creates a new data reference.
 Value QueryContext.get(Var var)
          Gets the value currently bound to the given variable.
 Value QueryStack.get(Var var)
          Gets the value bound to the given variable in the current stack frame.
 Value QueryContext.update()
          Performs updates.
 Value QueryContext.value()
          Returns the result value.
 Value QueryProcessor.value()
          Returns a result value.
 Value QueryException.value()
          Returns the error value.
 Value QueryContext.value(Expr expr)
          Evaluates the specified expression and returns an iterator.
 Value MainModule.value(QueryContext ctx)
          Evaluates this module and returns the result as a value.
 

Methods in org.basex.query with parameters of type Value
 void QueryContext.set(Var vr, Value vl, InputInfo ii)
          Binds an expression to a local variable.
 void QueryStack.set(Var var, Value val, QueryContext ctx, InputInfo ii)
          Sets the value of the given variable in the current stack frame.
 QueryException QueryException.value(Value v)
          Sets the error value.
 

Uses of Value in org.basex.query.expr
 

Methods in org.basex.query.expr that return Value
 Value ParseExpr.checkCtx(QueryContext ctx)
          Throws an exception if the context value is not set.
 Value XQFunction.invValue(QueryContext ctx, InputInfo ii, Value... args)
          Invokes this function with the given arguments.
 Value Treat.value(QueryContext ctx)
           
 Value Try.value(QueryContext ctx)
           
 Value Context.value(QueryContext ctx)
           
abstract  Value Expr.value(QueryContext ctx)
          Evaluates the expression and returns the resulting value.
 Value Extension.value(QueryContext ctx)
           
 Value Cast.value(QueryContext ctx)
           
 Value List.value(QueryContext ctx)
           
 Value Switch.value(QueryContext ctx)
           
 Value TypeCheck.value(QueryContext ctx)
           
 Value ParseExpr.value(QueryContext ctx)
           
 Value Range.value(QueryContext ctx)
           
 Value If.value(QueryContext ctx)
           
static Value[] Catch.values(QueryException ex)
          Returns all error values.
 

Methods in org.basex.query.expr with parameters of type Value
 Item XQFunction.invItem(QueryContext ctx, InputInfo ii, Value... args)
          Invokes this function with the given arguments.
 Value XQFunction.invValue(QueryContext ctx, InputInfo ii, Value... args)
          Invokes this function with the given arguments.
 boolean TypeCase.matches(Value val)
          Checks if the given value matches this case.
static ANode Root.root(Value v)
          Returns the root node of the specified item.
 

Uses of Value in org.basex.query.ft
 

Constructors in org.basex.query.ft with parameters of type Value
FTWords(InputInfo ii, IndexContext ic, Value t, FTMode m, QueryContext ctx)
          Constructor for index-based evaluation.
 

Uses of Value in org.basex.query.func
 

Methods in org.basex.query.func that return Value
 Value StaticFunc.invValue(QueryContext ctx, InputInfo ii, Value... arg)
           
static Value JavaMapping.toValue(java.lang.Object obj, QueryContext ctx)
          Converts the specified result to an XQuery value.
 Value TailFuncCall.value(QueryContext ctx)
           
 Value FNDb.value(QueryContext ctx)
           
 Value FNSimple.value(QueryContext ctx)
           
 Value FNGen.value(QueryContext ctx)
           
 Value JavaMapping.value(QueryContext ctx)
           
 Value FNStr.value(QueryContext ctx)
           
 Value FNPat.value(QueryContext ctx)
           
 Value BaseFuncCall.value(QueryContext ctx)
           
 Value FNMap.value(QueryContext ctx)
           
 Value PartFunc.value(QueryContext ctx)
           
 Value FNValidate.value(QueryContext ctx)
           
 Value FNClient.value(QueryContext ctx)
           
 Value FNConvert.value(QueryContext ctx)
           
 Value InlineFunc.value(QueryContext ctx)
           
 Value FNXQuery.value(QueryContext ctx)
           
 Value DynFuncCall.value(QueryContext ctx)
           
 Value FNHof.value(QueryContext ctx)
           
 

Methods in org.basex.query.func that return types with arguments of type Value
protected  java.util.HashMap<java.lang.String,Value> StandardFunc.bindings(int i, QueryContext ctx)
          Returns all keys and values of the specified binding argument.
 

Methods in org.basex.query.func with parameters of type Value
protected abstract  java.lang.Object JavaMapping.eval(Value[] args, QueryContext ctx)
          Returns the result of the evaluated Java function.
protected  java.lang.Object JavaFunc.eval(Value[] args, QueryContext ctx)
           
protected  java.lang.Object JavaModuleFunc.eval(Value[] vals, QueryContext ctx)
           
protected static java.lang.String JavaMapping.foundArgs(Value[] args)
          Returns a string representation of all found arguments.
 Item StaticFunc.invItem(QueryContext ctx, InputInfo ii, Value... arg)
           
 Value StaticFunc.invValue(QueryContext ctx, InputInfo ii, Value... arg)
           
 

Uses of Value in org.basex.query.gflwor
 

Methods in org.basex.query.gflwor that return Value
 Value GFLWOR.Clause.value(QueryContext ctx)
          Deprecated. 
 

Uses of Value in org.basex.query.iter
 

Methods in org.basex.query.iter that return Value
 Value ValueIter.value()
           
 Value ValueBuilder.value()
           
 Value Iter.value()
          Returns a sequence with all iterator values.
 Value NodeSeqBuilder.value()
           
 

Methods in org.basex.query.iter with parameters of type Value
 ValueBuilder ValueBuilder.add(Value val)
          Adds the contents of a value.
 

Uses of Value in org.basex.query.path
 

Methods in org.basex.query.path that return Value
 Value Bang.value(QueryContext ctx)
           
 

Uses of Value in org.basex.query.up.expr
 

Methods in org.basex.query.up.expr that return Value
 Value Transform.value(QueryContext ctx)
           
 

Uses of Value in org.basex.query.util
 

Fields in org.basex.query.util declared as Value
 Value[] Ann.values
          Values.
 

Methods in org.basex.query.util that return Value
 Value ValueList.get(int i)
          Returns the element at the specified index.
 Value ItemValueMap.get(Item key, InputInfo ii)
          Returns the value for the specified key.
 Value ANodeList.value()
          Returns an array with all elements.
 

Methods in org.basex.query.util that return types with arguments of type Value
 java.lang.Iterable<Value> ItemValueMap.values()
          Returns a value iterator.
 

Methods in org.basex.query.util with parameters of type Value
 void ItemValueMap.add(Item key, Value value, InputInfo ii)
          Indexes the specified key and stores the associated value.
 void Ann.add(QNm name, Value value, InputInfo info)
          Adds a QName/value pair.
 void ValueList.add(Value e)
          Adds an element to the list.
static QueryException Err.cast(InputInfo ii, Type t, Value v)
          Throws a type cast exception.
 boolean Ann.contains(QNm k, Value v)
          Checks if the specified key/value pair is found in the list.
static boolean Compare.deep(Value val1, Value val2, InputInfo info)
          Checks items for deep equality.
 

Uses of Value in org.basex.query.util.http
 

Methods in org.basex.query.util.http that return Value
 Value HTTPPayload.payloads()
          Returns all payloads.
static Value HTTPPayload.value(IO in, Prop prop, java.lang.String ctype, java.lang.String ext)
          Returns an XQuery value for the specified content type.
 

Methods in org.basex.query.util.http that return types with arguments of type Value
 java.util.HashMap<java.lang.String,Value> HTTPPayload.multiForm(java.lang.String ext)
          Returns a map with multipart form data.
 

Uses of Value in org.basex.query.value
 

Methods in org.basex.query.value that return Value
 Value Value.compile(QueryContext ctx, VarScope scp)
           
 Value Value.copy(QueryContext ctx, VarScope scp, IntObjMap<Var> vs)
           
 Value Value.value(QueryContext ctx)
           
 

Uses of Value in org.basex.query.value.item
 

Subclasses of Value in org.basex.query.value.item
 class ADate
          Abstract super class for date items.
 class ADateDur
          Abstract super class for dates and durations.
 class ANum
          Abstract super class for all numeric items.
 class AStr
          Abstract string item.
 class Atm
          Untyped atomic item (xs:untypedAtomic).
 class B64
          Base64 item (xs:base64Binary).
 class B64Stream
          Streamable base64 item (xs:base64Binary).
 class Bin
          Abstract class for binary items.
 class Bln
          Boolean item (xs:boolean).
 class Dat
          Date item (xs:date).
 class Dbl
          Double item (xs:double).
 class Dec
          Decimal item (xs:decimal).
 class DTDur
          DayTime Duration item (xs:dayTimeDuration).
 class Dtm
          DateTime item (xs:dateTime).
 class Dur
          Duration item (xs:duration).
 class FItem
          Abstract super class for function items.
 class Flt
          Float item (xs:float).
 class FuncItem
          Function item.
 class GDt
          Simple date item, used for xs:gYearMonth, xs:gYear, xs:gMonthDay, xs:gDay and xs:gMonth.
 class Hex
          HexBinary item (xs:hexBinary).
 class Int
          Integer item (xs:int, xs:integer, xs:short, etc.).
 class Item
          Abstract super class for all items.
 class Jav
          Java item.
 class QNm
          QName item (xs:QName).
 class Str
          String item (xs:string, xs:normalizedString, xs:language, etc.).
 class StrStream
          Streamable string item (xs:string).
 class Tim
          Time item (xs:time).
 class Uri
          URI item (xs:anyURI).
 class YMDur
          YearMonth duration (xs:yearMonthDuration).
 

Methods in org.basex.query.value.item that return Value
 Value FuncItem.invValue(QueryContext ctx, InputInfo ii, Value... args)
           
 

Methods in org.basex.query.value.item with parameters of type Value
 Item FuncItem.invItem(QueryContext ctx, InputInfo ii, Value... args)
           
 Item FItem.invItem(QueryContext ctx, InputInfo ii, Value... args)
           
 Value FuncItem.invValue(QueryContext ctx, InputInfo ii, Value... args)
           
 

Constructors in org.basex.query.value.item with parameters of type Value
FuncItem(QNm n, Var[] arg, Expr body, FuncType t, boolean cst, Value vl, long ps, long sz, java.util.Map<Var,Value> cls, VarScope scp, StaticContext sctx, StaticFunc sf)
          Constructor.
 

Constructor parameters in org.basex.query.value.item with type arguments of type Value
FuncItem(QNm n, Var[] arg, Expr body, FuncType t, boolean cst, java.util.Map<Var,Value> cls, VarScope scp, StaticContext sctx, StaticFunc sf)
          Constructor.
FuncItem(QNm n, Var[] arg, Expr body, FuncType t, boolean cst, Value vl, long ps, long sz, java.util.Map<Var,Value> cls, VarScope scp, StaticContext sctx, StaticFunc sf)
          Constructor.
FuncItem(Var[] arg, Expr body, FuncType t, java.util.Map<Var,Value> cl, boolean cst, VarScope scp, StaticContext sctx)
          Constructor for anonymous functions.
 

Uses of Value in org.basex.query.value.map
 

Subclasses of Value in org.basex.query.value.map
 class Map
          The map item.
 

Methods in org.basex.query.value.map that return Value
 Value Map.get(Item key, InputInfo ii)
          Gets the value from this map.
 Value Map.invValue(QueryContext ctx, InputInfo ii, Value... args)
           
 Value Map.keys()
          All keys defined in this map.
 

Methods in org.basex.query.value.map with parameters of type Value
 Map Map.insert(Item k, Value v, InputInfo ii)
          Inserts the given value into this map.
 Value Map.invValue(QueryContext ctx, InputInfo ii, Value... args)
           
 

Uses of Value in org.basex.query.value.node
 

Subclasses of Value in org.basex.query.value.node
 class ANode
          Abstract node type.
 class DBNode
          Database nodes.
 class FAttr
          Attribute node fragment.
 class FComm
          Comment node fragment.
 class FDoc
          Document node fragment.
 class FElem
          Element node fragment.
 class FNames
          Namespace node.
 class FNode
          Main memory based node fragments.
 class FPI
          PI node fragment.
 class FTNode
          Disk-based full-text Node item.
 class FTPosNode
          Database node with full-text positions.
 class FTxt
          Text node fragment.
 

Methods in org.basex.query.value.node that return Value
 Value DBNode.copy(QueryContext ctx, VarScope scp, IntObjMap<Var> vs)
           
 

Uses of Value in org.basex.query.value.seq
 

Subclasses of Value in org.basex.query.value.seq
 class BlnSeq
          Sequence of items of type xs:boolean, containing at least two of them.
 class BytSeq
          Sequence of items of type xs:byte, containing at least two of them.
 class DblSeq
          Sequence of items of type xs:double, containing at least two of them.
 class DBNodeSeq
          Sequence, containing at least two ordered database nodes.
 class DecSeq
          Sequence of items of type xs:decimal, containing at least two of them.
 class Empty
          Empty sequence.
 class FltSeq
          Sequence of items of type xs:float, containing at least two of them.
 class IntSeq
          Sequence of items of type xs:integer, containing at least two of them.
 class ItemSeq
          Sequence, containing at least two items.
 class NativeSeq
          Sequence of items, which are stored in their primitive/native representation.
 class RangeSeq
          Range sequence, containing at least two integers.
 class Seq
          Sequence, containing at least two items.
 class StrSeq
          Sequence of items of type xs:string, containing at least two of them.
 

Methods in org.basex.query.value.seq that return Value
static Value DecSeq.get(java.math.BigDecimal[] items)
          Creates a sequence with the specified items.
static Value BlnSeq.get(boolean[] items)
          Creates a sequence with the specified items.
static Value BytSeq.get(byte[] items)
          Creates a sequence with the specified items.
static Value StrSeq.get(byte[][] items)
          Creates a sequence with the specified items.
static Value DblSeq.get(double[] items)
          Creates a sequence with the specified items.
static Value FltSeq.get(float[] items)
          Creates a sequence with the specified items.
static Value DBNodeSeq.get(int[] v, Data d, Type t, boolean c)
          Creates a node sequence with the given data reference and pre values.
static Value DBNodeSeq.get(IntList v, Data d, boolean docs, boolean c)
          Creates a node sequence with the given data reference and pre values.
static Value Seq.get(Item[] v, int s)
          Returns a value representation of the specified items.
static Value Seq.get(Item[] v, int s, Type t)
          Returns a value representation of the specified items.
static Value IntSeq.get(long[] items, Type type)
          Creates a sequence with the specified items.
static Value RangeSeq.get(long min, long sz, boolean asc)
          Returns a value representation of the specified items.
static Value StrSeq.get(TokenList items)
          Creates a sequence with the specified items.
static Value StrSeq.get(Value[] vals, int size)
          Creates a sequence with the items in the specified expressions.
static Value FltSeq.get(Value[] vals, int size)
          Creates a sequence with the items in the specified expressions.
static Value DecSeq.get(Value[] vals, int size)
          Creates a sequence with the items in the specified expressions.
static Value BlnSeq.get(Value[] vals, int size)
          Creates a sequence with the items in the specified expressions.
static Value DblSeq.get(Value[] vals, int size)
          Creates a sequence with the items in the specified expressions.
static Value BytSeq.get(Value[] vals, int size)
          Creates a sequence with the items in the specified expressions.
static Value IntSeq.get(Value[] vals, int size, Type type)
          Creates a sequence with the items in the specified expressions.
 Value StrSeq.reverse()
           
 Value FltSeq.reverse()
           
 Value ItemSeq.reverse()
           
 Value DecSeq.reverse()
           
 Value BlnSeq.reverse()
           
 Value DBNodeSeq.reverse()
           
 Value IntSeq.reverse()
           
 Value DblSeq.reverse()
           
 Value BytSeq.reverse()
           
 Value RangeSeq.reverse()
           
abstract  Value Seq.reverse()
          Returns a sequence in reverse order.
 Value StrSeq.sub(long start, long length)
           
 Value FltSeq.sub(long start, long length)
           
 Value ItemSeq.sub(long start, long length)
           
 Value DecSeq.sub(long start, long length)
           
 Value BlnSeq.sub(long start, long length)
           
 Value DBNodeSeq.sub(long start, long length)
           
 Value IntSeq.sub(long start, long length)
           
 Value DblSeq.sub(long start, long length)
           
 Value BytSeq.sub(long start, long length)
           
 Value RangeSeq.sub(long s, long sz)
           
abstract  Value Seq.sub(long start, long length)
          Returns a subsequence.
 

Methods in org.basex.query.value.seq with parameters of type Value
static Value StrSeq.get(Value[] vals, int size)
          Creates a sequence with the items in the specified expressions.
static Value FltSeq.get(Value[] vals, int size)
          Creates a sequence with the items in the specified expressions.
static Value DecSeq.get(Value[] vals, int size)
          Creates a sequence with the items in the specified expressions.
static Value BlnSeq.get(Value[] vals, int size)
          Creates a sequence with the items in the specified expressions.
static Value DblSeq.get(Value[] vals, int size)
          Creates a sequence with the items in the specified expressions.
static Value BytSeq.get(Value[] vals, int size)
          Creates a sequence with the items in the specified expressions.
static Value IntSeq.get(Value[] vals, int size, Type type)
          Creates a sequence with the items in the specified expressions.
 

Uses of Value in org.basex.query.value.type
 

Methods in org.basex.query.value.type that return Value
abstract  Value ListType.cast(Item it, QueryContext ctx, InputInfo ii)
           
 Value Type.cast(Item it, QueryContext ctx, InputInfo ii)
          Casts the specified item to the XQuery data type.
 Value SeqType.cast(Item it, QueryContext ctx, InputInfo ii, ExprInfo e)
          Tries to cast the given item to this sequence type.
 Value ListType.cast(java.lang.Object o, QueryContext ctx, InputInfo ii)
           
 Value Type.cast(java.lang.Object o, QueryContext ctx, InputInfo ii)
          Casts the specified Java object to the XQuery data type.
 Value SeqType.cast(Value val, QueryContext ctx, InputInfo ii, ExprInfo e)
          Casts a sequence to this type.
 Value ListType.castString(java.lang.String o, QueryContext ctx, InputInfo ii)
           
 Value Type.castString(java.lang.String s, QueryContext ctx, InputInfo ii)
          Casts the specified string to the XQuery data type.
protected static Value ListType.create(Item it, QueryContext ctx, InputInfo ii, AtomType type)
          Creates a sequence with the resulting list items.
 Value SeqType.funcConvert(QueryContext ctx, InputInfo ii, Value val)
          Performs function conversion on the given value.
 Value SeqType.treat(Value val, InputInfo ii)
          Treats the specified value as this sequence type.
 

Methods in org.basex.query.value.type with parameters of type Value
 Value SeqType.cast(Value val, QueryContext ctx, InputInfo ii, ExprInfo e)
          Casts a sequence to this type.
 Value SeqType.funcConvert(QueryContext ctx, InputInfo ii, Value val)
          Performs function conversion on the given value.
 boolean SeqType.instance(Value val)
          Matches a value against this sequence type.
 Value SeqType.treat(Value val, InputInfo ii)
          Treats the specified value as this sequence type.
 

Uses of Value in org.basex.query.var
 

Methods in org.basex.query.var that return Value
 Value Var.checkType(Value val, QueryContext ctx, InputInfo ii)
          Checks the type of this value and casts/promotes it when necessary.
 Value VarRef.value(QueryContext ctx)
           
 Value StaticVar.value(QueryContext ctx)
          Evaluates this variable lazily.
 Value StaticVarRef.value(QueryContext ctx)
           
 

Methods in org.basex.query.var with parameters of type Value
 Value Var.checkType(Value val, QueryContext ctx, InputInfo ii)
          Checks the type of this value and casts/promotes it when necessary.