Apache Solr open-source search software
SOLR-1590: Javadoc for XMLWriter#startTag
Chris M. Hostetterfd6a62e6ddf5
diff --git a/CHANGES.txt b/CHANGES.txtindex a2336762b0f..72fa41e4179 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -211,6 +211,9 @@ BuildDocumentation----------------------+* SOLR-1590: Javadoc for XMLWriter#startTag+ (Chris A. Mattmann via hossman)+================== Release 1.4.0 ==================Release Date: See http://lucene.apache.org/solr for the official release date.diff --git a/src/java/org/apache/solr/request/XMLWriter.java b/src/java/org/apache/solr/request/XMLWriter.javaindex 3395e3644ce..bfe97608204 100644--- a/src/java/org/apache/solr/request/XMLWriter.java+++ b/src/java/org/apache/solr/request/XMLWriter.java@@ -261,6 +261,19 @@ final public class XMLWriter {+ /**+ * Begins the writing of an XML tag output, using the provided+ * <code>tag</code> as the name, with an optional <code>name</code>+ * attribute, set to the provided value of name. If <code>closeTag</code> is+ * set to true, then the tag is written with no internal text value.+ *+ * @param tag The name of the XML tag to write.+ * @param name If provided (not set to null), a "name" attribute is+ * written to the tag, with the value set to the provided parameter.+ * @param closeTag If set to true, then the tag is closed, without writing any+ * internal text value.+ * @throws IOException If the underlying {@link #writer} throws an Exception.+ */public void startTag(String tag, String name, boolean closeTag) throws IOException {if (doIndent) indent();