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 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 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