er.extensions
Class ERXMutableDictionary
java.lang.Object
com.webobjects.foundation.NSDictionary
com.webobjects.foundation.NSMutableDictionary
er.extensions.ERXMutableDictionary
- All Implemented Interfaces:
- _NSFoundationCollection, Cloneable, Map, NSCoding, NSKeyValueCoding, NSKeyValueCodingAdditions, Serializable
- public class ERXMutableDictionary
- extends NSMutableDictionary
- implements Map
usefull class in to automatically en- and decode an NSMutableDictionary
as blob into a database. ERPrototype name = mutableDictionary
- See Also:
- Serialized Form
Nested classes inherited from class com.webobjects.foundation.NSCoding |
NSCoding._BigDecimalSupport, NSCoding._BigIntegerSupport, NSCoding._BooleanSupport, NSCoding._ByteSupport, NSCoding._CharacterSupport, NSCoding._DateSupport, NSCoding._DoubleSupport, NSCoding._FloatSupport, NSCoding._IntegerSupport, NSCoding._LongSupport, NSCoding._NumberSupport, NSCoding._ShortSupport, NSCoding._StringSupport, NSCoding.Support |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
Fields inherited from class com.webobjects.foundation.NSDictionary |
_capacity, _count, _deletionLimit, _flags, _hashCache, _hashtableBuckets, _keys, _keysCache, _NSDictionaryClassHashCode, _objects, _objectsCache, EmptyDictionary |
Methods inherited from class com.webobjects.foundation.NSDictionary |
_clearDeletionsAndCollisions, _ensureCapacity, _initializeDictionary, _shallowHashCode, allKeys, allKeysForObject, classForCoder, count, decodeObject, encodeWithCoder, equals, hashCode, hashtable, isEqualToDictionary, keyEnumerator, keysNoCopy, objectEnumerator, objectForKey, objectsForKeys, objectsNoCopy, takeValueForKeyPath, toString, valueForKey, valueForKeyPath |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
ERXMutableDictionary
public ERXMutableDictionary(NSDictionary d)
ERXMutableDictionary
public ERXMutableDictionary()
toBlob
public static NSData toBlob(ERXMutableDictionary d)
throws Exception
- Throws:
Exception
fromBlob
public static ERXMutableDictionary fromBlob(NSData d)
throws Exception
- Throws:
Exception
fromPropertyList
public static ERXMutableDictionary fromPropertyList(String plist)
toPropertyList
public static String toPropertyList(ERXMutableDictionary dict)
toPropertyList
public String toPropertyList()
toBlob
public NSData toBlob()
throws Exception
- Throws:
Exception
clone
public Object clone()
clear
public void clear()
- Specified by:
clear
in interface Map
containsKey
public boolean containsKey(Object arg0)
- Specified by:
containsKey
in interface Map
containsValue
public boolean containsValue(Object arg0)
- Specified by:
containsValue
in interface Map
entrySet
public Set entrySet()
- Specified by:
entrySet
in interface Map
get
public Object get(Object arg0)
- Specified by:
get
in interface Map
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Map
keySet
public Set keySet()
- Specified by:
keySet
in interface Map
put
public Object put(Object arg0,
Object arg1)
- Specified by:
put
in interface Map
putAll
public void putAll(Map arg0)
- Specified by:
putAll
in interface Map
remove
public Object remove(Object arg0)
- Specified by:
remove
in interface Map
size
public int size()
- Specified by:
size
in interface Map
values
public Collection values()
- Specified by:
values
in interface Map
allValues
public NSArray allValues()
Copyright © 2002 – 2004 Project Wonder.