The AttributePropertyEditor interface extends the PropertyEditor interface (a special type of
property editor for markup attributes) to add the ability to persist and resolve complex types
in markup. Normally, JavaBeans properties are persisted using the PropertyEditor method:
"getJavaInitializationString()", which must return a valid Java expression as a String. When
an IDE rebuilds the state of a saved file, a Java compiler is used to interpret the property
settings.
In markup attributes, a Java expression is not typically what is used to store a setting -
and thus a Java compiler cannot be used to interpret the expressions stored in markup. This
interface is designed to replace the "getJavaInitializationString()" and compiler interpretation
steps in property persistence.
IMPLEMENTED BY THE COMPONENT AUTHOR - This interface is designed to be implemented by
the component (bean) author.
author: Joe Nuxoll version: 1.0 |