net.sf.saxon.pattern

## Interface PatternParser

- All Known Implementing Classes:
    PatternParser20, PatternParser30

      public interface PatternParser

  Created by IntelliJ IDEA. User: mike Date: 08/02/2013 Time: 10:46 To change this template use File | Settings | File Templates.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Pattern` | `parsePattern(String pattern, StaticContext env)` Parse a string representing an XSLT pattern

- - ### Method Detail

    - #### parsePattern

          Pattern parsePattern(String pattern,
                             StaticContext env)
                               throws XPathException

      Parse a string representing an XSLT pattern
      Parameters:
        `pattern` - the pattern expressed as a String
        `env` - the static context for the pattern
      Returns:
        a Pattern object representing the result of parsing
      Throws:
        `XPathException` - if the pattern contains a syntax error

Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.