public class TargetPropertiesAnnotation extends Object implements IAnnotation, Iterable<LocaleId>
| Constructor and Description |
|---|
TargetPropertiesAnnotation()
Creates a new TargetPropertiesAnnotation object.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Property> |
get(LocaleId locId)
Gets the properties for a given target locale.
|
Set<LocaleId> |
getLocales()
Gets a set of the target locales available in this annotation.
|
boolean |
isEmpty()
Indicates if this annotation has any properties.
|
Iterator<LocaleId> |
iterator()
Gets a new iterator for this annotation.
|
void |
set(LocaleId locId,
Map<String,Property> properties)
Sets properties for a given target locale.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringforEach, spliteratorpublic TargetPropertiesAnnotation()
public void set(LocaleId locId, Map<String,Property> properties)
locId - Code of the target locale for this property.properties - The properties to set.public Map<String,Property> get(LocaleId locId)
locId - Code of the target locale of the properties to retrieve.public boolean isEmpty()
Copyright © 2021. All rights reserved.