|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GenericMetadata
GenericMetadata
Interface that allows retrieving localized information
Method Summary | |
---|---|
void |
addField(java.util.Locale locale,
java.lang.String name,
java.lang.String value)
addField |
void |
addField(LocalizedField field)
addField |
void |
copyFields(java.util.Collection<LocalizedField> fields)
copyFields |
LocalizedField |
createLocalizedField()
createLocalizedField |
java.util.Collection<LocalizedField> |
getFields()
getFields |
java.util.Collection<LocalizedField> |
getFields(java.lang.String name)
getFields |
java.lang.String |
getText(java.lang.String name,
java.util.Locale locale)
Get localized text from metadata |
void |
setFields(java.util.Collection<LocalizedField> fields)
setFields |
void |
setFields(java.lang.String name,
java.util.Collection<LocalizedField> values)
setFields |
Method Detail |
---|
void addField(java.util.Locale locale, java.lang.String name, java.lang.String value)
addField
locale
- name
- value
- void addField(LocalizedField field)
addField
field
- java.util.Collection<LocalizedField> getFields(java.lang.String name)
getFields
name
-
void setFields(java.lang.String name, java.util.Collection<LocalizedField> values)
setFields
name
- values
- java.util.Collection<LocalizedField> getFields()
getFields
void setFields(java.util.Collection<LocalizedField> fields)
setFields
fields
- LocalizedField createLocalizedField()
createLocalizedField
void copyFields(java.util.Collection<LocalizedField> fields)
copyFields
fields
- java.lang.String getText(java.lang.String name, java.util.Locale locale)
name
- text namelocale
- preferred locale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |