| Package | Description |
|---|---|
| org.basex.query |
XQuery implementation.
|
| org.basex.query.expr |
XQuery expressions.
|
| org.basex.query.func |
XQuery functions.
|
| org.basex.query.item |
XQuery data types.
|
| org.basex.query.item.map | |
| org.basex.query.path |
XQuery path expressions.
|
| org.basex.query.up | |
| org.basex.query.up.primitives | |
| org.basex.query.util |
XQuery utility classes.
|
| org.basex.query.util.http |
| Modifier and Type | Method and Description |
|---|---|
QNm |
QueryException.qname()
Returns the error code.
|
| Constructor and Description |
|---|
QueryException(InputInfo ii,
QNm errc,
java.lang.String msg,
java.lang.Object... ext)
Constructor, specifying the error code and message as string.
|
| Constructor and Description |
|---|
Catch(InputInfo ii,
QNm[] c,
QueryContext ctx)
Constructor.
|
Pragma(QNm qn,
byte[] content,
InputInfo ii)
Constructor.
|
| Modifier and Type | Field and Description |
|---|---|
QNm |
UserFunc.name
Function name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Functions.error(QNm name,
InputInfo ii)
Throws an error if one of the pre-defined functions is similar to the
specified function name.
|
void |
UserFuncs.funError(QNm name,
InputInfo ii)
Finds similar function names and throws an error message.
|
static TypedFunc |
Functions.get(QNm name,
Expr[] args,
boolean dyn,
QueryContext ctx,
InputInfo ii)
Returns an instance of the specified function, or
null. |
static FItem |
Functions.get(QNm name,
long arity,
boolean dyn,
QueryContext ctx,
InputInfo ii)
Returns the specified function literal.
|
| Constructor and Description |
|---|
BaseFuncCall(InputInfo ii,
QNm nm,
Expr[] arg)
Function constructor.
|
UserFunc(InputInfo ii,
QNm n,
Var[] v,
SeqType r,
Ann a)
Function constructor.
|
UserFunc(InputInfo ii,
QNm n,
Var[] v,
SeqType r,
Ann a,
boolean d)
Function constructor.
|
| Modifier and Type | Field and Description |
|---|---|
QNm |
AtomType.name
Name.
|
| Modifier and Type | Method and Description |
|---|---|
abstract QNm |
FItem.fName()
Name of this function,
null means anonymous function. |
QNm |
FuncItem.fName() |
QNm |
FPI.qname() |
QNm |
FNames.qname() |
QNm |
FElem.qname() |
QNm |
ANode.qname()
Returns the QName of the node.
|
QNm |
DBNode.qname() |
QNm |
FAttr.qname() |
QNm |
FNode.qname(QNm nm) |
abstract QNm |
ANode.qname(QNm nm)
Updates the specified with the information of the current node.
|
QNm |
DBNode.qname(QNm name) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
ANode.attribute(QNm name)
Returns the value of the specified attribute, or
null. |
boolean |
QNm.eq(QNm n)
Compares the specified item.
|
static NodeType |
NodeType.find(QNm type)
Finds and returns the specified node type.
|
static Type |
FuncType.find(QNm type)
Finds and returns the specified function type.
|
static AtomType |
AtomType.find(QNm type,
boolean all)
Finds and returns the specified data type.
|
QNm |
FNode.qname(QNm nm) |
abstract QNm |
ANode.qname(QNm nm)
Updates the specified with the information of the current node.
|
QNm |
DBNode.qname(QNm name) |
| Constructor and Description |
|---|
FAttr(QNm n,
byte[] v)
Default constructor.
|
FElem(QNm n)
Constructor.
|
FElem(QNm n,
Atts nsp)
Constructor.
|
FElem(QNm nm,
NodeCache ch,
NodeCache at,
Atts nsp)
Constructor.
|
FPI(QNm n,
byte[] v)
Constructor.
|
FuncItem(QNm n,
Var[] arg,
Expr body,
FuncType t,
boolean cst)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
QNm |
Map.fName() |
| Modifier and Type | Field and Description |
|---|---|
QNm |
Test.name
Name test.
|
| Constructor and Description |
|---|
ExtTest(NodeType t,
QNm nm)
Constructor.
|
ExtTest(NodeType t,
QNm nm,
Type et,
boolean st)
Constructor.
|
NameTest(QNm nm,
Test.Mode t,
boolean att)
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.
|
| Constructor and Description |
|---|
RenameNode(int p,
Data d,
InputInfo i,
QNm nm)
Constructor.
|
| Modifier and Type | Field and Description |
|---|---|
QNm |
Var.name
Variable name.
|
QNm[] |
Ann.names
QNames.
|
static QNm |
Ann.PRIVATE
Annotation "private".
|
static QNm |
Ann.PUBLIC
Annotation "public".
|
static QNm |
Ann.UPDATING
Annotation "updating".
|
| Modifier and Type | Method and Description |
|---|---|
QNm |
Err.qname()
Returns the namespace URI of this error.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Ann.add(QNm name,
Value value)
Adds a QName/value pair.
|
boolean |
Ann.contains(QNm e)
Checks if the specified element is found in the list.
|
static Var |
Var.create(QueryContext ctx,
InputInfo ii,
QNm n,
Ann a)
Creates a new variable.
|
static Var |
Var.create(QueryContext ctx,
InputInfo ii,
QNm n,
SeqType t,
Ann a)
Creates a new variable.
|
static Var |
Var.create(QueryContext ctx,
InputInfo ii,
QNm n,
Value v,
Ann a)
Creates a new variable.
|
Var |
VarContext.get(QNm var)
Returns a variable with the specified name.
|
Var |
VarStack.get(QNm name)
Returns a variable with the specified name; should only be
used while parsing because it ignores ids of variables.
|
Value[] |
Ann.values(QNm e)
Returns the values for the specified name.
|
| Modifier and Type | Field and Description |
|---|---|
static QNm |
HTTPText.HTTP_BODY
http:body element.
|
static QNm |
HTTPText.HTTP_HEADER
http:header element.
|
static QNm |
HTTPText.HTTP_MULTIPART
http:multipart element.
|
static QNm |
HTTPText.HTTP_RESPONSE
http:response element.
|
static QNm |
HTTPText.Q_BOUNDARY
boundary marker.
|
static QNm |
HTTPText.Q_MEDIA_TYPE
Body attribute: media-type.
|
static QNm |
HTTPText.Q_MESSAGE
Header attribute: name.
|
static QNm |
HTTPText.Q_NAME
Header attribute: name.
|
static QNm |
HTTPText.Q_PART
part element.
|
static QNm |
HTTPText.Q_STATUS
Header attribute: name.
|
static QNm |
HTTPText.Q_VALUE
Header attribute: value.
|