/** * Notify the end of a document node */ public void endDocument() throws XPathException { nextReceiver.endDocument(); }
/** * Notify the end of a document node */ public void endDocument() throws XPathException { level--; nextReceiver.endDocument(); }
/** * Notify the end of a document node */ public void endDocument() throws XPathException { if (level == 0) { nextReceiver.endDocument(); } previousAtomic = false; level--; state = level < 0 ? Open : Content; }
/** * Notify the end of a document node */ public void endDocument() throws XPathException { nextReceiver.endDocument(); }
/** * Notify the end of a document node */ public void endDocument() throws XPathException { seq1.endDocument(); seq2.endDocument(); }
/** * Notify the end of a document node */ public void endDocument() throws XPathException { level--; if (level == 0) { nextReceiver.endDocument(); } }
@Override public void replay(Receiver out) throws XPathException { out.endDocument(); } }
/** * Notify the end of a document node */ public void endDocument() throws XPathException { level--; nextReceiver.endDocument(); }
/** * Notify the end of a document node */ public void endDocument() throws XPathException { level--; if (level == 0) { nextReceiver.endDocument(); } }
/** * Notify the end of a document node */ public void endDocument() throws XPathException { if (level == 0) { nextReceiver.endDocument(); } level--; }
/** * Notify the end of a document node */ public void endDocument() throws XPathException { out.println("RCVR " + id + indent + " END DOCUMENT"); nextReceiver.endDocument(); }
/** * Notify the end of a document node */ public void endDocument() throws XPathException { count("endDocument"); nextReceiver.endDocument(); }
/** * Notify the end of a document node */ public void endDocument() throws XPathException { transition("endDocument"); if (stack.isEmpty() || stack.pop() != 0) { throw new IllegalStateException("Unmatched endDocument() call"); } nextReceiver.endDocument(); }
/** * Return the complete parsed result * * @return the XML document for this JSON * @throws XPathException */ public Item getResult() throws XPathException { out.endDocument(); out.close(); return builder.getCurrentRoot(); }
@Override public void endDocument() throws XPathException { if (--level == 0) { outputter.endDocument(); outputter = null; NodeInfo doc = builder.getCurrentRoot(); // add the constructed document to the result sequence append(doc, ExplicitLocation.UNKNOWN_LOCATION, ReceiverOptions.ALL_NAMESPACES); systemId = null; } previousAtomic = false; }
/** * Notify the end of the event stream */ public void close() throws XPathException { out.endElement(); // close the result:sequence element out.endDocument(); out.close(); }
@Override public void endDocument() throws XPathException { // empty output: must send a beginDocument()/endDocument() pair to the content handler if (!committed) { switchToMethod("xml"); } getNextReceiver().endDocument(); }
/** * Notify the end of the event stream */ public void close() throws XPathException { out.endElement(); // close the result:sequence element out.endDocument(); out.close(); }
@Override public void endDocument() throws XPathException { // empty output: must send a beginDocument()/endDocument() pair to the content handler if (!committed) { switchToMethod("xml"); } getNextReceiver().endDocument(); }
/** * Notify the end of a document node */ public void endDocument() throws XPathException { if (--level == 0) { outputter.endDocument(); DocumentInfo doc = (DocumentInfo)builder.getCurrentRoot(); // add the constructed document to the result sequence append(doc, 0, NodeInfo.ALL_NAMESPACES); } previousAtomic = false; }