XDoclet Overview News and Status Download/Installation Using XDoclet Best Practices FAQ License Ant Task Reference <ejbdoclet .. /> <webdoclet .. /> <hibernatedoclet .. /> <jdodoclet .. /> <jmxdoclet .. /> <doclet .. /> <documentdoclet .. /> Tag Reference apache (@soap @struts) bea (@weblogic) caucho (@resin) ejb (@ejb @dao) exolab (@castor) hp (@hpas) hibernate (@hibernate) ibm (@websphere) java (@javabean) jboss (@jboss) jdo (@jdo) jmx (@jmx) macromedia (@jrun) mvcsoft (@mvcsoft) mx4j (@mx4j) objectweb (@jonas) orion (@orion) pramati (@pramati) sybase (@easerver) web (@web @jsp) webwork (@webwork) xdoclet (@xdoclet @doc) Feature Documentation Using Value Objects Advanced Maven Plug-in Merge Points Log4J Configuration IDE Integration Migration from EJBDoclet Ant 1.5 Troubleshooting Community Feedback Resources Tools Developer Resources Developer Guide Architecture Branches and Tags CVS Directory Layout XDoclet 2.0 Design Planning Development Reference Javadoc (API) Template Language (*.xdt) Todo List Project Documentation Front Page Project Info Project Reports Development Process | ### Tag Reference for @JavaBean Class Level Tags @javabean.class @javabean.icons @javabean.attribute Method Level Tags @javabean.property @javabean.method @javabean.param ### Tag Usage, Class Level (@JavaBean) Tags for declaration of JavaBean BeanInfo classes #### @javabean.class (0..1) Used to specify class related information of JavaBean BeanInfo
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
name | text |  | Name of the JavaBean (typically the unqualified className) | true
class | text |  | Class name of real bean | false
displayName | text |  | The name displayed for the JavaBean | false
shortDescription | text |  | A short description about the JavaBean | false
defaultProperty | text |  | The default property of the JavaBean | false
expert | bool |  | Is the JavaBean used in expert mode ? | false
hidden | bool |  | Is the JavaBean hidden ? | false
preferred | bool |  | Is the JavaBean preferred ? | false
customizer | text |  | Fully qualified class name of the JavaBean customizer | false
stopClass | text |  | Fully qualified class name of the JavaBean ancestor used to stop introspection for additionnal informations | false
#### @javabean.icons (0..1) Defines the icons used for the visual aspect of the JavaBean.
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
mono16 | text |  | Absolute or relative resource name for the monochrome icon of 16x16 pixels | false
color16 | text |  | Absolute or relative resource name for the color icon of 16x16 pixels | false
mono32 | text |  | Absolute or relative resource name for the monochrome icon of 32x32 pixels | false
color32 | text |  | Absolute or relative resource name for the color icon of 32x32 pixels | false
#### @javabean.attribute (0..*) Defines the attributes of the JavaBean (propertyorder, etc).
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
name | text |  | Name of the attribute | true
value | text |  | Value of the attribute | true
rtexpr | bool |  | Is the value a Java expression? | false
### Tag Usage, Method Level (@JavaBean) Tags for declaration of JavaBean BeanInfo classes #### @javabean.property (0..1) Defines the JavaBean property found by introspection
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
displayName | text |  | The name displayed for the property | false
shortDescription | text |  | A short description about the property | false
expert | bool |  | Is the property used in expert mode ? | false
hidden | bool |  | Is the property hidden ? | false
preferred | bool |  | Is the property preferred ? | false
bound | bool |  | Is the property bound ? | false
constrained | bool |  | Is the property constrained ? | false
propertyEditor | text |  | Fully qualified class name of the PropertyEditor used to edit the property | false
readOnly | bool |  | Is the JavaBean property read-only ? | false
#### @javabean.method (0..*) Defines the JavaBean method found by introspection
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
name | text |  | Name of the method | true
displayName | text |  | The name displayed for the method | false
shortDescription | text |  | A short description about the method | false
expert | bool |  | Is the method used in expert mode ? | false
hidden | bool |  | Is the method hidden ? | false
preferred | bool |  | Is the method preferred ? | false
#### @javabean.param (0..*) Defines for each JavaBean method its parameters
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
name | text |  | Name of the parameter | true
displayName | text |  | The name displayed for the parameter | false
shortDescription | text |  | A short description about the parameter | false
propertyEditor | text |  | Fully qualified class name of the PropertyEditor used to edit the parameter | false