|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.saml2.metadata.LocalizedString
public class LocalizedString
Localized String with the language associated with it.
Field Summary | |
---|---|
private String |
language
Language of the localized string. |
private String |
localizedString
Localized string. |
Constructor Summary | |
---|---|
LocalizedString()
Constructor. |
|
LocalizedString(String localString,
String language)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Determines if two LocalizedStrings are equal, that is, if both thier localized string and language have case-sentivite equality. |
String |
getLanguage()
Gets the language of the string. |
String |
getLocalString()
Gets the localized string. |
int |
hashCode()
|
void |
setLanguage(String newLanguage)
Sets the language of the string. |
void |
setLocalizedString(String newString)
Sets the localized string. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String localizedString
private String language
Constructor Detail |
---|
public LocalizedString()
public LocalizedString(String localString, String language)
localString
- the localized stringlanguage
- the language of the stringMethod Detail |
---|
public String getLocalString()
public void setLocalizedString(String newString)
newString
- the localized stringpublic String getLanguage()
public void setLanguage(String newLanguage)
newLanguage
- the language of the stringpublic int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
obj
- the object this object is compared with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |