public final class ValidateRngReport extends ValidateRng
definition, sc
Constructor and Description |
---|
ValidateRngReport() |
Modifier and Type | Method and Description |
---|---|
protected Empty |
check(QueryContext qc)
Runs the validation process and returns an empty sequence or an error.
|
protected Value |
info(QueryContext qc)
Runs the validation process and returns the errors as string sequence.
|
protected ArrayList<org.basex.query.func.validate.ErrorInfo> |
process(org.basex.query.func.validate.Validation v)
Runs the specified validator.
|
protected IO |
read(Item item,
SerializerOptions sopts)
Returns an input reference (possibly cached) to the first argument.
|
protected FElem |
report(QueryContext qc)
Runs the validation process and returns the errors as XML.
|
Value |
value(QueryContext qc)
Evaluates the expression and returns the resulting value.
|
errors
checkAdmin, checkArity, checkArity, checkCreate, checkData, checkPath, checkPath, coerceFunc, compileData, copy, data, data, dataLock, dateTimeToMs, description, equals, has, opt, optFirst, optFirst, optimize, plan, plan, serialize, simplifyArgs, toBaseUri, toBindings, toCollation, toDate, toDBNode, toEncodingOrNull, toNodeOrAtomItem, toOptions, toPath, toPath, toQuery, toQuery, vacuous
accept, allAreValues, args, checkUp, compile, copyAll, count, exprSize, flatten, inline, inline, inlineable, mayBePositional, simplifyAll
adoptType, atomValue, checkAllUp, checkNoEmpty, checkNoEmpty, checkNoneUp, checkNoUp, checkType, checkType, checkUp, copyType, ctxValue, ebv, item, iter, refineType, seqType, size, test, toArray, toArray, toAtomItem, toB64, toB64, toBin, toBin, toBoolean, toBoolean, toBytes, toBytes, toDouble, toDouble, toElem, toFloat, toFunc, toItem, toItem, toLong, toLong, toMap, toMap, toNode, toNode, toNodeOrNull, toNumber, toNumberOrNull, toQNm, toQNm, toToken, toToken, toTokenOrNull, toZeroToken
arg, atomItem, atomIter, ddo, funcType, hasFreeVars, indexAccessible, isSimple, markTailCalls, mergeEbv, simplifyFor, typeCheck, uses, visitAll
toErrorString, toString
public Value value(QueryContext qc) throws QueryException
Expr
Expr.item(QueryContext, InputInfo)
must be implemented
instead.value
in class ValidateRng
qc
- query contextQueryException
- query exceptionprotected final Empty check(QueryContext qc) throws QueryException
qc
- query contextQueryException
- query exceptionprotected final Value info(QueryContext qc) throws QueryException
qc
- query contextQueryException
- query exceptionprotected final FElem report(QueryContext qc) throws QueryException
qc
- query contextQueryException
- query exceptionprotected final ArrayList<org.basex.query.func.validate.ErrorInfo> process(org.basex.query.func.validate.Validation v) throws QueryException
v
- validator codeQueryException
- query exceptionprotected final IO read(Item item, SerializerOptions sopts) throws QueryException, IOException
item
- itemsopts
- serializer parametersQueryException
- query exceptionIOException
- exceptionCopyright © 2005–2023 BaseX Team. All rights reserved.