public void writeComment(String data) throws XMLStreamException { mAnyOutput = true; // Need to finish an open start element? if (mStartElementOpen) { closeStartElement(mEmptyElement); } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent == XMLValidator.CONTENT_ALLOW_NONE) { reportInvalidContent(COMMENT); } /* No structural validation needed per se, for comments; they are * allowed anywhere in XML content. However, content may need to * be checked (by XmlWriter) */ int ix; try { ix = mWriter.writeComment(data); } catch (IOException ioe) { throw new WstxIOException(ioe); } if (ix >= 0) { reportNwfContent(ErrorConsts.WERR_COMMENT_CONTENT, DataUtil.Integer(ix)); } }
public void writeComment(String data) throws XMLStreamException { mAnyOutput = true; // Need to finish an open start element? if (mStartElementOpen) { closeStartElement(mEmptyElement); } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent == XMLValidator.CONTENT_ALLOW_NONE) { reportInvalidContent(COMMENT); } /* No structural validation needed per se, for comments; they are * allowed anywhere in XML content. However, content may need to * be checked (by XmlWriter) */ int ix; try { ix = mWriter.writeComment(data); } catch (IOException ioe) { throw new WstxIOException(ioe); } if (ix >= 0) { reportNwfContent(ErrorConsts.WERR_COMMENT_CONTENT, new Integer(ix)); } }
public void writeComment(String data) throws XMLStreamException { mAnyOutput = true; // Need to finish an open start element? if (mStartElementOpen) { closeStartElement(mEmptyElement); } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent == XMLValidator.CONTENT_ALLOW_NONE) { reportInvalidContent(COMMENT); } /* No structural validation needed per se, for comments; they are * allowed anywhere in XML content. However, content may need to * be checked (by XmlWriter) */ int ix; try { ix = mWriter.writeComment(data); } catch (IOException ioe) { throw new WstxIOException(ioe); } if (ix >= 0) { reportNwfContent(ErrorConsts.WERR_COMMENT_CONTENT, new Integer(ix)); } }
public void writeComment(String data) throws XMLStreamException { mAnyOutput = true; // Need to finish an open start element? if (mStartElementOpen) { closeStartElement(mEmptyElement); } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent == XMLValidator.CONTENT_ALLOW_NONE) { reportInvalidContent(COMMENT); } /* No structural validation needed per se, for comments; they are * allowed anywhere in XML content. However, content may need to * be checked (by XmlWriter) */ int ix; try { ix = mWriter.writeComment(data); } catch (IOException ioe) { throw new WstxIOException(ioe); } if (ix >= 0) { reportNwfContent(ErrorConsts.WERR_COMMENT_CONTENT, new Integer(ix)); } }
public void writeComment(String data) throws XMLStreamException { mAnyOutput = true; // Need to finish an open start element? if (mStartElementOpen) { closeStartElement(mEmptyElement); } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent == XMLValidator.CONTENT_ALLOW_NONE) { reportInvalidContent(COMMENT); } /* No structural validation needed per se, for comments; they are * allowed anywhere in XML content. However, content may need to * be checked (by XmlWriter) */ int ix; try { ix = mWriter.writeComment(data); } catch (IOException ioe) { throw new WstxIOException(ioe); } if (ix >= 0) { reportNwfContent(ErrorConsts.WERR_COMMENT_CONTENT, DataUtil.Integer(ix)); } }
@Override public void writeComment(String data) throws XMLStreamException { mAnyOutput = true; // Need to finish an open start element? if (mStartElementOpen) { closeStartElement(mEmptyElement); } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent == XMLValidator.CONTENT_ALLOW_NONE) { reportInvalidContent(COMMENT); } /* No structural validation needed per se, for comments; they are * allowed anywhere in XML content. However, content may need to * be checked (by XmlWriter) */ int ix; try { ix = mWriter.writeComment(data); } catch (IOException ioe) { throw new WstxIOException(ioe); } if (ix >= 0) { reportNwfContent(ErrorConsts.WERR_COMMENT_CONTENT, DataUtil.Integer(ix)); } }
@Override public void writeComment(String data) throws XMLStreamException { mAnyOutput = true; // Need to finish an open start element? if (mStartElementOpen) { closeStartElement(mEmptyElement); } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent == XMLValidator.CONTENT_ALLOW_NONE) { reportInvalidContent(COMMENT); } /* No structural validation needed per se, for comments; they are * allowed anywhere in XML content. However, content may need to * be checked (by XmlWriter) */ int ix; try { ix = mWriter.writeComment(data); } catch (IOException ioe) { throw new WstxIOException(ioe); } if (ix >= 0) { reportNwfContent(ErrorConsts.WERR_COMMENT_CONTENT, DataUtil.Integer(ix)); } }
@Override public void writeComment(String data) throws XMLStreamException { mAnyOutput = true; // Need to finish an open start element? if (mStartElementOpen) { closeStartElement(mEmptyElement); } // 08-Dec-2005, TSa: validator-based validation? if (mVldContent == XMLValidator.CONTENT_ALLOW_NONE) { reportInvalidContent(COMMENT); } /* No structural validation needed per se, for comments; they are * allowed anywhere in XML content. However, content may need to * be checked (by XmlWriter) */ int ix; try { ix = mWriter.writeComment(data); } catch (IOException ioe) { throw new WstxIOException(ioe); } if (ix >= 0) { reportNwfContent(ErrorConsts.WERR_COMMENT_CONTENT, DataUtil.Integer(ix)); } }