Replaced old XML.parse() reference with PApplet.parseXML() reference

This commit is contained in:
alignedleft
2012-12-19 23:09:43 +00:00
parent 9cff581296
commit c9afeb5bc5
2 changed files with 8 additions and 5 deletions

View File

@@ -5816,7 +5816,7 @@ public class PApplet extends Applet
/**
* @webref input:files
* @param filename name of a file in the data folder or a URL.
* @see XML#parse(String)
* @see PApplet#parseXML(String)
* @see PApplet#loadBytes(String)
* @see PApplet#loadStrings(String)
* @see PApplet#loadTable(String)
@@ -5836,7 +5836,13 @@ public class PApplet extends Applet
}
}
/**
* @webref input:files
* @brief Converts String content to an XML object
* @param data the content to be parsed as XML
* @return an XML object, or null
* @see PApplet#loadXML(String)
*/
public XML parseXML(String xmlString) {
return parseXML(xmlString, null);
}

View File

@@ -157,8 +157,6 @@ public class XML implements Serializable {
/**
* xxxxxxx
*
* @webref xml:method
* @brief Converts String content to an XML object
* @param data the content to be parsed as XML
@@ -166,7 +164,6 @@ public class XML implements Serializable {
* @throws SAXException
* @throws ParserConfigurationException
* @throws IOException
* @see PApplet#loadXML(String)
*/
static public XML parse(String data) throws IOException, ParserConfigurationException, SAXException {
return XML.parse(data, null);