public class KeyValueCodingProtectedAccessor extends NSKeyValueCoding.ValueAccessor
NSKeyValueCoding
can access protected instance variables and methods._CLASS
Constructor and Description |
---|
KeyValueCodingProtectedAccessor() |
Modifier and Type | Method and Description |
---|---|
Object |
fieldValue(Object object,
Field field) |
Object |
methodValue(Object object,
Method method) |
void |
setFieldValue(Object object,
Field field,
Object value) |
void |
setMethodValue(Object object,
Method method,
Object value) |
_flushCaches, _valueAccessorForClass, protectedAccessorForPackageNamed, removeProtectedAccessorForPackageNamed, setProtectedAccessorForPackageNamed
public Object fieldValue(Object object, Field field) throws IllegalArgumentException, IllegalAccessException
fieldValue
in class NSKeyValueCoding.ValueAccessor
IllegalArgumentException
IllegalAccessException
public void setFieldValue(Object object, Field field, Object value) throws IllegalArgumentException, IllegalAccessException
setFieldValue
in class NSKeyValueCoding.ValueAccessor
IllegalArgumentException
IllegalAccessException
public Object methodValue(Object object, Method method) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
methodValue
in class NSKeyValueCoding.ValueAccessor
IllegalArgumentException
IllegalAccessException
InvocationTargetException
public void setMethodValue(Object object, Method method, Object value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
setMethodValue
in class NSKeyValueCoding.ValueAccessor
IllegalArgumentException
IllegalAccessException
InvocationTargetException
Copyright © 2002 – 2024 Project Wonder.