'From Squeak6.0alpha of 21 September 2021 [latest update: #20638] on 23 September 2021 at 10:58:20 am'! !SAXHandler class methodsFor: 'instance creation' stamp: 'mt 9/23/2021 10:33'! onFileNamed: fileName ^ self on: (FileDirectory default readOnlyFileNamed: fileName)! ! !SAXHandler class methodsFor: 'instance creation' stamp: 'mt 9/23/2021 10:52'! onURL: url ^ self on: (WebClient httpGet: url) content readStream! ! !SAXHandler class methodsFor: 'instance creation' stamp: 'mt 9/23/2021 10:33'! parserOnFileNamed: fileName self flag: #deprecated. ^self onFileNamed: fileName! ! !SAXHandler class methodsFor: 'instance creation' stamp: 'mt 9/23/2021 10:34'! parserOnFileNamed: fileName readIntoMemory: readIntoMemory self flag: #deprecated. "Ignore readIntoMemory and assume buffered I/O in the VM already." ^ self onFileNamed: fileName! ! !XMLDocument class methodsFor: 'instance creation' stamp: 'mt 9/23/2021 10:57'! fromFileNamed: fileName ^ (XMLDOMParser onFileNamed: fileName) startDocument; parseDocument; document! ! !XMLDocument class methodsFor: 'instance creation' stamp: 'mt 9/23/2021 10:57'! fromURL: url ^ (XMLDOMParser onURL: url) startDocument; parseDocument; document! ! !XMLDocument class reorganize! ('instance creation' fromFileNamed: fromURL:) !