Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.portletapp20 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
SupportsType<PortletType<T>> |
PortletType.createSupports()
Creates a new
supports element |
SupportsType<PortletType<T>> |
PortletType.getOrCreateSupports()
If not already created, a new
supports element will be created and returned. |
SupportsType<T> |
SupportsType.id(String id)
Sets the
id attribute |
SupportsType<T> |
SupportsType.mimeType(String mimeType)
Sets the
mime-type element |
SupportsType<T> |
SupportsType.portletMode(String... values)
Creates for all String objects representing
portlet-mode elements,
a new portlet-mode element |
SupportsType<T> |
SupportsType.removeAllPortletMode()
Removes the
portlet-mode element |
SupportsType<T> |
SupportsType.removeAllWindowState()
Removes the
window-state element |
SupportsType<T> |
SupportsType.removeId()
Removes the
id attribute |
SupportsType<T> |
SupportsType.removeMimeType()
Removes the
mime-type element |
SupportsType<T> |
SupportsType.windowState(String... values)
Creates for all String objects representing
window-state elements,
a new window-state element |
Modifier and Type | Method and Description |
---|---|
List<SupportsType<PortletType<T>>> |
PortletType.getAllSupports()
Returns all
supports elements |
Copyright © 2017 JBoss by Red Hat. All rights reserved.