public class XQueryParserEE extends XQueryParserPE
XPathParser.NestedLocationexecutable, importedModules, queryVersion, XQUERY10, XQUERY30, XQUERY31allowXPath30Syntax, allowXPath31Syntax, catchDepth, charChecker, codeInjector, env, EXTENDED_ITEM_TYPE, language, languageVersion, qNameParser, rangeVariables, scanOnly, SEQUENCE_TYPE, t, XPATH, XQUERY, XSLT_PATTERN| Constructor and Description |
|---|
XQueryParserEE(String queryVersion,
boolean updating) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkStreamability(Expression exp,
ContextItemStaticInfo contextInfo)
Check that an expression is streamable
|
int |
getPermittedFunctions()
Get the permitted set of standard functions in this environment
|
XQueryParser |
newParser()
Create a new parser of the same kind
|
Expression |
parseExprSingle()
Parse an ExprSingle
|
protected void |
parseRevalidationDeclaration()
Parse the "declare revalidation" declaration (XQuery Update).
|
protected void |
parseUpdatingFunctionDeclaration()
Parse an updating function declaration (allowed in XQuery Update only)
|
findRangeVariable, isReservedInQuery, makeCurriedFunction, parseArrowPostfix, parseDynamicFunctionCall, parseFunctionArgument, parseFunctionItemType, parseInlineFunction, parseNamedFunctionReferenceapplyModuleImport, atStartOfRelativePath, checkAnnotations, customizeTokenizer, ensureSchemaAware, getExecutable, getLanguage, isStreaming, lookAhead, makeLetExpression, makeSimpleContent, makeStringJoin, makeStringLiteral, makeXQueryExpression, normalizeEQName, parseAnnotations, parseAnnotationsList, parseConstructor, parseExtensionExpression, parseFLWORExpression, parseFunctionDeclaration, parseLibraryModule, parseOutputDeclaration, parseStringTemplate, parseSwitchExpression, parseTryCatchExpression, parseTypeswitchExpression, parseValidateExpression, readCollationName, setDisableCycleChecks, setExecutable, setStreaming, stringify, testPermittedAxis, unescape, URILiteralcheckLanguageVersion30, checkLanguageVersion31, currentTokenDisplay, declareRangeVariable, disallowedAtStartOfRelativePath, expect, getCodeInjector, getMissingFunctionExplanation, getQNameParser, getRangeVariables, getStaticContext, getTokenizer, grumble, grumble, grumble, grumble, isAllowAbsentExpression, isAllowXPath31Syntax, isKeyword, isNamespaceTestAllowed, isReservedFunctionName30, isReservedFunctionName31, makeLocalNameTest, makeLocation, makeNameCode, makeNamespaceTest, makeNameTest, makeNodeName, makeStructuredQName, makeStructuredQNameSilently, makeTracer, nextToken, parse, parseArrayCurlyConstructor, parseArrayItemType, parseArraySquareConstructor, parseBasicStep, parseBinaryExpression, parseExpression, parseExtendedItemType, parseExtendedSequenceType, parseFunctionCall, parseItemType, parseLookup, parseMapExpression, parseMapItemType, parseNodeTest, parseNumericLiteral, parseParenthesizedExpression, parsePathExpression, parsePredicate, parseRelativePath, parseRemainingPath, parseSequenceType, parseSequenceType, parseSimpleMappingExpression, parseStepExpression, parseStringLiteral, parseVariableReference, reportMissingFunction, resolveFunctionName, setAllowAbsentExpression, setCatchDepth, setCodeInjector, setLanguage, setLocation, setLocation, setLocation, setQNameParser, setRangeVariables, setRangeVariableStack, setScanOnly, undeclareRangeVariable, warning, whyDisallowedTypepublic XQueryParserEE(String queryVersion, boolean updating)
public XQueryParser newParser()
newParser in class XQueryParserPEpublic int getPermittedFunctions()
getPermittedFunctions in class XQueryParserPEprotected void parseRevalidationDeclaration()
throws XPathException
parseRevalidationDeclaration in class XQueryParserXPathExceptionprotected void parseUpdatingFunctionDeclaration()
throws XPathException
parseUpdatingFunctionDeclaration in class XQueryParserXPathException - if parsing fails or if updating functions are not allowedpublic Expression parseExprSingle() throws XPathException
parseExprSingle in class XPathParserXPathException - if any error is encounteredpublic void checkStreamability(Expression exp, ContextItemStaticInfo contextInfo) throws XPathException
XQueryParsercheckStreamability in class XQueryParserexp - the expression to be checkedcontextInfo - information about the context itemXPathException - if the expression is not streamableCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.