flex.messaging.io
Class SerializationDescriptor

java.lang.Object
  extended by java.util.AbstractMap
      extended by java.util.HashMap
          extended by flex.messaging.io.SerializationDescriptor
All Implemented Interfaces:
Serializable, Cloneable, Map

public class SerializationDescriptor
extends HashMap

The SerializationProxy uses this descriptor to determine which fields and properties should be excluded from an object graph on an instance-by-instance basis. By default, all public instance variables and properties will be serialized. If excludes need to be specified for a complex child property, the property name is added to this dynamic descriptor and its value set to another descriptor with its own set of excludes. The absence of excludes implies default serialization. The absence of a child property implies default serialization.

See Also:
PropertyProxy, Serialized Form

Constructor Summary
SerializationDescriptor()
           
 
Method Summary
 List getExcludes()
           
 List getExcludesForInstance(Object instance)
           
 void setExcludes(List excludes)
           
 String toString()
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

SerializationDescriptor

public SerializationDescriptor()
Method Detail

getExcludesForInstance

public List getExcludesForInstance(Object instance)

getExcludes

public List getExcludes()

setExcludes

public void setExcludes(List excludes)

toString

public String toString()
Overrides:
toString in class AbstractMap


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

 

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/SerializationDescriptor.html