Package net.sf.saxon.pattern
Interface PatternParser
- All Known Implementing Classes:
PatternParser30
public interface PatternParser
Interface to a parser of XSLT patterns. There were originally subclasses for XSLT 2.0 and
XSLT 3.0 patterns
-
Method Summary
Modifier and TypeMethodDescriptionparsePattern(String pattern, StaticContext env) Parse a string representing an XSLT pattern
-
Method Details
-
parsePattern
Parse a string representing an XSLT pattern- Parameters:
pattern- the pattern expressed as a Stringenv- the static context for the pattern- Returns:
- a Pattern object representing the result of parsing
- Throws:
XPathException- if the pattern contains a syntax error
-