public class XQueryParserEE extends XQueryParserPE
XPathParser.NestedLocation
executable, importedModules, queryVersion, XQUERY10, XQUERY30, XQUERY31
allowXPath30Syntax, 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, parseNamedFunctionReference
applyModuleImport, 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, URILiteral
checkLanguageVersion30, 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, whyDisallowedType
public XQueryParserEE(String queryVersion, boolean updating)
public XQueryParser newParser()
newParser
in class XQueryParserPE
public int getPermittedFunctions()
getPermittedFunctions
in class XQueryParserPE
protected void parseRevalidationDeclaration() throws XPathException
parseRevalidationDeclaration
in class XQueryParser
XPathException
protected void parseUpdatingFunctionDeclaration() throws XPathException
parseUpdatingFunctionDeclaration
in class XQueryParser
XPathException
- if parsing fails or if updating functions are not allowedpublic Expression parseExprSingle() throws XPathException
parseExprSingle
in class XPathParser
XPathException
- if any error is encounteredpublic void checkStreamability(Expression exp, ContextItemStaticInfo contextInfo) throws XPathException
XQueryParser
checkStreamability
in class XQueryParser
exp
- the expression to be checkedcontextInfo
- information about the context itemXPathException
- if the expression is not streamableCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.