Name

<converter>

Synopsis

The <converter> element declares the implementation class for a converter.

Syntax

<converter>
  [<description [xml:lang="lang"]>description</description>]*
  [<display-name [xml:lang="lang"]>displayName</display-name>]*
  [<icon [xml:lang="lang"]>
     [<small-icon>iconPath</small-icon>]
     [<large-icon>iconPath</large-icon>]
   </icon>]*
  <converter-id>converterId</converter-id> |
    <converter-for-class>targetClassName</converter-for-class>
  <converter-class>className</converter-class>
  [<attribute>
    [<description [xml:lang="lang"]>description</description>]*
    [<display-name [xml:lang="lang"]>displayName</display-name>]*
    [<icon [xml:lang="lang"]>
       [<small-icon>iconPath</small-icon>]
       [<large-icon>iconPath</large-icon>]
     </icon>]*
     <attribute-name>attrName</attribute-name>
     <attribute-class>className</attribute-class>
     [<default-value>defaultValue</default-value>]
     [<suggested-value>suggestedValue</suggested-value>]
     [<attribute-extension>extension</attribute-extension>]*
   </attribute>]*
  [<property>
    [<description [xml:lang="lang"]>description</description>]*
    [<display-name [xml:lang="lang"]>displayName</display-name>]*
    [<icon [xml:lang="lang"]>
       [<small-icon>iconPath</small-icon>]
       [<large-icon>iconPath</large-icon>]
     </icon>]*
     <property-name>propName</property-name>
     <property-class>className</property-class>
     [<default-value>defaultValue</default-value>]
     [<suggested-value>suggestedValue</suggested-value>]
     [<property-extension>extension</property-extension>]*
   </property>]*
</converter>

The <converter-class> ...

Get JavaServer Faces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.