Uses of Class
org.basex.query.StaticContext
Packages that use StaticContext
Package
Description
XQuery implementation.
XQuery expressions.
Constructor expressions.
XQuery functions.
Functions in the fn namespace.
Collation-specific code.
XQuery formatter utility classes.
-
Uses of StaticContext in org.basex.io.serial
Fields in org.basex.io.serial declared as StaticContextMethods in org.basex.io.serial with parameters of type StaticContextModifier and TypeMethodDescriptionvoidSerializerOptions.parse(String name, byte[] value, StaticContext sc, InputInfo ii) Parses options.AdaptiveSerializer.sc(StaticContext sctx) Serializer.sc(StaticContext sctx) Assigns the static context. -
Uses of StaticContext in org.basex.query
Fields in org.basex.query declared as StaticContextModifier and TypeFieldDescriptionfinal StaticContextQueryParser.scStatic context.final StaticContextQueryProcessor.scStatic context.QueryModule.staticContextStatic context.Methods in org.basex.query that return StaticContextMethods in org.basex.query with parameters of type StaticContextModifier and TypeMethodDescriptionvoidQueryResources.addCollection(String name, String[] paths, StaticContext sc) Adds a collection with the specified paths.voidQueryResources.addDoc(String name, String path, StaticContext sc) Adds a document with the specified path.voidQueryContext.bind(String name, Object value, String type, StaticContext sc) Binds a value to a global variable.voidQueryContext.bind(String name, Value value, StaticContext sc) Binds a value to a global variable.voidQueryContext.context(Object value, String type, StaticContext sc) Binds the context value, using the same rules as forbinding variables.voidQueryContext.context(Value value, StaticContext sc) Binds the context value.QueryContext.parseMain(String query, String uri, StaticContext sc) Parses the specified query.Constructors in org.basex.query with parameters of type StaticContextModifierConstructorDescriptionQueryInput(String original, StaticContext sc) Constructor.QueryParser(String query, String uri, QueryContext qctx, StaticContext sctx) Constructor. -
Uses of StaticContext in org.basex.query.expr
Methods in org.basex.query.expr with parameters of type StaticContextModifier and TypeMethodDescriptionprotected final <T extends XQFunctionExpr>
TParseExpr.checkUp(T expr, boolean updating, StaticContext sc) Ensures that the specified function expression is (not) updating.abstract booleanEvaluates the expression.Constructors in org.basex.query.expr with parameters of type StaticContextModifierConstructorDescriptionCast(StaticContext sc, InputInfo info, Expr expr, SeqType seqType) Function constructor.Castable(StaticContext sc, InputInfo info, Expr expr, SeqType seqType) Constructor.Constructor.Constructor.Treat(StaticContext sc, InputInfo info, Expr expr, SeqType seqType) Constructor.TypeCheck(StaticContext sc, InputInfo info, Expr expr, SeqType seqType, boolean promote) Constructor. -
Uses of StaticContext in org.basex.query.expr.constr
Constructors in org.basex.query.expr.constr with parameters of type StaticContextModifierConstructorDescriptionCAttr(StaticContext sc, InputInfo info, boolean computed, Expr name, Expr... value) Constructor.CComm(StaticContext sc, InputInfo info, boolean computed, Expr comment) Constructor.CDoc(StaticContext sc, InputInfo info, boolean computed, Expr expr) Constructor.Constructor.CNSpace(StaticContext sc, InputInfo info, boolean computed, Expr name, Expr value) Constructor.Constr(InputInfo info, StaticContext sc) Creates the children of the constructor.CPI(StaticContext sc, InputInfo info, boolean computed, Expr name, Expr value) Constructor.CTxt(StaticContext sc, InputInfo info, boolean computed, Expr text) Constructor. -
Uses of StaticContext in org.basex.query.func
Fields in org.basex.query.func declared as StaticContextMethods in org.basex.query.func with parameters of type StaticContextModifier and TypeMethodDescriptiondefault StandardFuncAFunction.get(StaticContext sc, InputInfo ii, Expr... args) Creates a new instance of the function.FuncDefinition.get(StaticContext sc, InputInfo ii, Expr... args) Creates a new function instance.static ExprFunctions.get(QNm name, Expr[] args, QueryContext qc, StaticContext sc, InputInfo ii) Returns a function call with the specified name and number of arguments.static ExprFunctions.getLiteral(QNm name, int arity, QueryContext qc, StaticContext sc, InputInfo ii, boolean runtime) Gets a function literal for a known function.static FuncItemFunctions.getUser(StaticFunc sf, QueryContext qc, StaticContext sc, InputInfo ii) Returns a function item for a user-defined function.static ClosureClosure.undeclaredLiteral(QNm name, int arity, QueryContext qc, StaticContext sc, InputInfo ii) Creates a function literal for a function that was not yet encountered while parsing.Constructors in org.basex.query.func with parameters of type StaticContextModifierConstructorDescriptionDynFuncCall(InputInfo info, StaticContext sc, boolean updating, boolean ndt, Expr expr, Expr... arg) Function constructor.DynFuncCall(InputInfo info, StaticContext sc, Expr expr, Expr... arg) Function constructor.PartFunc(StaticContext sc, InputInfo info, Expr expr, Expr[] args, int[] holes) Constructor.StaticFuncCall(QNm name, Expr[] args, StaticContext sc, InputInfo info) Function call constructor. -
Uses of StaticContext in org.basex.query.func.fn
Methods in org.basex.query.func.fn with parameters of type StaticContextModifier and TypeMethodDescriptionstatic StandardFuncFnError.get(QueryException ex, SeqType st, StaticContext sc) Creates an error function instance. -
Uses of StaticContext in org.basex.query.func.java
Methods in org.basex.query.func.java with parameters of type StaticContextModifier and TypeMethodDescriptionstatic JavaCallJavaCall.get(QNm qname, Expr[] args, QueryContext qc, StaticContext sc, InputInfo ii) Returns a new Java function instance.static ValueJavaCall.toValue(Object object, QueryContext qc, StaticContext sc) Converts the specified result to an XQuery value. -
Uses of StaticContext in org.basex.query.scope
Fields in org.basex.query.scope declared as StaticContextConstructors in org.basex.query.scope with parameters of type StaticContextModifierConstructorDescriptionLibraryModule(String doc, TokenObjMap<StaticFunc> funcs, TokenObjMap<StaticVar> vars, TokenSet modules, StaticContext sc) Constructor. -
Uses of StaticContext in org.basex.query.up.expr
Constructors in org.basex.query.up.expr with parameters of type StaticContextModifierConstructorDescriptionDelete(StaticContext sc, InputInfo info, Expr trg) Constructor.Insert(StaticContext sc, InputInfo info, Expr src, Insert.Mode mode, Expr trg) Constructor.Rename(StaticContext sc, InputInfo info, Expr trg, Expr name) Constructor.Replace(StaticContext sc, InputInfo info, Expr trg, Expr src, boolean value) Constructor. -
Uses of StaticContext in org.basex.query.util.collation
Methods in org.basex.query.util.collation with parameters of type StaticContextModifier and TypeMethodDescriptionstatic CollationCollation.get(byte[] uri, QueryContext qc, StaticContext sc, InputInfo ii, QueryError err) Returns a collation instance for the specified uri. -
Uses of StaticContext in org.basex.query.util.format
Methods in org.basex.query.util.format with parameters of type StaticContextModifier and TypeMethodDescriptionfinal byte[]Formatter.formatDate(ADate date, byte[] language, byte[] picture, byte[] calendar, byte[] place, StaticContext sc, InputInfo ii) Formats the specified date. -
Uses of StaticContext in org.basex.query.value.item
Fields in org.basex.query.value.item declared as StaticContextMethods in org.basex.query.value.item with parameters of type StaticContextModifier and TypeMethodDescriptionfinal booleanADate.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) final booleanAStr.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) booleanAtm.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) final booleanB64.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) booleanBln.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) booleanDbl.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) booleanDec.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) booleanDummy.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) final booleanDur.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) final booleanFItem.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) booleanFlt.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) booleanHex.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) booleanInt.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) abstract booleanItem.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) Compares the items for equality.booleanJav.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) booleanQNm.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) booleanUln.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) static QNmQNm.resolve(byte[] name, byte[] def, StaticContext sc, InputInfo ii) Resolves a QName string.static QNmQNm.resolve(byte[] name, StaticContext sc) Resolves a QName string.Constructors in org.basex.query.value.item with parameters of type StaticContextModifierConstructorDescriptionFuncItem(StaticContext sc, AnnList anns, QNm name, Var[] params, FuncType type, Expr expr, int stackSize, InputInfo info) Constructor.FuncItem(StaticContext sc, AnnList anns, QNm name, Var[] params, FuncType type, Expr expr, QueryFocus focus, int stackSize, InputInfo info) Constructor.QNm(byte[] name, StaticContext sc) Constructor, binding a statically known namespace. -
Uses of StaticContext in org.basex.query.value.node
Methods in org.basex.query.value.node with parameters of type StaticContextModifier and TypeMethodDescriptionfinal booleanANode.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) final AttsANode.nsScope(StaticContext sc) Returns a copy of the namespace hierarchy. -
Uses of StaticContext in org.basex.query.value.seq
Methods in org.basex.query.value.seq with parameters of type StaticContextModifier and TypeMethodDescriptionbooleanEmpty.eq(Item item, Collation coll, StaticContext sc, InputInfo ii) -
Uses of StaticContext in org.basex.query.value.type
Methods in org.basex.query.value.type with parameters of type StaticContextModifier and TypeMethodDescriptionArrayType.cast(Item item, QueryContext qc, StaticContext sc, InputInfo ii) AtomType.cast(Object value, QueryContext qc, StaticContext sc, InputInfo ii) AtomType.cast(Item item, QueryContext qc, StaticContext sc, InputInfo ii) final ItemFuncType.cast(Object value, QueryContext qc, StaticContext sc, InputInfo ii) FuncType.cast(Item item, QueryContext qc, StaticContext sc, InputInfo ii) final ValueListType.cast(Object value, QueryContext qc, StaticContext sc, InputInfo ii) final ValueListType.cast(Item item, QueryContext qc, StaticContext sc, InputInfo ii) MapType.cast(Item item, QueryContext qc, StaticContext sc, InputInfo ii) NodeType.cast(Object value, QueryContext qc, StaticContext sc, InputInfo ii) final ItemNodeType.cast(Item item, QueryContext qc, StaticContext sc, InputInfo ii) SeqType.cast(Value value, boolean error, QueryContext qc, StaticContext sc, InputInfo ii) Casts a sequence to this type.Type.cast(Object value, QueryContext qc, StaticContext sc, InputInfo ii) Casts the specified Java value to this type.Type.cast(Item item, QueryContext qc, StaticContext sc, InputInfo ii) Casts the specified item to this type.final ItemAtomType.castString(String value, QueryContext qc, StaticContext sc, InputInfo ii) final ItemFuncType.castString(String string, QueryContext qc, StaticContext sc, InputInfo ii) final ValueListType.castString(String value, QueryContext qc, StaticContext sc, InputInfo ii) final ItemNodeType.castString(String value, QueryContext qc, StaticContext sc, InputInfo ii) Type.castString(String value, QueryContext qc, StaticContext sc, InputInfo ii) Casts the specified string to this type.voidSeqType.promote(Item item, QNm name, ItemList items, QueryContext qc, StaticContext sc, InputInfo ii, boolean opt) Promotes the specified item to this item type.SeqType.promote(Value value, QNm name, QueryContext qc, StaticContext sc, InputInfo ii, boolean opt) Promotes the specified value to this sequence type. -
Uses of StaticContext in org.basex.query.var
Fields in org.basex.query.var declared as StaticContextMethods in org.basex.query.var with parameters of type StaticContextModifier and TypeMethodDescriptionorg.basex.query.var.StaticVarRefVariables.newRef(QNm name, StaticContext sc, InputInfo ii) Returns a new reference to the (possibly not yet declared) variable with the given name.Constructors in org.basex.query.var with parameters of type StaticContextModifierConstructorDescriptionVar(QNm name, SeqType declType, boolean param, int slot, QueryContext qc, StaticContext sc, InputInfo info) Constructor for a variable with an already known stack slot.Var(QNm name, SeqType declType, boolean param, QueryContext qc, StaticContext sc, InputInfo info) Constructor.Var(Var var, QueryContext qc, StaticContext sc) Copy constructor.Constructor for a top-level module.