org.jaxen.pattern

Class PatternParser


public class PatternParser
extends java.lang.Object

PatternParser is a helper class for parsing XSLT patterns
Author:
James Strachan

Field Summary

private static boolean
TRACE
private static boolean
USE_HANDLER

Method Summary

protected static LocationPathPattern
convertDefaultStep(LocationPathPattern path, DefaultStep step)
protected static Pattern
convertExpr(Expr expr)
protected static LocationPathPattern
convertExpr(LocationPath locationPath)
protected static LocationPathPattern
convertStep(LocationPathPattern path, Step step)
protected static boolean
navigationStep(Step step)
static Pattern
parse(String text)

Field Details

TRACE

private static final boolean TRACE
Field Value:
false

USE_HANDLER

private static final boolean USE_HANDLER
Field Value:
false

Method Details

convertDefaultStep

protected static LocationPathPattern convertDefaultStep(LocationPathPattern path,
                                                        DefaultStep step)
            throws JaxenException

convertExpr

protected static Pattern convertExpr(Expr expr)
            throws JaxenException

convertExpr

protected static LocationPathPattern convertExpr(LocationPath locationPath)
            throws JaxenException

convertStep

protected static LocationPathPattern convertStep(LocationPathPattern path,
                                                 Step step)
            throws JaxenException

navigationStep

protected static boolean navigationStep(Step step)

parse

public static Pattern parse(String text)
            throws JaxenException,
                   SAXPathException