mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
Added XML parameter description placeholders for processing/processing-web#81
This commit is contained in:
@@ -78,16 +78,26 @@ public class XML implements Serializable {
|
||||
// this(parent.createReader(filename));
|
||||
// }
|
||||
|
||||
|
||||
/**
|
||||
* @param file description TBD
|
||||
*/
|
||||
public XML(File file) throws IOException, ParserConfigurationException, SAXException {
|
||||
this(file, null);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param options description TBD
|
||||
*/
|
||||
public XML(File file, String options) throws IOException, ParserConfigurationException, SAXException {
|
||||
this(PApplet.createReader(file), options);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param input description TBD
|
||||
*/
|
||||
public XML(InputStream input) throws IOException, ParserConfigurationException, SAXException {
|
||||
this(input, null);
|
||||
}
|
||||
@@ -141,6 +151,9 @@ public class XML implements Serializable {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param name description TBD
|
||||
*/
|
||||
// TODO is there a more efficient way of doing this? wow.
|
||||
public XML(String name) throws ParserConfigurationException {
|
||||
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
|
||||
|
||||
Reference in New Issue
Block a user