Skip to content

Commit 0b75d20

Browse files
committed
Replaced old XML.parse() reference with PApplet.parseXML() reference
1 parent eae4e75 commit 0b75d20

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

core/src/processing/core/PApplet.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5816,7 +5816,7 @@ header[17] image descriptor (packed bits)
58165816
/**
58175817
* @webref input:files
58185818
* @param filename name of a file in the data folder or a URL.
5819-
* @see XML#parse(String)
5819+
* @see PApplet#parseXML(String)
58205820
* @see PApplet#loadBytes(String)
58215821
* @see PApplet#loadStrings(String)
58225822
* @see PApplet#loadTable(String)
@@ -5836,7 +5836,13 @@ public XML loadXML(String filename, String options) {
58365836
}
58375837
}
58385838

5839-
5839+
/**
5840+
* @webref input:files
5841+
* @brief Converts String content to an XML object
5842+
* @param data the content to be parsed as XML
5843+
* @return an XML object, or null
5844+
* @see PApplet#loadXML(String)
5845+
*/
58405846
public XML parseXML(String xmlString) {
58415847
return parseXML(xmlString, null);
58425848
}

core/src/processing/data/XML.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,16 +157,13 @@ protected XML(XML parent, Node node) {
157157

158158

159159
/**
160-
* xxxxxxx
161-
*
162160
* @webref xml:method
163161
* @brief Converts String content to an XML object
164162
* @param data the content to be parsed as XML
165163
* @return an XML object, or null
166164
* @throws SAXException
167165
* @throws ParserConfigurationException
168166
* @throws IOException
169-
* @see PApplet#loadXML(String)
170167
*/
171168
static public XML parse(String data) throws IOException, ParserConfigurationException, SAXException {
172169
return XML.parse(data, null);

0 commit comments

Comments
 (0)