34 |
**/ |
**/ |
35 |
private final List<String> langs; |
private final List<String> langs; |
36 |
|
|
37 |
@Deprecated |
/** |
38 |
|
@Deprecated Use another constructor. AttributeMetadataMap is based on {@link Translation} and |
39 |
|
* would like to know how many languages are supported, so the |
40 |
|
* needed defaults can be created. |
41 |
|
*/ |
42 |
public AttributeMetadataMap() { |
public AttributeMetadataMap() { |
43 |
langs = new ArrayList<String>(); |
langs = new ArrayList<String>(); |
44 |
langs.add(Translation.getActiveLang()); |
langs.add(Translation.getActiveLang()); |
118 |
* {@link AttributeMetadata} on the fly. |
* {@link AttributeMetadata} on the fly. |
119 |
*/ |
*/ |
120 |
public AttributeMetadata get(final String localName) { |
public AttributeMetadata get(final String localName) { |
121 |
|
if (localName == null) return null; |
122 |
return this.get(new NameImpl(localName)); |
return this.get(new NameImpl(localName)); |
123 |
} |
} |
124 |
|
|