116117118119120121122123124
NodeSelector<Node> selector = parser.parseSelector(namespaces); return selector.select(backend,context,null,null); } catch (ParseException e) { throw new LDPathParseException("error while parsing path expression",e); } }
162163164165166167168169170
NodeSelector<Node> selector = parser.parseSelector(namespaces); return selector.select(backend, context, ImmutableList.<Node> of(), paths); } catch (ParseException e) { throw new LDPathParseException("error while parsing path expression",e); } }
206207208209210211212213214
FieldMapping<T,Node> mapping = parser.parseRule(namespaces); return mapping.getValues(backend, context); } catch (ParseException e) { throw new LDPathParseException("error while parsing path expression",e); } }
241242243244245246247248
} return result; } catch (ParseException e) { throw new LDPathParseException("error while parsing path expression",e); } }
264265266267268269270271
} try { return parser.parseProgram(); } catch (ParseException e) { throw new LDPathParseException("error while parsing path program",e); } }