155156157158159160161162
} finally { conn.commit(); conn.close(); } } catch (RepositoryException e) { throw new LDPathParseException("LDPath evaluation failed", e); } }
184185186187188189190191
227228229230231232233234235
} finally { conn.commit(); conn.close(); } } catch (RepositoryException e) { throw new LDPathParseException("LDPath evaluation failed", e); } return result; }
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); } }