com.thoughtworks.xstream.converters.javabean
Class PropertyDictionary

java.lang.Object
  extended by com.thoughtworks.xstream.converters.javabean.PropertyDictionary
All Implemented Interfaces:
Caching

public class PropertyDictionary
extends Object
implements Caching

Builds the properties maps for each bean and caches them.

Author:
Joe Walnes, Jörg Schaible

Constructor Summary
PropertyDictionary()
           
PropertyDictionary(PropertySorter sorter)
           
 
Method Summary
 void flushCache()
           
 Iterator propertiesFor(Class type)
           
 BeanProperty property(Class cls, String name)
          Deprecated. As of 1.3.1, use propertyDescriptor(Class, String) instead
 PropertyDescriptor propertyDescriptor(Class type, String name)
          Locates a property descriptor.
 Iterator serializablePropertiesFor(Class type)
          Deprecated. As of 1.3.1, use propertiesFor(Class) instead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyDictionary

public PropertyDictionary()

PropertyDictionary

public PropertyDictionary(PropertySorter sorter)
Method Detail

serializablePropertiesFor

public Iterator serializablePropertiesFor(Class type)
Deprecated. As of 1.3.1, use propertiesFor(Class) instead


property

public BeanProperty property(Class cls,
                             String name)
Deprecated. As of 1.3.1, use propertyDescriptor(Class, String) instead

Locates a serializable property.

Parameters:
cls -
name -

propertiesFor

public Iterator propertiesFor(Class type)

propertyDescriptor

public PropertyDescriptor propertyDescriptor(Class type,
                                             String name)
Locates a property descriptor.

Parameters:
type -
name -

flushCache

public void flushCache()
Specified by:
flushCache in interface Caching


Copyright © 2004-2014 XStream. All Rights Reserved.