SOLR-1590: Javadoc for XMLWriter#startTag

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@898127 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2010-01-12 00:11:23 +00:00
parent 36249c7416
commit fd6a62e6dd
2 changed files with 16 additions and 0 deletions

View File

@ -211,6 +211,9 @@ Build
Documentation
----------------------
* 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.

View File

@ -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 &quot;name&quot; 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();