Package org.jaxen.pattern
Class PatternParser
- java.lang.Object
-
- org.jaxen.pattern.PatternParser
-
public class PatternParser extends java.lang.Object
PatternParser
is a helper class for parsing XSLT patterns- Author:
- James Strachan
-
-
Constructor Summary
Constructors Constructor Description PatternParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
parse
public static Pattern parse(java.lang.String text) throws JaxenException, SAXPathException
- Throws:
JaxenException
SAXPathException
-
convertExpr
protected static Pattern convertExpr(Expr expr) throws JaxenException
- Throws:
JaxenException
-
convertExpr
protected static LocationPathPattern convertExpr(LocationPath locationPath) throws JaxenException
- Throws:
JaxenException
-
convertStep
protected static LocationPathPattern convertStep(LocationPathPattern path, Step step) throws JaxenException
- Throws:
JaxenException
-
convertDefaultStep
protected static LocationPathPattern convertDefaultStep(LocationPathPattern path, DefaultStep step) throws JaxenException
- Throws:
JaxenException
-
navigationStep
protected static boolean navigationStep(Step step)
-
-