mirror of
https://github.com/processing/processing4.git
synced 2026-05-03 09:26:25 +02:00
Replaced old XML.parse() reference with PApplet.parseXML() reference
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user