net.wotonomy.foundation
Class NSCoding.Support

java.lang.Object
  extended by net.wotonomy.foundation.NSCoding.Support
Direct Known Subclasses:
NSCoding._BigIntegerSupport, NSCoding._BooleanSupport, NSCoding._CharacterSupport, NSCoding._DateSupport, NSCoding._NumberSupport, NSCoding._StringSupport
Enclosing interface:
NSCoding

public abstract static class NSCoding.Support
extends java.lang.Object

Helper class for NSCoding.


Constructor Summary
NSCoding.Support()
           
 
Method Summary
protected static java.lang.String _decodeUTF8(NSCoder nscoder)
           
protected static void _encodeUTF8(java.lang.String s, NSCoder nscoder)
           
 java.lang.Class classForCoder(java.lang.Object obj)
          Return the class of a given object.
abstract  java.lang.Object decodeObject(NSCoder nscoder)
           
abstract  void encodeWithCoder(java.lang.Object obj, NSCoder nscoder)
           
static void setSupportForClass(NSCoding.Support support, java.lang.Class class1)
           
static NSCoding.Support supportForClass(java.lang.Class aClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NSCoding.Support

public NSCoding.Support()
Method Detail

supportForClass

public static NSCoding.Support supportForClass(java.lang.Class aClass)

setSupportForClass

public static void setSupportForClass(NSCoding.Support support,
                                      java.lang.Class class1)

classForCoder

public java.lang.Class classForCoder(java.lang.Object obj)
Return the class of a given object. It boggles the mind as to why this is not a static, but in the original, it's not. <sigh>


encodeWithCoder

public abstract void encodeWithCoder(java.lang.Object obj,
                                     NSCoder nscoder)

decodeObject

public abstract java.lang.Object decodeObject(NSCoder nscoder)

_encodeUTF8

protected static void _encodeUTF8(java.lang.String s,
                                  NSCoder nscoder)

_decodeUTF8

protected static java.lang.String _decodeUTF8(NSCoder nscoder)


Copyright © 2006 null. All Rights Reserved.