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