|
||||||||||
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.ClaimsSet com.nimbusds.openid.connect.sdk.claims.Address
public class Address
UserInfo address claims set, serialisable to a JSON object.
Related specifications:
Constructor Summary | |
---|---|
Address()
Creates a new minimal (empty) UserInfo address claims set. |
|
Address(net.minidev.json.JSONObject jsonObject)
Creates a new UserInfo address claims set from the specified JSON object. |
Method Summary | |
---|---|
String |
getCountry()
Gets the country name component. |
String |
getFormatted()
Gets the full mailing address, formatted for display or use with a mailing label. |
String |
getLocality()
Gets the city or locality component. |
String |
getPostalCode()
Gets the zip code or postal code component. |
String |
getRegion()
Gets the state, province, prefecture or region component. |
static Set<String> |
getStandardClaimNames()
Gets the names of the standard UserInfo address claims. |
String |
getStreetAddress()
Gets the full street address component, which may include house number, street name, PO BOX, and multi-line extended street address information. |
void |
setCountry(String country)
Sets the country name component. |
void |
setFormatted(String formatted)
Sets the full mailing address, formatted for display or use with a mailing label. |
void |
setLocality(String locality)
Sets the city or locality component. |
void |
setPostalCode(String postalCode)
Sets the zip code or postal code component. |
void |
setRegion(String region)
Sets the state, province, prefecture or region component. |
void |
setStreetAddress(String streetAddress)
Sets the full street address component, which may include house number, street name, PO BOX, and multi-line extended street address information. |
Methods inherited from class com.nimbusds.openid.connect.sdk.claims.ClaimsSet |
---|
getBooleanClaim, getClaim, getClaim, getDateClaim, getEmailClaim, getJSONObject, getLangTaggedClaim, getNumberClaim, getStringClaim, getStringClaim, getURLClaim, setClaim, setClaim, setDateClaim, setEmailClaim, setURLClaim |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Address()
public Address(net.minidev.json.JSONObject jsonObject)
jsonObject
- The JSON object. Must not be null
.Method Detail |
---|
public static Set<String> getStandardClaimNames()
public void setFormatted(String formatted)
formatted
claim.
formatted
- The full mailing address. null
if not
specified.public String getFormatted()
formatted
claim.
null
if not specified.public void setStreetAddress(String streetAddress)
street_address
claim.
streetAddress
- The full street address component. If
null
the claim will be removed.public String getStreetAddress()
street_address
claim.
null
if not
specified.public void setLocality(String locality)
locality
claim.
locality
- The city or locality component. If null
the
claim will be removed.public String getLocality()
locality
claim, with no language tag.
null
if not
specified.public void setRegion(String region)
region
claim.
region
- The state, province, prefecture or region component.
If null
the claim will be removed.public String getRegion()
region
claim.
null
if not specified.public void setPostalCode(String postalCode)
postal_code
claim.
postalCode
- The zip code or postal code component. If
null
the claim will be removed.public String getPostalCode()
postal_code
claim.
null
if not
specified.public void setCountry(String country)
country
claim.
country
- The country name component. If null
the claim
will be removed.public String getCountry()
country
claim.
null
if not specified.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |