public interface PatternParser
| Modifier and Type | Method and Description |
|---|---|
Pattern |
parsePattern(String pattern,
StaticContext env,
int lineNumber)
Parse a string representing an XSLT pattern
|
Pattern parsePattern(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-2014 Saxonica Limited. All rights reserved.