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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Pattern
parsePattern(java.lang.String pattern, StaticContext env)
Parse a string representing an XSLT pattern
-
-
-
Method Detail
-
parsePattern
Pattern parsePattern(java.lang.String pattern, StaticContext env) throws XPathException
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
-
-