org.jaxen.pattern

Class PatternParser

public class PatternParser extends Object

PatternParser is a helper class for parsing XSLT patterns

Author: James Strachan

Field Summary
static booleanTRACE
static booleanUSE_HANDLER
Method Summary
protected static LocationPathPatternconvertDefaultStep(LocationPathPattern path, DefaultStep step)
protected static PatternconvertExpr(Expr expr)
protected static LocationPathPatternconvertExpr(LocationPath locationPath)
protected static LocationPathPatternconvertStep(LocationPathPattern path, Step step)
protected static booleannavigationStep(Step step)
static Patternparse(String text)

Field Detail

TRACE

private static final boolean TRACE

USE_HANDLER

private static final boolean USE_HANDLER

Method Detail

convertDefaultStep

protected static LocationPathPattern convertDefaultStep(LocationPathPattern path, DefaultStep step)

convertExpr

protected static Pattern convertExpr(Expr expr)

convertExpr

protected static LocationPathPattern convertExpr(LocationPath locationPath)

convertStep

protected static LocationPathPattern convertStep(LocationPathPattern path, Step step)

navigationStep

protected static boolean navigationStep(Step step)

parse

public static Pattern parse(String text)