| Package | Description |
|---|---|
| org.basex.query.expr |
XQuery expressions.
|
| org.basex.query.func |
XQuery functions.
|
| org.basex.query.item |
XQuery data types.
|
| org.basex.query.path |
XQuery path expressions.
|
| org.basex.query.up | |
| org.basex.query.util |
XQuery utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
Item |
ParseExpr.checkType(Item it,
Type t)
Checks if the specified expression is an empty sequence; if yes, throws
an exception.
|
| Modifier and Type | Method and Description |
|---|---|
static Type |
JavaMapping.type(java.lang.Object o)
Returns an appropriate XQuery data type for the specified Java object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AtomType
XQuery data types.
|
class |
FuncType
XQuery 3.0 function data types.
|
class |
MapType
Type for maps.
|
class |
NodeType
XQuery node types.
|
| Modifier and Type | Field and Description |
|---|---|
Type |
AtomType.par
Parent type.
|
Type |
SeqType.type
Sequence type.
|
Type |
Value.type
Data type.
|
| Modifier and Type | Method and Description |
|---|---|
static Type |
FuncType.find(QNm type)
Finds and returns the specified function type.
|
| Modifier and Type | Method and Description |
|---|---|
static Value |
IntSeq.get(Expr[] expr,
long size,
Type type)
Creates a sequence with the integers in the specified expressions.
|
static Value |
IntSeq.get(long[] val,
Type type)
Creates a sequence with the specified integers.
|
static Int |
Int.get(long v,
Type t)
Returns an instance of this class.
|
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 |
NodeType.instanceOf(Type t) |
boolean |
Type.instanceOf(Type t)
Checks if the current type is an instance of the specified type.
|
boolean |
AtomType.instanceOf(Type t) |
boolean |
FuncType.instanceOf(Type t) |
| Constructor and Description |
|---|
Dec(java.math.BigDecimal d,
Type t)
Constructor.
|
FItem(Type t)
Constructor.
|
Int(long v,
Type t)
Constructor.
|
| Constructor and Description |
|---|
ExtTest(NodeType t,
QNm nm,
Type et,
boolean st)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NamePool.add(QNm name,
Type type)
Adds an entry to the pool and increases its number of occurrence.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|