Lizzy v1.1.1

christophedelory.plist
Class Plist

java.lang.Object
  extended by christophedelory.plist.Plist

public class Plist
extends Object

The definition of a property list.

Version:
$Revision: 92 $
Author:
Christophe Delory

Constructor Summary
Plist()
           
 
Method Summary
 PlistObject getPlistObject()
          Returns the plist object.
 String getVersion()
          Returns the version information.
 void setPlistObject(PlistObject object)
          Initializes the plist object.
 void setVersion(String version)
          Initializes the version information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Plist

public Plist()
Method Detail

getVersion

public String getVersion()
Returns the version information. Defaults to "1.0".

Returns:
a version string. Shall not be null.
See Also:
setVersion(java.lang.String)

setVersion

public void setVersion(String version)
Initializes the version information.

Parameters:
version - a version string. Shall not be null.
Throws:
NullPointerException - if version is null.
See Also:
getVersion()

getPlistObject

public PlistObject getPlistObject()
Returns the plist object.

Returns:
a plist object. May be null if not yet initialized.
See Also:
setPlistObject(christophedelory.plist.PlistObject)

setPlistObject

public void setPlistObject(PlistObject object)
Initializes the plist object.

Parameters:
object - a plist object. Shall not be null.
Throws:
NullPointerException - if object is null.
See Also:
getPlistObject()

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.