|
org.netbeans.modules.j2ee.dd/1 1.13.0 2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DescriptionInterface
Super interface for all DD elements having the description property/properties.
Important note: Do not provide an implementation of this interface unless you are a DD API provider!
| Method Summary | |
|---|---|
Map |
getAllDescriptions()
Returns all description elements in the form of <@link java.util.Map>. |
String |
getDefaultDescription()
Returns the description element value for default locale. |
String |
getDescription(String locale)
Returns the description element value for particular locale. If locale=null method returns description for default locale. |
void |
removeAllDescriptions()
Removes all description elements from DD element. |
void |
removeDescription()
Removes description element for default locale. |
void |
removeDescriptionForLocale(String locale)
Removes the description element for particular locale. |
void |
setAllDescriptions(Map descriptions)
Sets the multiple description elements. |
void |
setDescription(String description)
Sets the description element without xml:lang attribute. |
void |
setDescription(String locale,
String description)
Sets the description element for particular locale. If locale=null the method sets the description element without xml:lang attribute. If description=null method removes the description element for a specified locale. |
| Method Detail |
|---|
void setDescription(String locale,
String description)
throws VersionNotSupportedException
locale - string representing the locale - the value for xml:lang attribute e.g. "fr"description - value for description element
VersionNotSupportedExceptionvoid setDescription(String description)
description - value for description element
void setAllDescriptions(Map descriptions)
throws VersionNotSupportedException
descriptions - Map of descriptions in the form of [locale,description]
VersionNotSupportedException
String getDescription(String locale)
throws VersionNotSupportedException
locale - string representing the locale - the value of xml:lang attribute e.g. "fr".
VersionNotSupportedExceptionString getDefaultDescription()
Map getAllDescriptions()
void removeDescriptionForLocale(String locale)
throws VersionNotSupportedException
locale - string representing the locale - the value of xml:lang attribute e.g. "fr"
VersionNotSupportedExceptionvoid removeDescription()
void removeAllDescriptions()
|
org.netbeans.modules.j2ee.dd/1 1.13.0 2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||