|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.io.AbstractProxy
flex.messaging.io.BeanProxy
public class BeanProxy
Uses Bean introspection to collect the properties for a given instance.
| Constructor Summary | |
|---|---|
BeanProxy()
Constructor |
|
BeanProxy(Object defaultInstance)
Construct a new BeanProxy with the provided default instance. |
|
| Method Summary | |
|---|---|
static void |
addIgnoreProperty(Class c,
String propertyName)
Add a property to the ignore list for this class. |
static void |
clear()
Clears all static caches. |
Object |
clone()
Returns a copy of the PropertyProxy so that it can be used as a template without modifying/creating global references to instances, descriptors etc. |
String |
getAlias(Object instance)
The class name alias for the given instance. |
List |
getPropertyNames(Object instance)
The List of property names as Strings that make up the traits of the given instance. |
Class |
getType(Object instance,
String propertyName)
Looks up the Class type of the property by name on the given instance. |
Object |
getValue(Object instance,
String propertyName)
Looks up the value of a property by name for the given instance. |
static boolean |
isPropertyIgnored(Class c,
String propertyName)
Is this property on the ignore list for this class? |
static boolean |
isPublicAccessor(int modifiers)
Do the provided modifiers indicate that this is public? |
static boolean |
isPublicField(int modifiers)
Do the provided modifiers indicate that this is public? |
void |
setValue(Object instance,
String propertyName,
Object value)
Updates the value of a property by name for the given instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BeanProxy()
public BeanProxy(Object defaultInstance)
defaultInstance - defines the alias if provided| Method Detail |
|---|
public String getAlias(Object instance)
instance - the object to get the alias of.
public List getPropertyNames(Object instance)
instance - the object to examine
public Class getType(Object instance,
String propertyName)
instance - The instance that possesses the property.propertyName - The name of the property.
public Object getValue(Object instance,
String propertyName)
instance - The instance that possesses the requested property.propertyName - The name of the property.
public void setValue(Object instance,
String propertyName,
Object value)
instance - The instance that possesses the requested property.propertyName - The name of the property to update.value - The updated value for the property.
public static boolean isPropertyIgnored(Class c,
String propertyName)
c - the class.propertyName - the property name.
public static void addIgnoreProperty(Class c,
String propertyName)
c - the class.propertyName - the property to ignore.public static boolean isPublicField(int modifiers)
modifiers - the flags to check
public static boolean isPublicAccessor(int modifiers)
modifiers - the flags to check
public Object clone()
clone in interface PropertyProxyclone in class AbstractProxypublic static void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/io/BeanProxy.html