public class UpdateParser
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Expression |
parseDeleteExpression(XPathParser p)
Parse a delete expression.
|
static Expression |
parseInsertExpression(XPathParser p)
Parse the insert expression
Syntax: insert_node Expr choice Expr
choice: "as first into" | "as last into" | "into" | "after" | "before"
|
static Expression |
parseRenameExpression(XPathParser p)
Parse a "rename" expression.
|
static Expression |
parseReplaceNodeExpression(XPathParser p)
Parse a "replace node" expression.
|
static Expression |
parseReplaceValueExpression(XPathParser p)
Parse a "replace value" expression.
|
static Expression |
parseTransformExpression(XPathParser p)
Parse the "transform" (that is, copy/modify/return) expression
Syntax: "copy" "$" VarName ":=" ExprSingle ("," "$" VarName ":=" ExprSingle)*
"modify" ExprSingle "return" ExprSingle
|
public static Expression parseTransformExpression(XPathParser p) throws XPathException
p
- the calling expression parserXPathException
- in the event of a syntax errorpublic static Expression parseInsertExpression(XPathParser p) throws XPathException
p
- the calling expression parserXPathException
- in the event of a syntax errorpublic static Expression parseDeleteExpression(XPathParser p) throws XPathException
p
- the calling expression parserXPathException
- in the event of a syntax errorpublic static Expression parseReplaceNodeExpression(XPathParser p) throws XPathException
p
- the calling expression parserXPathException
- in the event of a syntax errorpublic static Expression parseReplaceValueExpression(XPathParser p) throws XPathException
p
- the calling expression parserXPathException
- in the event of a syntax errorpublic static Expression parseRenameExpression(XPathParser p) throws XPathException
p
- the calling expression parserXPathException
- in the event of a syntax errorCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.