org.jfree.xml.generator.model
public class PropertyInfo extends TypeInfo
| Constructor Summary | |
|---|---|
| PropertyInfo(String name, Class type)
Creates a new info object for a property.
| |
| Method Summary | |
|---|---|
| PropertyType | getPropertyType()
Returns the property type. |
| String | getXmlHandler()
Returns the XML handler.
|
| String | getXmlName()
Returns the XML name.
|
| boolean | isPreserve()
Returns the preserve flag.
|
| boolean | isReadMethodAvailable()
Returns true if there is a read method available, and false
otherwise.
|
| boolean | isWriteMethodAvailable()
Returns true if there is a write method available, and false
otherwise.
|
| void | setPreserve(boolean preserve)
Sets the preserve flag.
|
| void | setPropertyType(PropertyType propertyType)
Sets the property type.
|
| void | setReadMethodAvailable(boolean readMethodAvailable)
Sets a flag indicating whether or not there is a read method for this property.
|
| void | setWriteMethodAvailable(boolean writeMethodAvailable)
Sets a flag indicating whether or not there is a write method for this property.
|
| void | setXmlHandler(String xmlHandler)
Sets the XML handler.
|
| void | setXmlName(String xmlName)
Sets the XML name.
|
Parameters: name the property name. type the class.
Returns: the property type.
Returns: the XML handler.
Returns: the XML name.
Returns: the preserve flag.
true if there is a read method available, and false
otherwise.
Returns: a boolean.
true if there is a write method available, and false
otherwise.
Returns: a boolean.
Parameters: preserve the preserve flag.
Parameters: propertyType the type (null not permitted).
Parameters: readMethodAvailable the new value of the flag.
Parameters: writeMethodAvailable the new value of the flag.
Parameters: xmlHandler the fully qualified class name for the attribute handler.
Parameters: xmlName the XML name.