/** * End of event sequence */ public void close() throws XPathException { if (nextReceiver != null) { nextReceiver.close(); } previousAtomic = false; }
private void closeMessageEmitter() throws XPathException { if (explicitMessageReceiver != null) { explicitMessageReceiver.close(); } }
/** * Close the output */ public void close() throws XPathException { // System.err.println("Close " + this + " using emitter " + emitter.getClass()); nextReceiver.close(); previousAtomic = false; state = Final; }
/** * Close the output */ public void close() throws XPathException { // System.err.println("Close " + this + " using emitter " + emitter.getClass()); nextReceiver.close(); previousAtomic = false; }
/** * End of event sequence */ public void close() throws XPathException { if (nextReceiver != null) { nextReceiver.close(); } previousAtomic = false; }
public void close() throws XPathException { closed = true; if (usedAsPrimaryResult) { nextReceiver.close(); } }
/** * Close the output */ public void close() throws XPathException { previousAtomic = false; if (outputter != null) { outputter.close(); } }
public void close() throws XPathException { closed = true; if (usedAsPrimaryResult) { nextReceiver.close(); } }
/** * End of output. Note that closing this receiver also closes the rest of the * pipeline. */ public void close() throws XPathException { // Note: It's wrong to assume that because we've finished writing to this // receiver, then we've also finished writing to other receivers in the pipe. // In the case where the rest of the pipe is to stay open, the caller should // either avoid doing the close(), or should first set the underlying receiver // to null. nextReceiver.close(); }
/** * End of sequence */ public void close() throws XPathException { if (state != State.Final) { nextReceiver.close(); state = State.Final; } }
@Override public void close() throws XPathException { previousAtomic = false; if (outputter != null) { outputter.close(); } }
/** * End of document */ public void close() throws XPathException { out.println("RCVR " + id + indent + " CLOSE"); nextReceiver.close(); }
/** * End of document */ public void close() throws XPathException { out.println("RCVR " + id + indent + " CLOSE"); nextReceiver.close(); }
public void close() throws XMLStreamException { if (depth >= 0) { writeEndDocument(); } try { receiver.close(); } catch (XPathException err) { throw new XMLStreamException(err); } }
/** * 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(); }
/** * End of document */ public void close() throws XPathException { // empty output: must send a beginDocument()/endDocument() pair to the content handler if (!committed) { switchToMethod("xml"); } getUnderlyingReceiver().close(); }
/** * Notify the end of the event stream */ public void close() throws XPathException { out.endElement(); // close the result:sequence element out.endDocument(); out.close(); }
/** * Notify the end of the event stream */ public void close() throws XPathException { out.endElement(); // close the result:sequence element out.endDocument(); out.close(); }
/** * End of document */ public void close() throws XPathException { // empty output: must send a beginDocument()/endDocument() pair to the content handler if (!committed) { switchToMethod("xml"); } getNextReceiver().close(); }