| Modifier and Type | Class and Description |
|---|---|
| private static class | XMLPropertyListParser.
Offline resolver for Apple's PLIST DTDs. |
| Modifier and Type | Field and Description |
|---|---|
| private static final DocumentBuilderFactory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Transformer | |
| private static XMLReader | |
| private static List | Returns: The sub-list containing only nodes representing actual elements.The list of nodes to search. list)Returns all element nodes that are contained in a list of nodes. |
| public static DocumentBuilder | Returns: A newDocumentBuilder that can parse property lists without an internet connection.Gets a |
| private static String | |
| public static NSObject | Returns: The root object of the property list. This is usually aNSDictionary but can also be a NSArray.The XML property list file. f)Parses an XML property list file. |
| public static NSObject | Returns: The root object of the property list. This is usually aNSDictionary but can also be a NSArray.The XML property list file path. path)Parses an XML property list file. |
| public static NSObject | Returns: The root object of the property list. This is usually aNSDictionary but can also be a NSArray.The byte array containing the property list's data. bytes)Parses an XML property list from a byte array. |
| public static NSObject | Returns: The root object of the property list. This is usually aNSDictionary but can also be a NSArray.The input stream pointing to the property list's data. is)Parses an XML property list from an input stream. |
| public static NSObject | Returns: The root object of the property list. This is usually aNSDictionary but can also be a NSArray.The reader providing the property list's data. reader)Parses an XML property list from a |
| public static NSObject | Returns: The root object of the property list. This is usually aNSDictionary but can also be a NSArray.The XML property list file. f, boolean If set to withLineInformation)true, the parser will try to collect line information and store it
in the parsed object's location information
(See NSObject#getLocationInformation()).Parses an XML property list file. |
| public static NSObject | Returns: The root object of the property list. This is usually aNSDictionary but can also be a NSArray.The XML property list file path. path, boolean If set to withLineInformation)true, the parser will try to collect line information and store it
in the parsed object's location informationParses an XML property list file. |
| public static NSObject | Returns: The root object of the property list. This is usually aNSDictionary but can also be a NSArray.The byte array containing the property list's data. bytes, boolean If set to withLineInformation)true, the parser will try to collect line information and store it
in the parsed object's location informationParses an XML property list from a byte array. |
| public static NSObject | Returns: The root object of the property list. This is usually aNSDictionary but can also be a NSArray.The input stream pointing to the property list's data. is, boolean If set to withLineInformation)true, the parser will try to collect line information and store it
in the parsed object's location informationParses an XML property list from an input stream. |
| public static NSObject | Returns: The root object of the property list. This is usually aNSDictionary but can also be a NSArray.The reader providing the property list's data. reader, boolean If set to withLineInformation)true, the parser will try to collect line information and store it
in the parsed object's location informationParses an XML property list from a |
| public static NSObject | |
| private static NSObject | Returns: The corresponding NSObject.The XML node. n, String xpath)Parses a node in the XML structure and returns the corresponding NSObject |
| private static Document |
| FACTORY | back to summary |
|---|---|
| private static final DocumentBuilderFactory FACTORY | |
| XMLPropertyListParser | back to summary |
|---|---|
| public XMLPropertyListParser() | |
| createSafeTransformer | back to summary |
|---|---|
| private static Transformer createSafeTransformer() throws TransformerConfigurationException | |
| createSafeXmlReader | back to summary |
|---|---|
| private static XMLReader createSafeXmlReader() throws SAXException, ParserConfigurationException | |
| filterElementNodes | back to summary |
|---|---|
| private static List Returns all element nodes that are contained in a list of nodes. | |
| getDocBuilder | back to summary |
|---|---|
| public static DocumentBuilder getDocBuilder() throws ParserConfigurationException Gets a
| |
| getNodeTextContents | back to summary |
|---|---|
| private static String getNodeTextContents(Node n) Returns a node's text content. This method will return the text value represented by the node's direct children. If the given node is a TEXT or CDATA node, then its value is returned. | |
| parse | back to summary |
|---|---|
| public static NSObject parse(File f) throws ParserConfigurationException, IOException, SAXException, PropertyListFormatException Parses an XML property list file.
| |
| parse | back to summary |
|---|---|
| public static NSObject parse(Path path) throws ParserConfigurationException, IOException, SAXException, PropertyListFormatException Parses an XML property list file.
| |
| parse | back to summary |
|---|---|
| public static NSObject parse(final byte[] bytes) throws ParserConfigurationException, SAXException, PropertyListFormatException, IOException Parses an XML property list from a byte array.
| |
| parse | back to summary |
|---|---|
| public static NSObject parse(InputStream is) throws ParserConfigurationException, IOException, SAXException, PropertyListFormatException Parses an XML property list from an input stream. This method does not close the specified input stream.
| |
| parse | back to summary |
|---|---|
| public static NSObject parse(Reader reader) throws ParserConfigurationException, IOException, SAXException, PropertyListFormatException Parses an XML property list from a
| |
| parse | back to summary |
|---|---|
| public static NSObject parse(File f, boolean withLineInformation) throws ParserConfigurationException, IOException, SAXException, PropertyListFormatException Parses an XML property list file.
| |
| parse | back to summary |
|---|---|
| public static NSObject parse(Path path, boolean withLineInformation) throws ParserConfigurationException, IOException, SAXException, PropertyListFormatException Parses an XML property list file.
| |
| parse | back to summary |
|---|---|
| public static NSObject parse(final byte[] bytes, boolean withLineInformation) throws ParserConfigurationException, SAXException, PropertyListFormatException, IOException Parses an XML property list from a byte array.
| |
| parse | back to summary |
|---|---|
| public static NSObject parse(InputStream is, boolean withLineInformation) throws ParserConfigurationException, IOException, SAXException, PropertyListFormatException Parses an XML property list from an input stream. This method does not close the specified input stream.
| |
| parse | back to summary |
|---|---|
| public static NSObject parse(Reader reader, boolean withLineInformation) throws ParserConfigurationException, IOException, SAXException, PropertyListFormatException Parses an XML property list from a
| |
| parse | back to summary |
|---|---|
| public static NSObject parse(Document doc) throws PropertyListFormatException, IOException Parses a property list from an XML document.
| |
| parseObject | back to summary |
|---|---|
| private static NSObject parseObject(Node n, String xpath) throws PropertyListFormatException Parses a node in the XML structure and returns the corresponding NSObject
| |
| parseXml | back to summary |
|---|---|
| private static Document parseXml(InputSource inputSource, boolean withLineInformation) throws IOException, SAXException, ParserConfigurationException | |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public InputSource | Returns: An empty input source for the PLIST DTDs. For all other DTDs null is returned.The public identifier of the external entity being referenced, or null if none was supplied. publicId, String The system identifier of the external entity being referenced. systemId)Implements org. Allow the application to resolve external entities. |
| PLIST_PUBLIC_ID_1 | back to summary |
|---|---|
| private static final String PLIST_PUBLIC_ID_1 | |
| PLIST_PUBLIC_ID_2 | back to summary |
|---|---|
| private static final String PLIST_PUBLIC_ID_2 | |
| PlistDtdResolver | back to summary |
|---|---|
| pack-priv PlistDtdResolver() | |
| resolveEntity | back to summary |
|---|---|
| public InputSource resolveEntity(String publicId, String systemId) Implements org. Allow the application to resolve external entities. This specific implementation returns an empty definition for Apple's PLIST DTDs so that parsing can happen offline.
| |