@Override public void endArray() throws IOException { delegate.endArray(); } }
@Override public void endArray() throws IOException { delegate.endArray(); } }
@Override public void write(JsonStreamTarget target) throws IOException { target.endArray(); } @Override
@Override public void write(JsonStreamTarget target) throws IOException { target.endArray(); } @Override
@Override public void close() throws XMLStreamException { super.close(); try { if (documentArray) { target.endArray(); } target.close(); } catch (IOException e) { throw new XMLStreamException("Close failed", e); } }
@Override public void close() throws XMLStreamException { super.close(); try { if (documentArray) { target.endArray(); } target.close(); } catch (IOException e) { throw new XMLStreamException("Close failed", e); } }
public void writeEndArray() throws XMLStreamException { getScope().getInfo().endArray(); try { target.endArray(); } catch (IOException e) { throw new XMLStreamException("Cannot end array: " + getScope().getInfo().getArrayName(), e); } }
public void writeEndArray() throws XMLStreamException { getScope().getInfo().endArray(); try { target.endArray(); } catch (IOException e) { throw new XMLStreamException("Cannot end array: " + getScope().getInfo().getArrayName(), e); } }
@Override public void writeEndDocument() throws XMLStreamException { super.writeEndDocument(); try { if (getScope().getInfo().isArray()) { target.endArray(); } target.endObject(); } catch (IOException e) { throw new XMLStreamException("Cannot end document", e); } getScope().getInfo().startObjectWritten = false; }
@Override public void writeEndDocument() throws XMLStreamException { super.writeEndDocument(); try { if (getScope().getInfo().isArray()) { target.endArray(); } target.endObject(); } catch (IOException e) { throw new XMLStreamException("Cannot end document", e); } getScope().getInfo().startObjectWritten = false; }
case END_ARRAY: delegate.endArray(); target.endArray(); break; case NAME:
case END_ARRAY: delegate.endArray(); target.endArray(); break; case NAME: