public class PatternParser
extends java.lang.Object
PatternParser
is a helper class for parsing
XSLT patternsModifier and Type | Field and Description |
---|---|
private static boolean |
TRACE |
private static boolean |
USE_HANDLER |
Constructor and Description |
---|
PatternParser() |
Modifier and Type | Method and Description |
---|---|
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(java.lang.String text) |
private static final boolean TRACE
private static final boolean USE_HANDLER
public static Pattern parse(java.lang.String text) throws JaxenException, SAXPathException
JaxenException
SAXPathException
protected static Pattern convertExpr(Expr expr) throws JaxenException
JaxenException
protected static LocationPathPattern convertExpr(LocationPath locationPath) throws JaxenException
JaxenException
protected static LocationPathPattern convertStep(LocationPathPattern path, Step step) throws JaxenException
JaxenException
protected static LocationPathPattern convertDefaultStep(LocationPathPattern path, DefaultStep step) throws JaxenException
JaxenException
protected static boolean navigationStep(Step step)