final public void setIndex(double index) throws XPathEvalException{ if (index<=0) throw new XPathEvalException("Invalid index number"); d = (double) index; }
public Map<String, Object> next() { if (!hasNext()) return null; Map<String, Object> row = new HashMap<String, Object>(); try { for (String fieldName : navigators.keySet()) { FieldValueSource navi = navigators.get(fieldName); Object fieldValue = navi.getFieldValue(); row.put(fieldName, fieldValue); } row.put(JulieXMLConstants.VTD_INDEX, index); index = ap.evalXPath(); return row; } catch (XPathEvalException e) { e.printStackTrace(); } catch (NavException e) { e.printStackTrace(); } catch (Exception e) { e.printStackTrace(); } return null; }
final public void setIndex(double index) throws XPathEvalException{ if (index<=0) throw new XPathEvalException("Invalid index number"); d = (double) index; }
e.printStackTrace(); } catch (NavException e) { e.printStackTrace();
final public int evalNodeSet(VTDNav vn) throws XPathEvalException{ throw new XPathEvalException("NumExpr can't eval to a node set!"); }
e.printStackTrace(); } catch (NavException e) { e.printStackTrace();
final public int evalNodeSet(VTDNav vn) throws XPathEvalException{ throw new XPathEvalException("UnaryExpr can't eval to a node set!"); }
final public int evalNodeSet(VTDNav vn) throws XPathEvalException { throw new XPathEvalException("BinaryExpr can't eval to a node set!"); }
final public void setIndex(double index) throws XPathEvalException{ if (index<=0) throw new XPathEvalException("Invalid index number"); d = (double) index; }
final public int evalNodeSet(VTDNav vn) throws XPathEvalException{ throw new XPathEvalException("LiteralExpr can't eval to a node set!"); }
final public int evalNodeSet(VTDNav vn) throws XPathEvalException{ throw new XPathEvalException("NumExpr can't eval to a node set!"); }
final public int evalNodeSet(VTDNav vn) throws XPathEvalException { throw new XPathEvalException("BinaryExpr can't eval to a node set!"); }
final public int evalNodeSet(VTDNav vn) throws XPathEvalException{ throw new XPathEvalException("NumExpr can't eval to a node set!"); }
final public int evalNodeSet(VTDNav vn) throws XPathEvalException{ throw new XPathEvalException("LiteralExpr can't eval to a node set!"); }
final public int evalNodeSet(VTDNav vn) throws XPathEvalException{ throw new XPathEvalException("UnaryExpr can't eval to a node set!"); }
final public int evalNodeSet(VTDNav vn) throws XPathEvalException{ throw new XPathEvalException("LiteralExpr can't eval to a node set!"); }
final public int evalNodeSet(VTDNav vn) throws XPathEvalException{ throw new XPathEvalException("UnaryExpr can't eval to a node set!"); }
final public int evalNodeSet(VTDNav vn) throws XPathEvalException { throw new XPathEvalException("BinaryExpr can't eval to a node set!"); }
throw new XPathEvalException(" key() not yet implemented "); throw new XPathEvalException(" Function Expr can't eval to node set ");
throw new XPathEvalException(" key() not yet implemented "); throw new XPathEvalException(" Function Expr can't eval to node set ");