public boolean moreDocuments() { if (!initialized) { readSource(); } return docindex < documents.size(); }
public void run() throws SaxonApiException { super.run(); String selectExpr = getOption(_select).getString(); Select input = new Select(runtime,source,selectExpr,step.getNode()); while (input.moreDocuments()) { XdmNode doc = input.read(); result.write(doc); } } }
public XdmNode read () throws SaxonApiException { if (!initialized) { readSource(); } XdmNode doc = null; if (moreDocuments()) { doc = documents.get(docindex++); } if (reader != null) { logger.trace(MessageFormatter.nodeMessage(reader.getNode(), reader.getName() + " read '" + (doc == null ? "null" : doc.getBaseURI()) + "' from " + this)); } return doc; } }
public void run() throws SaxonApiException { super.run(); String selectExpr = getOption(_select).getString(); Select input = new Select(runtime,source,selectExpr,step.getNode()); while (input.moreDocuments()) { XdmNode doc = input.read(); result.write(doc); } } }
public XdmNode read () throws SaxonApiException { if (!initialized) { readSource(); } XdmNode doc = null; if (moreDocuments()) { doc = documents.get(docindex++); } if (reader != null) { logger.trace(MessageFormatter.nodeMessage(reader.getNode(), reader.getName() + " read '" + (doc == null ? "null" : doc.getBaseURI()) + "' from " + this)); } return doc; } }
public boolean moreDocuments() { if (!initialized) { readSource(); } return docindex < documents.size(); }
public int documentCount() { if (!initialized) { readSource(); } return documents.size(); }
public int documentCount() { if (!initialized) { readSource(); } return documents.size(); }