com.dyuproject.openid.ext
Class SReg

java.lang.Object
  extended by com.dyuproject.openid.ext.SReg
All Implemented Interfaces:
Serializable, org.mortbay.util.ajax.JSON.Convertible

public class SReg
extends Object
implements Serializable, org.mortbay.util.ajax.JSON.Convertible

Author:
David Yu
See Also:
Serialized Form

Field Summary
static String ATTR_NAME
           
 
Constructor Summary
SReg()
           
 
Method Summary
 void fromJSON(Map map)
           
 String gePostcode()
           
static SReg get(OpenIdUser user)
           
 String getCountry()
           
 String getDob()
           
 String getEmail()
           
 String getFullname()
           
 String getGender()
           
 String getLanguage()
           
 String getNickname()
           
 int getPropertyCount()
           
 String getTimezone()
           
 void toJSON(org.mortbay.util.ajax.JSON.Output out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTR_NAME

public static final String ATTR_NAME
See Also:
Constant Field Values
Constructor Detail

SReg

public SReg()
Method Detail

get

public static SReg get(OpenIdUser user)

getPropertyCount

public int getPropertyCount()

getNickname

public String getNickname()

getEmail

public String getEmail()

getFullname

public String getFullname()

getDob

public String getDob()

getGender

public String getGender()

gePostcode

public String gePostcode()

getCountry

public String getCountry()

getLanguage

public String getLanguage()

getTimezone

public String getTimezone()

fromJSON

public void fromJSON(Map map)
Specified by:
fromJSON in interface org.mortbay.util.ajax.JSON.Convertible

toJSON

public void toJSON(org.mortbay.util.ajax.JSON.Output out)
Specified by:
toJSON in interface org.mortbay.util.ajax.JSON.Convertible


Copyright © 2013. All Rights Reserved.