public final class DOMXMLParser extends PropertyListParser
NSObjects| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DTD
DTD obtained from http://www.apple.com/DTDs/PropertyList-1.0.dtd, with comments removed
|
| Constructor and Description |
|---|
DOMXMLParser(java.io.File file) |
DOMXMLParser(java.io.InputStream input) |
| Modifier and Type | Method and Description |
|---|---|
NSObject |
parse()
Parse the Property List input (provided in the constructor) to a tree of
NSObjects |
getFormatForFile, getFormatForFile, parse, parsepublic static final java.lang.String DTD
public DOMXMLParser(java.io.File file)
throws java.io.IOException,
PropertyListException
java.io.IOExceptionPropertyListExceptionPropertyListParser.parse(File)public DOMXMLParser(java.io.InputStream input)
throws java.io.IOException,
PropertyListException
java.io.IOExceptionPropertyListExceptionPropertyListParser.PropertyListParser(InputStream)public NSObject parse() throws PropertyListException
NSObjectsparse in class PropertyListParserNSObject of the parsed Property ListPropertyListException - when parsing the Property List failed