com.sun.rave.designtime.markup
Class AttributeDescriptor


java.lang.Object

  extended byjava.beans.FeatureDescriptor

      extended bycom.sun.rave.designtime.markup.AttributeDescriptor


public class AttributeDescriptor
extends java.beans.FeatureDescriptor

An AttributeDescriptor describes a markup attribute that is used to persist the value of a JavaBean property. The AttributeDescriptor is "stuffed" into the PropertyDescriptor using the name-value pair storage: FeatureDescriptor.setValue(String key, Object value). The key is defined by Constants.PropertyDescriptor.ATTRIBUTE_DESCRIPTOR, or literally "attributeDescriptor". If an AttributeDescriptor is found in a property's PropertyDescriptor, the IDE will persist any property settings in the .jsp file as an attribute. If no AttributeDescriptor is found, any property settings will be persisted in the .java file as standard JavaBeans properties. For example, a property called 'background' of type 'java.awt.Color' might be persisted in two ways: