public class InternationalStringImpl extends Object implements InternationalString
Constructor and Description |
---|
InternationalStringImpl() |
InternationalStringImpl(Locale locale,
String str,
String charsetName) |
InternationalStringImpl(String str) |
Modifier and Type | Method and Description |
---|---|
void |
addLocalizedString(LocalizedString localizedString) |
void |
addLocalizedStrings(Collection collection) |
LocalizedString |
getLocalizedString(Locale locale,
String charset) |
Collection<LocalizedString> |
getLocalizedStrings() |
String |
getValue() |
String |
getValue(Locale locale) |
void |
removeLocalizedString(LocalizedString localizedString) |
void |
removeLocalizedStrings(Collection collection) |
void |
setValue(Locale locale,
String value) |
void |
setValue(String str) |
public InternationalStringImpl()
public InternationalStringImpl(String str)
public void addLocalizedString(LocalizedString localizedString) throws JAXRException
addLocalizedString
in interface InternationalString
JAXRException
public void addLocalizedStrings(Collection collection) throws JAXRException
addLocalizedStrings
in interface InternationalString
JAXRException
public Collection<LocalizedString> getLocalizedStrings() throws JAXRException
getLocalizedStrings
in interface InternationalString
JAXRException
public String getValue() throws JAXRException
getValue
in interface InternationalString
JAXRException
public void setValue(String str) throws JAXRException
setValue
in interface InternationalString
JAXRException
public String getValue(Locale locale) throws JAXRException
getValue
in interface InternationalString
JAXRException
public void setValue(Locale locale, String value) throws JAXRException
setValue
in interface InternationalString
JAXRException
public void removeLocalizedString(LocalizedString localizedString) throws JAXRException
removeLocalizedString
in interface InternationalString
JAXRException
public void removeLocalizedStrings(Collection collection) throws JAXRException
removeLocalizedStrings
in interface InternationalString
JAXRException
public LocalizedString getLocalizedString(Locale locale, String charset) throws JAXRException
getLocalizedString
in interface InternationalString
JAXRException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.