/** * Compile the supplied expression and return the resulting path expression instance. * * @param expression the expression * @return the path expression; never null * @throws IllegalArgumentException if the expression is null * @throws InvalidPathExpressionException if the expression is blank or is not a valid expression */ public static final PathExpression compile( String expression ) throws InvalidPathExpressionException { return new PathExpression(expression); }
@Before public void beforeEach() throws Exception { expr = new SequencerPathExpression(new PathExpression(".*"), "/output"); }
@Before public void beforeEach() throws Exception { expr = new PathExpression(".*"); }