com.saxonica.update
Class UpdateParser
java.lang.Object
   net.sf.saxon.expr.ExpressionParser
net.sf.saxon.expr.ExpressionParser
       net.sf.saxon.query.QueryParser
net.sf.saxon.query.QueryParser
           com.saxonica.update.UpdateParser
com.saxonica.update.UpdateParser
- public class UpdateParser 
- extends QueryParser
Parser for the XQuery Update extensions
 
 
 
 
 
| Fields inherited from class net.sf.saxon.expr.ExpressionParser | 
| compileWithTracing, defaultContainer, env, language, nameChecker, rangeVariables, scanOnly, SEQUENCE_TYPE, t, XPATH, XQUERY, XSLT_PATTERN | 
 
 
 
| Methods inherited from class net.sf.saxon.query.QueryParser | 
| applyModuleImport, getExecutable, getLanguage, grumble, lookAhead, makeSimpleContent, makeStringJoin, makeStringLiteral, makeXQueryExpression, newParser, parseConstructor, parseContextItemDeclaration, parseDecimalFormatDeclaration, parseDefaultDecimalFormat, parseExtensionExpression, parseForExpression, parseFunctionDeclaration, parseGroupByClause, parseLibraryModule, parseNamedNamespaceConstructor, parseNamespaceConstructor, parseOuterForClause, parseTypeswitchExpression, parseValidateExpression, processGroupingExpression, readCollationName, setDefaultValue, setDisableCycleChecks, setExecutable | 
 
| Methods inherited from class net.sf.saxon.expr.ExpressionParser | 
| currentTokenDisplay, declareRangeVariable, expect, findRangeVariable, getRangeVariableStack, getTokenizer, grumble, grumble, isCompileWithTracing, isKeyword, isNamespaceTestAllowed, makeLocalNameTest, makeNameCode, makeNameCodeSilently, makeNamespaceTest, makeNameTest, makeStructuredQName, makeTracer, nextToken, parse, parseDynamicFunctionCall, parseExpression, parseFunctionCall, parseFunctionItemType, parseInlineFunction, parseItemType, parseLiteralFunctionItem, parseMappingExpression, parseNodeTest, parseParenthesizedItemType, parsePattern, parseRelativePath, parseRemainingPath, parseSequenceType, parseSequenceType, parseStepExpression, parseTryCatchExpression, setCompileWithTracing, setLocation, setLocation, setRangeVariableStack, setScanOnly, undeclareRangeVariable, warning | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
UpdateParser
public UpdateParser()
getPermittedFunctions
public int getPermittedFunctions()
- Get the permitted set of standard functions in this environment
 
- 
- Overrides:
- getPermittedFunctionsin class- QueryParser
 
- 
 
parseRevalidationDeclaration
protected void parseRevalidationDeclaration()
                                     throws XPathException
- Parse the "declare revalidation" declaration.
 Syntax: <"declare" "revalidation"> ("strict" | "lax" | "skip")
 
- 
- Overrides:
- parseRevalidationDeclarationin class- QueryParser
 
- 
- Throws:
- XPathException
 
parseUpdatingFunctionDeclaration
protected void parseUpdatingFunctionDeclaration()
                                         throws XPathException
- Parse an updating function declaration (allowed in XQuery Update only)
 
- 
- Overrides:
- parseUpdatingFunctionDeclarationin class- QueryParser
 
- 
- Throws:
- XPathException
 
parseExprSingle
protected Expression parseExprSingle()
                              throws XPathException
- Parse an ExprSingle
 
- 
- Overrides:
- parseExprSinglein class- ExpressionParser
 
- 
- Returns:
- the resulting subexpression
- Throws:
- XPathException- if any error is encountered
 
Copyright (c) Saxonica Limited. All rights reserved.