public class NSTranslator extends java.lang.Object implements Translator
null as NSKeyValueCoding.NullValue, while all other values remain unchanged.| Modifier and Type | Field and Description |
|---|---|
static NSTranslator |
instance |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
fromNeutralValue(java.lang.Object value,
EOAttribute att)
Converts neutral value to library specific representation.
|
java.lang.Object |
toNeutralValue(java.lang.Object value,
EOAttribute att)
Converts library specific value representation to neutral type.
|
public static final NSTranslator instance
public java.lang.Object fromNeutralValue(java.lang.Object value,
EOAttribute att)
TranslatorfromNeutralValue in interface Translatorvalue - neutral valueatt - EO attribute that the given value representspublic java.lang.Object toNeutralValue(java.lang.Object value,
EOAttribute att)
TranslatortoNeutralValue in interface Translatorvalue - value representation object in some libraryatt - EO attribute that the given value representsCopyright © 2002 – 2022 Project Wonder.