@Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) public @interface Supports
Modifier and Type | Optional Element and Description |
---|---|
String |
mimeType
The MIME type for the supported portlet modes and window
states listed in this annotation, for example
"text/html" . |
String[] |
portletModes
Defines the portlet modes supported by this portlet.
|
String[] |
windowStates
Defines the window states supported by this portlet.
|
public abstract String mimeType
"text/html"
.
The MIME type may also contain the wildcard character '*',
for example "text/*"
or "*/*"
.
public abstract String[] portletModes
The following names represent the standard portlet modes: "edit", "help", "view". Custom portlet modes may also be defined.
Portlet mode names are not case sensitive.
public abstract String[] windowStates
The following names represent the standard window states: "normal", "minimized", "maximized". Custom window states may also be defined.
Window state names are not case sensitive.
Java Portlet 3.0 API Specification. See the Copyright and License provided with this distribution. Use is subject to license terms.