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 |
---|---|
PreferenceType<PortletPreferencesType<T>> |
PortletPreferencesType.createPreference()
Creates a new
preference element |
PreferenceType<PortletPreferencesType<T>> |
PortletPreferencesType.getOrCreatePreference()
If not already created, a new
preference element will be created and returned. |
PreferenceType<T> |
PreferenceType.id(String id)
Sets the
id attribute |
PreferenceType<T> |
PreferenceType.name(String name)
Sets the
name element |
PreferenceType<T> |
PreferenceType.readOnly(ReadOnlyType readOnly)
Sets the
read-only element |
PreferenceType<T> |
PreferenceType.readOnly(String readOnly)
Sets the
read-only element |
PreferenceType<T> |
PreferenceType.removeAllValue()
Removes the
value element |
PreferenceType<T> |
PreferenceType.removeId()
Removes the
id attribute |
PreferenceType<T> |
PreferenceType.removeName()
Removes the
name element |
PreferenceType<T> |
PreferenceType.removeReadOnly()
Removes the
read-only attribute |
PreferenceType<T> |
PreferenceType.value(String... values)
Creates for all String objects representing
value elements,
a new value element |
Modifier and Type | Method and Description |
---|---|
List<PreferenceType<PortletPreferencesType<T>>> |
PortletPreferencesType.getAllPreference()
Returns all
preference elements |
Copyright © 2021 JBoss by Red Hat. All rights reserved.