|
||||||||||
| 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
flex.messaging.io.MapProxy
public class MapProxy
Proxies serialization of a Map and considers all keys as String based property names. Additionally, bean properties from the instance are also included and override any Map entries with the same key name.
| Constructor Summary | |
|---|---|
MapProxy()
Constructor |
|
MapProxy(Object defaultInstance)
Construct with a default instance type. |
|
| Method Summary | |
|---|---|
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. |
List |
getPropertyNames(Object instance)
The List of property names as Strings that make up the traits of the given instance. These traits determine which properties are to be serialized. |
Object |
getValue(Object instance,
String propertyName)
Looks up the value of a property by name for the given instance. |
void |
setValue(Object instance,
String propertyName,
Object value)
Updates the value of a property by name for the given instance. |
| Methods inherited from class flex.messaging.io.BeanProxy |
|---|
addIgnoreProperty, clear, getAlias, getType, isPropertyIgnored, isPublicAccessor, isPublicField |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MapProxy()
public MapProxy(Object defaultInstance)
defaultInstance - defines the alias if provided| Method Detail |
|---|
public List getPropertyNames(Object instance)
getPropertyNames in interface PropertyProxygetPropertyNames in class BeanProxyinstance - the object to examine
public Object getValue(Object instance,
String propertyName)
getValue in interface PropertyProxygetValue in class BeanProxyinstance - The instance that possesses the requested property.propertyName - The name of the property.
public void setValue(Object instance,
String propertyName,
Object value)
setValue in interface PropertyProxysetValue in class BeanProxyinstance - The instance that possesses the requested property.propertyName - The name of the property to update.value - The updated value for the property.public Object clone()
clone in interface PropertyProxyclone in class BeanProxy
|
||||||||||
| 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/MapProxy.html