org.primefaces.extensions.renderkit.widget
Annotation Type Option


@Documented
@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface Option

Defines if the property should be used as JavaScript Widget option.

Since:
0.3
Version:
$Revision$
Author:
Thomas Andraschko / last modified by $Author$

Optional Element Summary
 boolean escapeHTML
          Defines if for this option, HTML should be escaped.
 boolean escapeText
          Defines if for this option, the text should be escaped for JSON.
 java.lang.String name
          Defines the name of the option.
 boolean useDoubleQuotes
          Defines if double quotes instead of a normal quote should be used for rendering Strings.
 

name

public abstract java.lang.String name
Defines the name of the option. Only required if the default name (name of the property) should not be used.

Returns:
The name of the option.
Default:
""

escapeHTML

public abstract boolean escapeHTML
Defines if for this option, HTML should be escaped.

Returns:
If for this option, HTML should be escaped.
Default:
false

escapeText

public abstract boolean escapeText
Defines if for this option, the text should be escaped for JSON.

Returns:
If for this option, the text should be escaped for JSON.
Default:
false

useDoubleQuotes

public abstract boolean useDoubleQuotes
Defines if double quotes instead of a normal quote should be used for rendering Strings.

Returns:
If double quotes should be used for Strings.
Default:
false


Copyright © 2011-2013. All Rights Reserved.