public class LocalizedStringImpl extends Object implements javax.xml.registry.infomodel.LocalizedString
DEFAULT_CHARSET_NAME
Constructor and Description |
---|
LocalizedStringImpl() |
LocalizedStringImpl(Locale locale,
String value,
String charsetName)
Constuctor for a LocalizedString.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
There is a spec ambiguity here as it does not define how equals is determined for LocalizedString
but they are intended to be used in Collections.
|
String |
getCharsetName() |
Locale |
getLocale() |
String |
getValue() |
int |
hashCode() |
void |
setCharsetName(String charsetName) |
void |
setLocale(Locale locale) |
void |
setValue(String value) |
String |
toString() |
public String getCharsetName()
getCharsetName
in interface javax.xml.registry.infomodel.LocalizedString
public Locale getLocale()
getLocale
in interface javax.xml.registry.infomodel.LocalizedString
public String getValue()
getValue
in interface javax.xml.registry.infomodel.LocalizedString
public void setCharsetName(String charsetName)
setCharsetName
in interface javax.xml.registry.infomodel.LocalizedString
public void setLocale(Locale locale)
setLocale
in interface javax.xml.registry.infomodel.LocalizedString
public void setValue(String value)
setValue
in interface javax.xml.registry.infomodel.LocalizedString
public boolean equals(Object o)
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.