Revision 11484 trunk/libraries/libGPE-KML/src/org/gvsig/gpe/kml/writer/features/DescriptionWriter.java

View differences:

DescriptionWriter.java
49 49
 *
50 50
 * $Id$
51 51
 * $Log$
52
 * Revision 1.1  2007-04-14 16:08:07  jorpiell
52
 * Revision 1.2  2007-05-08 07:53:08  jorpiell
53
 * Add comments to the writers
54
 *
55
 * Revision 1.1  2007/04/14 16:08:07  jorpiell
53 56
 * Kml writing support added
54 57
 *
55 58
 *
56 59
 */
57 60
/**
61
 * This class writes the description tag. Example:
62
 * <p>
63
 * <pre>
64
 * <code>
65
 * &lt;gml:description&gt;GML tag desciption&lt;/gml:description&gt;
66
 * </code>
67
 * </pre>
68
 * </p>
58 69
 * @author Jorge Piera LLodr? (jorge.piera@iver.es)
70
 * @see http://code.google.com/apis/kml/documentation/kml_tags_21.html#description
59 71
 */
60 72
public class DescriptionWriter {
61 73
	
74
	/**
75
	 * Writes the description tag and its value
76
	 * @param writer
77
	 * Writer to write the labels
78
	 * @param description
79
	 * The description value
80
	 * @throws IOException
81
	 */
62 82
	public static void write(Writer writer,String description) throws IOException{
63 83
		writer.write("\n");
64 84
		writer.write("<" + KmlTags.DESCRIPTION + ">");

Also available in: Unified diff