|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.nimbusds.openid.connect.sdk.claims.LangTaggedObject<T>
public class LangTaggedObject<T>
Object with an optional language tag (RFC 5646).
Related specifications:
Constructor Summary | |
---|---|
LangTaggedObject(T object)
Creates a new language-tagged object with no tag. |
|
LangTaggedObject(T object,
com.nimbusds.langtag.LangTag langTag)
Creates a new language-tagged object. |
Method Summary | |
---|---|
boolean |
equals(Object other)
Overrides java.lang.Object.equals() . |
com.nimbusds.langtag.LangTag |
getLangTag()
Gets the language tag. |
T |
getObject()
Gets the language-tagged object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LangTaggedObject(T object)
object
- The object. Must not be null
.public LangTaggedObject(T object, com.nimbusds.langtag.LangTag langTag)
object
- The object to language-tag. Must not be null
.langTag
- The language tag, null
if not specified.Method Detail |
---|
public T getObject()
public com.nimbusds.langtag.LangTag getLangTag()
null
if not specified.public boolean equals(Object other)
java.lang.Object.equals()
.
equals
in class Object
true
if the other object is also a language
tagged object with the same value (object) and language tag.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |