Uses of Interface
org.basex.query.value.type.Type

Packages that use Type
org.basex.query.expr XQuery expressions. 
org.basex.query.func XQuery functions. 
org.basex.query.path XQuery path expressions. 
org.basex.query.up   
org.basex.query.util XQuery utility classes. 
org.basex.query.value XQuery data types. 
org.basex.query.value.item   
org.basex.query.value.seq   
org.basex.query.value.type   
org.basex.server Server implementation. 
 

Uses of Type in org.basex.query.expr
 

Methods in org.basex.query.expr with parameters of type Type
 Item ParseExpr.checkType(Item it, Type t)
          Checks if the specified expression is an empty sequence; if yes, throws an exception.
 

Uses of Type in org.basex.query.func
 

Methods in org.basex.query.func that return Type
protected static Type JavaMapping.type(java.lang.Class<?> type)
          Returns an appropriate XQuery data type for the specified Java class.
static Type JavaMapping.type(java.lang.Object o)
          Returns an appropriate XQuery data type for the specified Java object.
 

Uses of Type in org.basex.query.path
 

Constructors in org.basex.query.path with parameters of type Type
NodeTest(NodeType nt, QNm nm, Type et, boolean st)
          Constructor.
 

Uses of Type in org.basex.query.up
 

Methods in org.basex.query.up with parameters of type Type
 void NamePool.add(QNm name, Type type)
          Adds an entry to the pool and increases its number of occurrence.
 

Uses of Type in org.basex.query.util
 

Methods in org.basex.query.util with parameters of type Type
static QueryException Err.cast(InputInfo ii, Type t, Value v)
          Throws a type cast exception.
static QueryException Err.type(ParseExpr e, Type t, Item it)
          Throws a type exception.
static QueryException Err.value(InputInfo ii, Type t, java.lang.Object v)
          Throws an invalid value exception.
 

Uses of Type in org.basex.query.value
 

Fields in org.basex.query.value declared as Type
 Type Value.type
          Data type.
 

Constructors in org.basex.query.value with parameters of type Type
Value(Type t)
          Constructor.
 

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

Methods in org.basex.query.value.item with parameters of type Type
static Int Int.get(long v, Type t)
          Returns an instance of this class.
 

Constructors in org.basex.query.value.item with parameters of type Type
ADateDur(Type t)
          Constructor.
Dec(java.math.BigDecimal d, Type t)
          Constructor.
GDt(ADate d, Type t)
          Constructor.
GDt(byte[] d, Type t, InputInfo ii)
          Constructor.
Int(long v, Type t)
          Constructor.
Item(Type t)
          Constructor.
 

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

Methods in org.basex.query.value.seq with parameters of type Type
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 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 IntSeq.get(Value[] vals, int size, Type type)
          Creates a sequence with the items in the specified expressions.
 

Constructors in org.basex.query.value.seq with parameters of type Type
NativeSeq(int s, Type t)
          Constructor.
 

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

Classes in org.basex.query.value.type that implement Type
 class AtomType
          XQuery data types.
 class FuncType
          XQuery 3.0 function data types.
 class ListType
          XQuery list types.
 class MapType
          Type for maps.
 class NodeType
          XQuery node types.
 

Fields in org.basex.query.value.type declared as Type
 Type SeqType.type
          Sequence type.
 

Methods in org.basex.query.value.type that return Type
static Type FuncType.find(QNm type)
          Finds and returns the specified function type.
static Type Type.ID.getType(byte b)
          Gets the type instance for the given ID.
 Type AtomType.intersect(Type t)
           
 Type ListType.intersect(Type t)
           
 Type FuncType.intersect(Type t)
           
 Type Type.intersect(Type t)
          Computes the intersection between this type and the given one, i.e.
 Type AtomType.union(Type t)
           
 Type MapType.union(Type t)
           
 Type ListType.union(Type t)
           
 Type FuncType.union(Type t)
           
 Type NodeType.union(Type t)
           
 Type Type.union(Type t)
          Computes the union between this type and the given one, i.e.
 

Methods in org.basex.query.value.type with parameters of type Type
 boolean AtomType.eq(Type t)
           
 boolean MapType.eq(Type t)
           
 boolean ListType.eq(Type t)
           
 boolean FuncType.eq(Type t)
           
 boolean NodeType.eq(Type t)
           
 boolean Type.eq(Type t)
          Checks if this type is equal to the given one.
static SeqType SeqType.get(Type t, long o)
          Returns a sequence type.
static SeqType SeqType.get(Type t, SeqType.Occ o)
          Returns a sequence type.
static SeqType SeqType.get(Type t, SeqType.Occ o, Test k)
          Returns a sequence type.
 boolean AtomType.instanceOf(Type t)
           
 boolean MapType.instanceOf(Type t)
           
 boolean ListType.instanceOf(Type t)
           
 boolean FuncType.instanceOf(Type t)
           
 boolean NodeType.instanceOf(Type t)
           
 boolean Type.instanceOf(Type t)
          Checks if the current type is an instance of the specified type.
 Type AtomType.intersect(Type t)
           
 MapType MapType.intersect(Type t)
           
 Type ListType.intersect(Type t)
           
 Type FuncType.intersect(Type t)
           
 NodeType NodeType.intersect(Type t)
           
 Type Type.intersect(Type t)
          Computes the intersection between this type and the given one, i.e.
 Type AtomType.union(Type t)
           
 Type MapType.union(Type t)
           
 Type ListType.union(Type t)
           
 Type FuncType.union(Type t)
           
 Type NodeType.union(Type t)
           
 Type Type.union(Type t)
          Computes the union between this type and the given one, i.e.
 

Uses of Type in org.basex.server
 

Methods in org.basex.server that return Type
 Type Query.type()
          Returns the current XQuery type (must be called after Query.next().