Class XMLPropertyListConfiguration

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Configuration, ConfigurationErrorListener, ConfigurationListener, FileConfiguration, FileSystemBased, Reloadable

    public class XMLPropertyListConfiguration
    extends AbstractHierarchicalFileConfiguration
    Property list file (plist) in XML FORMAT as used by Mac OS X (http://www.apple.com/DTDs/PropertyList-1.0.dtd). This configuration doesn't support the binary FORMAT used in OS X 10.4.

    Example:

     <?xml version="1.0"?>
     <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
     <plist version="1.0">
         <dict>
             <key>string</key>
             <string>value1</string>
    
             <key>integer</key>
             <integer>12345</integer>
    
             <key>real</key>
             <real>-123.45E-1</real>
    
             <key>boolean</key>
             <true/>
    
             <key>date</key>
             <date>2005-01-01T12:00:00Z</date>
    
             <key>data</key>
             <data>RHJhY28gRG9ybWllbnMgTnVucXVhbSBUaXRpbGxhbmR1cw==</data>
    
             <key>array</key>
             <array>
                 <string>value1</string>
                 <string>value2</string>
                 <string>value3</string>
             </array>
    
             <key>dictionnary</key>
             <dict>
                 <key>key1</key>
                 <string>value1</string>
                 <key>key2</key>
                 <string>value2</string>
                 <key>key3</key>
                 <string>value3</string>
             </dict>
    
             <key>nested</key>
             <dict>
                 <key>node1</key>
                 <dict>
                     <key>node2</key>
                     <dict>
                         <key>node3</key>
                         <string>value</string>
                     </dict>
                 </dict>
             </dict>
    
         </dict>
     </plist>
     
    Since:
    1.2
    Version:
    $Id: XMLPropertyListConfiguration.java 1368665 2012-08-02 19:48:26Z oheger $
    Author:
    Emmanuel Bourg
    See Also:
    Serialized Form