297298299300301302303304305306307
} try { config = new Configuration(DOMParser.toDocument(Xindice.DEFAULT_CONFIGURATION), false); } catch (XindiceException e) { throw new XindiceRuntimeException("Unable to parse default database configuration", e); } } return config; }
6061626364656667
public Value(String data) { try { this.data = data.getBytes("utf-8"); this.len = this.data.length; } catch (UnsupportedEncodingException e) { throw new XindiceRuntimeException("Java doesn't support UTF-8 encoding", e); } }
118119120121122123124125
public final String toString() { try { return new String(data, pos, len, "utf-8"); } catch (UnsupportedEncodingException e) { throw new XindiceRuntimeException("Java doesn't seem to support UTF-8!", e); } }
11761177117811791180118111821183
}; try { prepareNextNode(); } catch (Exception e) { throw new XindiceRuntimeException(e.getMessage()); } }
12611262126312641265126612671268126912701271
node = ni.nextNode(); if (node == null) { try { prepareNextNode(); } catch (Exception e) { throw new XindiceRuntimeException(e.getMessage()); } } return n; }
114115116117118119120121122123124
((DBNode) n).expandSource(); } root.appendChild(doc.importNode(n, true)); } else { throw new XindiceRuntimeException("Unknown result type (" + element.getClass().getName() + ") in nodeset"); } count++; }