This commit is contained in:
Scott Murray
2013-04-01 16:46:41 -07:00
parent 07e265d0e6
commit ba3223d418
2 changed files with 10 additions and 2 deletions
+7 -2
View File
@@ -6012,8 +6012,10 @@ public class PApplet extends Applet
* @brief Creates a new XML object
* @param name the name to be given to the root element of the new XML object
* @return an XML object, or null
* @see XML
* @see PApplet#loadXML(String)
* @see PApplet#parseXML(String)
* @see PApplet#saveXML(XML, String)
*/
public XML createXML(String name) {
try {
@@ -6027,9 +6029,10 @@ public class PApplet extends Applet
/**
* @webref input:files
* @param filename name of a file in the data folder or a URL.
* @see XML
* @see PApplet#createXML(String)
* @see PApplet#parseXML(String)
* @see PApplet#saveXML(String)
* @see PApplet#saveXML(XML, String)
* @see PApplet#loadBytes(String)
* @see PApplet#loadStrings(String)
* @see PApplet#loadTable(String)
@@ -6053,9 +6056,10 @@ public class PApplet extends Applet
* @brief Converts String content to an XML object
* @param data the content to be parsed as XML
* @return an XML object, or null
* @see XML
* @see PApplet#createXML(String)
* @see PApplet#loadXML(String)
* @see PApplet#saveXML(String)
* @see PApplet#saveXML(XML, String)
*/
public XML parseXML(String xmlString) {
return parseXML(xmlString, null);
@@ -6074,6 +6078,7 @@ public class PApplet extends Applet
* @webref output:files
* @param xml the XML object to save to disk
* @param filename name of the file to write to
* @see XML
* @see PApplet#createXML(String)
* @see PApplet#loadXML(String)
* @see PApplet#parseXML(String)
+3
View File
@@ -42,7 +42,10 @@ import processing.core.PApplet;
* representing a single node of an XML tree.
*
* @webref data:composite
* @see PApplet#createXML(String)
* @see PApplet#loadXML(String)
* @see PApplet#parseXML(String)
* @see PApplet#saveXML(XML, String)
*/
public class XML implements Serializable {