Index: trunk/src/scriptbuilder/structures/XMLWriter.java
===================================================================
--- trunk/src/scriptbuilder/structures/XMLWriter.java	(revision 46)
+++ trunk/src/scriptbuilder/structures/XMLWriter.java	(revision 76)
@@ -8,4 +8,11 @@
 {
 
+    /**
+     * XML-style opening tag. Example: if given string "my_tag", returns
+     * "<my_tag>".
+     *
+     * @param s the XML element to be included in the tag.
+     * @return the properly formatted tag
+     */
     public static String openTag(String s)
     {
@@ -13,4 +20,11 @@
     }
 
+    /**
+     * XML-style closing tag. Example: if given string "my_tag", returns
+     * "</my_tag>".
+     *
+     * @param s the XML element to be included in the tag.
+     * @return the properly formatted tag
+     */
     public static String closeTag(String s)
     {
@@ -18,4 +32,11 @@
     }
 
+    /**
+     * XML-style empty tag. Example: if given string "my_tag", returns
+     * "<my_tag/>".
+     *
+     * @param s the XML element to be included in the tag.
+     * @return the properly formatted tag
+     */
     public static String emptyTag(String s)
     {
@@ -23,4 +44,12 @@
     }
 
+    /**
+     * Creates a pair of XML open and close tags to wrap a simple line of data.
+     * Useful if only one element need be enclosed in this particular tag.
+     *
+     * @param s the data to be wrapped
+     * @param e the XML element represented by the data
+     * @return an XML string of the format <my_tag>some_data_goes_here</my_tag>
+     */
     public static String simpleTag(String s, ELEMENT e)
     {
