|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use XQException | |
---|---|
org.basex.query.xquery | Includes an implementation of XQuery 1.0. |
org.basex.query.xquery.expr | Contains XQuery 1.0 expressions. |
org.basex.query.xquery.func | Contains XQuery 1.0 functions. |
org.basex.query.xquery.item | Contains XQuery 1.0 data types. |
org.basex.query.xquery.iter | Contains XQuery iterators. |
org.basex.query.xquery.path | Contains XQuery 1.0 path expressions. |
org.basex.query.xquery.util | Contains XQuery utility classes. |
Uses of XQException in org.basex.query.xquery |
---|
Methods in org.basex.query.xquery that throw XQException | |
---|---|
Item |
XQContext.atomic(Expr expr,
Expr call,
boolean empty)
Returns the specified expression as an item. |
NodIter |
XQContext.coll(byte[] coll)
Adds a collection instance or returns an existing one. |
Expr |
XQContext.comp(Expr e)
Evaluates the specified expression and returns an iterator. |
XQContext |
XQContext.compile(Nodes nodes)
|
DNode |
XQContext.doc(byte[] db)
Adds a database instance or returns an existing one. |
XQResult |
XQContext.eval(Nodes nodes)
|
Iter |
XQContext.iter()
Returns a result iterator. |
Iter |
XQContext.iter(Expr e)
Evaluates the specified expression and returns an iterator. |
void |
XQParser.module(java.lang.String q)
Parses the specified module. |
void |
XQParser.parse(java.lang.String q)
Parses the specified query. |
void |
XQParser.parse(java.lang.String q,
IO f,
Uri u)
Parses the specified query. |
void |
XQParser.parse(Uri u,
boolean end)
Parses the specified query. |
Uses of XQException in org.basex.query.xquery.expr |
---|
Methods in org.basex.query.xquery.expr that throw XQException | |
---|---|
static void |
CText.add(TokenBuilder tb,
Iter iter)
Adds a single item to the token builder. |
void |
Ord.add(XQContext ctx)
Adds an item to be sorted. |
void |
Order.add(XQContext ctx)
Adds the items to be sorted. |
FTExpr |
FTExpr.comp(XQContext ctx)
|
Expr |
Arr.comp(XQContext ctx)
|
Expr |
VarCall.comp(XQContext ctx)
|
Expr |
CmpG.comp(XQContext ctx)
|
Expr |
CElem.comp(XQContext ctx)
|
Expr |
Clc.comp(XQContext ctx)
|
Expr |
Or.comp(XQContext ctx)
|
Expr |
Pred.comp(XQContext ctx)
|
Expr |
Let.comp(XQContext ctx)
|
Expr |
If.comp(XQContext ctx)
|
Expr |
Cast.comp(XQContext ctx)
|
Expr |
FLWR.comp(XQContext ctx)
|
Expr |
List.comp(XQContext ctx)
|
Expr |
For.comp(XQContext ctx)
|
void |
Func.comp(XQContext ctx)
Compiles the function. |
void |
Ord.comp(XQContext ctx)
Compiles the expression to be sorted. |
Expr |
Castable.comp(XQContext ctx)
|
abstract Expr |
Expr.comp(XQContext ctx)
Optimizes and compiles the expression. |
Expr |
CmpV.comp(XQContext ctx)
|
Expr |
Single.comp(XQContext ctx)
|
FTExpr |
FTSelect.comp(XQContext ctx)
|
Expr |
CAttr.comp(XQContext ctx)
|
Expr |
TypeSwitch.comp(XQContext ctx)
|
FTExpr |
FTWords.comp(XQContext ctx)
|
Expr |
Unary.comp(XQContext ctx)
|
Expr |
And.comp(XQContext ctx)
|
void |
Order.comp(XQContext ctx)
Compiles the expressions to be sorted. |
Expr |
Satisfy.comp(XQContext ctx)
|
FTExpr |
FTOptions.comp(XQContext ctx)
|
abstract boolean |
CmpN.Comp.e(Item a,
Item b)
Evaluates the expression. |
abstract boolean |
CmpV.Comp.e(Item a,
Item b)
Evaluates the expression. |
abstract Item |
Calc.ev(Item a,
Item b)
Performs the calculation. |
Iter |
VarCall.iter(XQContext ctx)
|
Iter |
FTOr.iter(XQContext ctx)
|
Iter |
CElem.iter(XQContext ctx)
|
Iter |
Range.iter(XQContext ctx)
|
Iter |
Clc.iter(XQContext ctx)
|
Iter |
Root.iter(XQContext ctx)
|
Iter |
Or.iter(XQContext ctx)
|
Iter |
Pred.iter(XQContext ctx)
|
Iter |
CComm.iter(XQContext ctx)
|
Iter |
If.iter(XQContext ctx)
|
Iter |
Cast.iter(XQContext ctx)
|
Iter |
FLWR.iter(XQContext ctx)
|
Iter |
CmpN.iter(XQContext ctx)
|
Iter |
FTMildNot.iter(XQContext ctx)
|
Iter |
List.iter(XQContext ctx)
|
Iter |
FTContains.iter(XQContext ctx)
|
Iter |
PredIter.iter(XQContext ctx)
|
Iter |
Except.iter(XQContext ctx)
|
Iter |
CPI.iter(XQContext ctx)
|
Iter |
FunCall.iter(XQContext ctx)
|
abstract Iter |
Expr.iter(XQContext ctx)
Evaluates the expression and returns an iterator on the resulting items. |
Iter |
CmpV.iter(XQContext ctx)
|
Iter |
InterSect.iter(XQContext ctx)
|
Iter |
FTAnd.iter(XQContext ctx)
|
Iter |
Instance.iter(XQContext ctx)
|
Iter |
CDoc.iter(XQContext ctx)
|
Iter |
FTSelect.iter(XQContext ctx)
|
Iter |
CAttr.iter(XQContext ctx)
|
Iter |
Try.iter(XQContext ctx)
|
Iter |
TypeSwitch.iter(XQContext ctx)
|
Iter |
Context.iter(XQContext ctx)
|
Iter |
CText.iter(XQContext ctx)
|
Iter |
FTWords.iter(XQContext ctx)
|
Iter |
Unary.iter(XQContext ctx)
|
Iter |
Union.iter(XQContext ctx)
|
Iter |
FLWOR.iter(XQContext ctx)
|
Iter |
And.iter(XQContext ctx)
|
Iter |
Satisfy.iter(XQContext ctx)
|
Iter |
FTNot.iter(XQContext ctx)
|
Iter |
FTOptions.iter(XQContext ctx)
|
Iter |
Treat.iter(XQContext ctx)
|
static QNm |
CAttr.name(XQContext ctx,
Item i)
Returns an updated name expression. |
Constructors in org.basex.query.xquery.expr that throw XQException | |
---|---|
For(Expr e,
Var v,
Var p,
Var s)
Constructor. |
|
Let(Expr e,
Var v,
boolean s)
Constructor. |
Uses of XQException in org.basex.query.xquery.func |
---|
Methods in org.basex.query.xquery.func that throw XQException | |
---|---|
Expr |
FNSimple.c(XQContext ctx)
|
Expr |
Fun.c(XQContext ctx)
Compiles the function. |
Expr |
Fun.comp(XQContext ctx)
|
void |
FNIndex.error(byte[] name)
Finds similar function names for throwing an error message. |
Fun |
FNIndex.get(byte[] name,
byte[] uri,
Expr[] args)
Returns the specified function. |
Iter |
FunJava.iter(XQContext ctx)
|
Iter |
Fun.iter(XQContext ctx)
|
Iter |
FNSimple.iter(XQContext ctx,
Iter[] arg)
|
Iter |
FNNode.iter(XQContext ctx,
Iter[] arg)
|
abstract Iter |
Fun.iter(XQContext ctx,
Iter[] arg)
Evaluates the function. |
Uses of XQException in org.basex.query.xquery.item |
---|
Methods in org.basex.query.xquery.item that throw XQException | |
---|---|
boolean |
QNm.bool()
|
boolean |
Seq.bool()
|
boolean |
Item.bool()
Returns a boolean representation of the item. |
Item |
SeqType.cast(Item item,
XQContext ctx)
Casts the specified item. |
Item |
SeqType.cast(Iter iter,
Expr expr,
XQContext ctx)
Casts the specified iterator item. |
void |
Item.castErr(java.lang.Object val)
Throws a cast error. |
static boolean |
Bln.check(byte[] str)
Checks if the specified value is a correct boolean string. |
double |
Nod.dbl()
|
double |
Str.dbl()
|
double |
Jav.dbl()
|
double |
Item.dbl()
Returns a double representation of the item. |
java.math.BigDecimal |
Nod.dec()
|
java.math.BigDecimal |
Flt.dec()
|
java.math.BigDecimal |
Str.dec()
|
java.math.BigDecimal |
Dbl.dec()
|
java.math.BigDecimal |
Jav.dec()
|
java.math.BigDecimal |
Item.dec()
Returns a decimal representation of the item. |
int |
Nod.diff(Item i)
|
int |
Dur.diff(Item it)
|
int |
DTd.diff(Item it)
|
int |
QNm.diff(Item it)
|
int |
DSim.diff(Item it)
|
int |
Flt.diff(Item it)
|
int |
Atm.diff(Item it)
|
int |
Dec.diff(Item it)
|
int |
Itr.diff(Item it)
|
int |
Str.diff(Item it)
|
int |
YMd.diff(Item it)
|
int |
Dbl.diff(Item it)
|
int |
Jav.diff(Item it)
|
int |
Date.diff(Item it)
|
int |
Bln.diff(Item it)
|
int |
Item.diff(Item it)
Returns the difference between the current and the specified item. |
Item |
Type.e(Item it,
XQContext ctx)
Constructs a new item from the specified item. |
Item |
Type.e(java.lang.Object o)
Constructs a new item from the specified Java object. |
boolean |
Nod.eq(Item i)
|
boolean |
QNm.eq(Item it)
|
boolean |
Flt.eq(Item it)
|
boolean |
Atm.eq(Item it)
|
boolean |
Dec.eq(Item it)
|
boolean |
Itr.eq(Item it)
|
boolean |
Str.eq(Item it)
|
boolean |
Dbl.eq(Item it)
|
boolean |
B64.eq(Item it)
|
boolean |
Jav.eq(Item it)
|
boolean |
Hex.eq(Item it)
|
boolean |
Bln.eq(Item it)
|
boolean |
Seq.eq(Item it)
|
abstract boolean |
Item.eq(Item it)
Checks the items for equality. |
float |
Nod.flt()
|
float |
Str.flt()
|
float |
Jav.flt()
|
float |
Item.flt()
Returns a float representation of the item. |
static Dbl |
Dbl.get(byte[] v)
Returns an instance of this class. |
boolean |
SeqType.instance(Iter iter)
Checks the instance of the specified iterator. |
long |
Nod.itr()
|
long |
Str.itr()
|
long |
Jav.itr()
|
long |
Item.itr()
Returns an integer (long) representation of the item. |
static float |
Flt.parse(byte[] val)
Converts the given token into a double value. |
static java.math.BigDecimal |
Dec.parse(byte[] val)
Converts the given token into a decimal value. |
static double |
Dbl.parse(byte[] val)
Converts the given token into a double value. |
static java.math.BigDecimal |
Dec.parse(double val)
Converts the given double into a decimal value. |
QNm |
Nod.qname(QNm nm)
Returns a temporary node name. |
Constructors in org.basex.query.xquery.item that throw XQException | |
---|---|
B64(byte[] d)
Constructor. |
|
Dat(byte[] d)
Constructor. |
|
Dat(Date d,
Dur a,
boolean p)
Constructor. |
|
DSim(byte[] d,
Type t)
Constructor. |
|
DTd(byte[] v)
Constructor. |
|
DTd(Dur it,
double f,
boolean m)
Constructor. |
|
Dtm(byte[] dt)
Constructor. |
|
Dtm(Date d,
Dur a,
boolean p)
Constructor. |
|
Dtm(Dec tm)
Constructor. |
|
Dur(byte[] v)
Constructor. |
|
Dur(byte[] v,
Type t)
Constructor. |
|
Hex(byte[] v)
Constructor. |
|
NCN(byte[] v)
Constructor. |
|
NCN(byte[] v,
Type t)
Constructor. |
|
QNm(byte[] n,
XQContext ctx)
Constructor. |
|
Tim(byte[] tim)
Constructor. |
|
Tim(Tim d,
DTd a,
boolean p)
Constructor. |
|
YMd(byte[] v)
Constructor. |
|
YMd(Dur it,
double f,
boolean m)
Constructor. |
Uses of XQException in org.basex.query.xquery.iter |
---|
Methods in org.basex.query.xquery.iter that throw XQException | |
---|---|
void |
SeqIter.add(Iter iter)
Adds the contents of an iterator. |
Item |
Iter.atomic(Expr expr,
boolean empty)
Checks if the specified iterator contains a single item. |
Item |
Iter.ebv()
Checks if the iterator can be dissolved into an effective boolean value. |
Item |
Iter.finish()
Returns a sequence from all iterator values. |
abstract Item |
Iter.next()
Returns the next item or null if no other items are found. |
abstract Nod |
NodeIter.next()
|
static void |
Iter.seqErr(Item i1,
Item i2,
Item i3,
Expr expr)
Throws a sequence error. |
Constructors in org.basex.query.xquery.iter that throw XQException | |
---|---|
SeqIter(Iter iter)
Constructor. |
Uses of XQException in org.basex.query.xquery.path |
---|
Methods in org.basex.query.xquery.path that throw XQException | |
---|---|
Expr |
Path.comp(XQContext ctx)
|
Expr |
Step.comp(XQContext ctx)
|
abstract boolean |
Test.e(Nod tmp)
Tests the specified node. |
boolean |
NameTest.e(Nod tmp)
|
boolean |
KindTest.e(Nod tmp)
|
Iter |
Path.iter(XQContext ctx)
|
NodeIter |
SimpleIterStep.iter(XQContext ctx)
|
Iter |
SimpleIterPath.iter(XQContext ctx)
|
NodeIter |
Step.iter(XQContext ctx)
|
NodeIter |
IterStep.iter(XQContext ctx)
|
Uses of XQException in org.basex.query.xquery.util |
---|
Methods in org.basex.query.xquery.util that throw XQException | |
---|---|
int |
Functions.add(Func fun)
Adds a local function. |
void |
SeqBuilder.add(Iter it)
Adds the items of an iterator. |
void |
NSLocal.add(QNm name)
Adds the specified namespace. |
static void |
Err.cast(Type t,
Item it)
Throws a numeric type exception. |
void |
Functions.check()
Checks if all functions have been correctly initialized. |
Item |
Var.check(Item it,
XQContext ctx)
Checks the variable type. |
static void |
Err.cmp(Item it1,
Item it2)
Throws a comparison exception. |
void |
Functions.comp(XQContext ctx)
Compiles the functions. |
void |
Variables.comp(XQContext ctx)
Compiles the functions. |
void |
Var.comp(XQContext ctx)
Compiles the variable. |
static void |
Err.date(Type t,
java.lang.String ex)
Throws a date format exception. |
static void |
Err.empty(Expr ex)
Throws a empty sequence exception. |
Var |
Var.expr(Expr e,
XQContext ctx)
Binds the specified expression to the variable. |
void |
Functions.funError(QNm name)
Finds similar function names and throws an error message. |
Expr |
Functions.get(QNm name,
Expr[] args)
Returns the specified function. |
boolean |
ItemSet.index(Item i)
Indexes the specified item. |
Var |
Var.item(Item it,
XQContext ctx)
Binds the specified item to the variable. |
Item |
Var.item(XQContext ctx)
Evaluates the variable. |
Iter |
Var.iter(XQContext ctx)
Evaluates the variable. |
static void |
Err.nodes(Expr ex)
Throws a node exception. |
static void |
Err.num(java.lang.String inf,
Item it)
Throws a numeric type exception. |
static void |
Err.or(java.lang.Object[] err,
java.lang.Object... x)
Throws an exception. |
static void |
Err.or(StringList list,
java.lang.Object[] err,
java.lang.Object... x)
Throws an exception. |
static void |
Err.range(Type t,
byte[] v)
Throws a date range exception. |
static void |
Err.type(java.lang.String inf,
Type t,
Item it)
Throws a type exception. |
static void |
Functions.typeErr(QNm type)
Throws an error for the specified name. |
byte[] |
NSLocal.uri(byte[] pre)
Finds the uri for the specified prefix in the local and global namespaces. |
static void |
Err.value(Type t,
java.lang.Object v)
Throws an invalid value exception. |
Constructors in org.basex.query.xquery.util that throw XQException | |
---|---|
SeqBuilder(Iter it)
Constructor. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |