@Override public void writeComment(String theData) throws XMLStreamException { indent(); myTarget.writeComment(theData); }
private void indentAndAdd() throws XMLStreamException { if (myInsidePre > 0) { return; } indent(); // update state of parent node if (depth > 0) { hasChildElement.put(depth - 1, true); } // reset state of current node hasChildElement.put(depth, false); depth++; }
@CoverageIgnore @Override public void writeEmptyElement(String theNamespaceURI, String theLocalName) throws XMLStreamException { indent(); myTarget.writeEmptyElement(theNamespaceURI, theLocalName); }
@CoverageIgnore @Override public void writeEmptyElement(String theLocalName) throws XMLStreamException { indent(); myTarget.writeEmptyElement(theLocalName); }
@CoverageIgnore @Override public void writeEmptyElement(String thePrefix, String theLocalName, String theNamespaceURI) throws XMLStreamException { indent(); myTarget.writeEmptyElement(thePrefix, theLocalName, theNamespaceURI); }
@Override public void writeComment(String theData) throws XMLStreamException { indent(); myTarget.writeComment(theData); }
private void indentAndAdd() throws XMLStreamException { if (myInsidePre > 0) { return; } indent(); // update state of parent node if (depth > 0) { hasChildElement.put(depth - 1, true); } // reset state of current node hasChildElement.put(depth, false); depth++; }
@CoverageIgnore @Override public void writeEmptyElement(String theNamespaceURI, String theLocalName) throws XMLStreamException { indent(); myTarget.writeEmptyElement(theNamespaceURI, theLocalName); }
@CoverageIgnore @Override public void writeEmptyElement(String theLocalName) throws XMLStreamException { indent(); myTarget.writeEmptyElement(theLocalName); }
@CoverageIgnore @Override public void writeEmptyElement(String thePrefix, String theLocalName, String theNamespaceURI) throws XMLStreamException { indent(); myTarget.writeEmptyElement(thePrefix, theLocalName, theNamespaceURI); }