Class PropertyDictionary
java.lang.Object
com.thoughtworks.xstream.converters.javabean.PropertyDictionary
- All Implemented Interfaces:
Caching
Builds the properties maps for each bean and caches them.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Map
void
propertiesFor
(Class type) Deprecated.propertyDescriptor
(Class type, String name) Locates a property descriptor.propertyDescriptorOrNull
(Class type, String name) Locates a property descriptor.Deprecated.As of 1.3.1, usepropertiesFor(Class)
instead
-
Field Details
-
propertyNameCache
-
sorter
-
-
Constructor Details
-
PropertyDictionary
public PropertyDictionary() -
PropertyDictionary
-
-
Method Details
-
serializablePropertiesFor
Deprecated.As of 1.3.1, usepropertiesFor(Class)
instead -
property
Deprecated.As of 1.3.1, usepropertyDescriptor(Class, String)
insteadLocates a serializable property.- Parameters:
cls
-name
-
-
propertiesFor
-
propertyDescriptor
Locates a property descriptor.- Parameters:
type
-name
-- Throws:
MissingFieldException
- if property does not exist
-
propertyDescriptorOrNull
Locates a property descriptor.- Parameters:
type
-name
-- Returns:
null
if property does not exist- Since:
- 1.4.10
-
buildMap
-
flushCache
public void flushCache()- Specified by:
flushCache
in interfaceCaching
-
propertyDescriptor(Class, String)
instead