Package com.saxonica.expr
Class SaxonSyntaxExtension
- java.lang.Object
-
- net.sf.saxon.expr.parser.ParserExtension
-
- com.saxonica.expr.SaxonSyntaxExtension
-
- Direct Known Subclasses:
XQueryParserExtensionPE
public class SaxonSyntaxExtension extends ParserExtension
Parser extension for syntax in XPath that is accepted only in Saxon-PE and -EE. This means Saxon-defined syntax extensions.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sf.saxon.expr.parser.ParserExtension
ParserExtension.TemporaryXSLTVariableBinding
-
-
Constructor Summary
Constructors Constructor Description SaxonSyntaxExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleExternalFunctionDeclaration(XQueryParser p, XQueryFunction func)
Expression
parseTypePattern(XPathParser p)
Parse an extended XSLT pattern in the form item-type (predicate)* (but excluding the predicates)-
Methods inherited from class net.sf.saxon.expr.parser.ParserExtension
needExtension, parseExtendedExprSingle, parseExtendedItemType, parseItemTypeDeclaration, parseRevalidationDeclaration, parseUpdatingFunctionDeclaration
-
-
-
-
Method Detail
-
parseTypePattern
public Expression parseTypePattern(XPathParser p) throws XPathException
Parse an extended XSLT pattern in the form item-type (predicate)* (but excluding the predicates)- Overrides:
parseTypePattern
in classParserExtension
- Parameters:
p
- the XPath parser- Returns:
- the equivalent expression in the form .[. instance of type] (predicate)*
- Throws:
XPathException
- if a static error is found
-
handleExternalFunctionDeclaration
public void handleExternalFunctionDeclaration(XQueryParser p, XQueryFunction func) throws XPathException
- Overrides:
handleExternalFunctionDeclaration
in classParserExtension
- Throws:
XPathException
-
-