Class BeanProperty
java.lang.Object
com.thoughtworks.xstream.converters.javabean.BeanProperty
Deprecated.
As of 1.3.1, no longer in use
Provide access to a bean property.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBeanProperty
(Class memberClass, String propertyName, Class propertyType) Deprecated.Creates a newBeanProperty
that gets the specified property from the specified class. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the value of this property for the specified Object.Deprecated.Gets the base class that this getter accesses.getName()
Deprecated.Gets the name of the property that this getter extracts.getType()
Deprecated.Returns the property typeboolean
Deprecated.Gets whether this property can get get.boolean
Deprecated.Gets whether this property can be set.Deprecated.Sets the value of this property for the specified Object.void
setGetterMethod
(Method method) Deprecated.void
setSetterMethod
(Method method) Deprecated.
-
Field Details
-
memberClass
Deprecated.the target class -
propertyName
Deprecated.the property name -
type
Deprecated.the property type -
getter
Deprecated.the getter -
setter
Deprecated.the setter -
EMPTY_ARGS
Deprecated.
-
-
Constructor Details
-
BeanProperty
Deprecated.Creates a newBeanProperty
that gets the specified property from the specified class.
-
-
Method Details
-
getBeanClass
Deprecated.Gets the base class that this getter accesses. -
getType
Deprecated.Returns the property type -
getName
Deprecated.Gets the name of the property that this getter extracts. -
isReadable
public boolean isReadable()Deprecated.Gets whether this property can get get. -
isWritable
public boolean isWritable()Deprecated.Gets whether this property can be set. -
get
Deprecated.Gets the value of this property for the specified Object. -
set
public Object set(Object member, Object newValue) throws IllegalArgumentException, IllegalAccessException Deprecated.Sets the value of this property for the specified Object. -
setGetterMethod
Deprecated.- Parameters:
method
-
-
setSetterMethod
Deprecated.- Parameters:
method
-
-