public class XQueryParserEE extends XQueryParserPE
XPathParser.TemporaryContainer
executable, importedModules, queryVersion, XQUERY10, XQUERY30
allowXPath30Syntax, catchDepth, charChecker, codeInjector, defaultContainer, env, language, languageVersion, rangeVariables, scanOnly, SEQUENCE_TYPE, t, XPATH, XQUERY, XSLT_PATTERN
Constructor and Description |
---|
XQueryParserEE(String queryVersion,
boolean updating) |
Modifier and Type | Method and Description |
---|---|
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, parseDynamicFunctionCall, parseFunctionArgument, parseFunctionItemType, parseInlineFunction, parseLiteralFunctionItem, parseMapExpression, parseMapItemType
applyModuleImport, atStartOfRelativePath, customizeTokenizer, getExecutable, getLanguage, grumble, isStreaming, lookAhead, makeLetExpression, makeSimpleContent, makeStringJoin, makeStringLiteral, makeXQueryExpression, normalizeEQName, parseAnnotations, parseConstructor, parseExtensionExpression, parseFLWORExpression, parseFunctionDeclaration, parseLibraryModule, parseOutputDeclaration, parseSwitchExpression, parseTryCatchExpression, parseTypeswitchExpression, parseValidateExpression, readCollationName, setDisableCycleChecks, setExecutable, setStreaming, stringify, testPermittedAxis, URILiteral
currentTokenDisplay, declareRangeVariable, disallowedAtStartOfRelativePath, expect, getCodeInjector, getDefaultContainer, getMissingFunctionExplanation, getRangeVariables, getStaticContext, getTokenizer, grumble, grumble, grumble, isKeyword, isNamespaceTestAllowed, makeLocalNameTest, makeNameCode, makeNamespaceTest, makeNameTest, makeNodeName, makeStructuredQName, makeStructuredQNameSilently, makeTracer, nextToken, parse, parseBasicStep, parseBinaryExpression, parseExpression, parseFunctionCall, parseItemType, parseNodeTest, parseNumericLiteral, parsePathExpression, parsePredicate, parseRelativePath, parseRemainingPath, parseSequenceType, parseSequenceType, parseSimpleMappingExpression, parseStepExpression, parseStringLiteral, parseVariableReference, reportMissingFunction, resolveFunctionName, setCodeInjector, setDefaultContainer, setLanguage, setLocation, setLocation, setLocation, setRangeVariables, setRangeVariableStack, setScanOnly, undeclareRangeVariable, warning
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 encounteredCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.