Example usage for javax.xml.stream XMLStreamWriter writeComment

List of usage examples for javax.xml.stream XMLStreamWriter writeComment

Introduction

In this page you can find the example usage for javax.xml.stream XMLStreamWriter writeComment.

Prototype

public void writeComment(String data) throws XMLStreamException;

Source Link

Document

Writes an xml comment with the data enclosed

Usage

From source file:org.slc.sli.modeling.wadl.writer.WadlWriter.java

private static final void writeComment(final DmComment comment, final XMLStreamWriter xsw)
        throws XMLStreamException {
    xsw.writeComment(comment.getStringValue());
}