public interface PatternParser
Modifier and Type | Method and Description |
---|---|
Pattern |
parsePattern(java.lang.String pattern,
StaticContext env,
int lineNumber)
Parse a string representing an XSLT pattern
|
Pattern parsePattern(java.lang.String pattern, StaticContext env, int lineNumber) throws XPathException
pattern
- the pattern expressed as a Stringenv
- the static context for the patternlineNumber
- the line number of the pattern within some containing resource, for diagnosticsXPathException
- if the pattern contains a syntax errorCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.