public interface GenericMetadata
Modifier and Type | Method and Description |
---|---|
void |
addField(Locale locale,
String name,
String value)
addField
|
void |
addField(LocalizedField field)
addField
|
void |
copyFields(Collection<LocalizedField> fields)
copyFields
|
LocalizedField |
createLocalizedField()
createLocalizedField
|
Collection<LocalizedField> |
getFields()
getFields
|
Collection<LocalizedField> |
getFields(String name)
getFields
|
String |
getText(String name,
Locale locale)
Get localized text from metadata
|
void |
setFields(Collection<LocalizedField> fields)
setFields
|
void |
setFields(String name,
Collection<LocalizedField> values)
setFields
|
void addField(Locale locale, String name, String value)
addField
locale
- name
- value
- void addField(LocalizedField field)
addField
field
- Collection<LocalizedField> getFields(String name)
getFields
name
- void setFields(String name, Collection<LocalizedField> values)
setFields
name
- values
- Collection<LocalizedField> getFields()
getFields
void setFields(Collection<LocalizedField> fields)
setFields
fields
- LocalizedField createLocalizedField()
createLocalizedField
void copyFields(Collection<LocalizedField> fields)
copyFields
fields
- Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.