View Javadoc

1   /*
2    Wotonomy: OpenStep design patterns for pure Java applications.
3    Copyright (C) 2001 Michael Powers
4   
5    This library is free software; you can redistribute it and/or
6    modify it under the terms of the GNU Lesser General Public
7    License as published by the Free Software Foundation; either
8    version 2.1 of the License, or (at your option) any later version.
9   
10   This library is distributed in the hope that it will be useful,
11   but WITHOUT ANY WARRANTY; without even the implied warranty of
12   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13   Lesser General Public License for more details.
14  
15   You should have received a copy of the GNU Lesser General Public
16   License along with this library; if not, see http://www.gnu.org
17   */
18  package net.wotonomy.access;
19  
20  import net.wotonomy.foundation.NSDictionary;
21  import net.wotonomy.foundation.NSMutableDictionary;
22  
23  /***
24  * Implemented by classes that are read from property lists and that
25  * can be written back to property lists.
26  *
27  * @author ezamudio@nasoft.com
28  * @author $Author: cgruber $
29  * @version $Revision: 894 $
30  */
31  public interface EOPropertyListEncoding {
32  
33  	public abstract void awakeWithPropertyList(NSDictionary plist);
34  
35  	public abstract void encodeIntoPropertyList(NSMutableDictionary plist);
36  
37  }
38  
39  /* $Log$
40   * Revision 1.2  2006/02/16 16:47:14  cgruber
41   * Move some classes in to "internal" packages and re-work imports, etc.
42   *
43   * Also use UnsupportedOperationExceptions where appropriate, instead of WotonomyExceptions.
44   *
45  /* Revision 1.1  2006/02/16 13:19:57  cgruber
46  /* Check in all sources in eclipse-friendly maven-enabled packages.
47  /*
48  /* Revision 1.1  2003/08/09 01:34:43  chochos
49  /* an interface to provide property list encoding capabilities
50  /*
51   * 
52   */
53