flickrperson.java

来自「RESIN 3.2 最新源码」· Java 代码 · 共 48 行

JAVA
48
字号
package example.data;import javax.xml.bind.annotation.*;@XmlRootElement(name="person")public class FlickrPerson implements FlickrPayload {  @XmlAttribute public String nsid;  @XmlAttribute public int isadmin;  @XmlAttribute public int ispro;  @XmlAttribute public int iconserver;  @XmlElement public String username;  @XmlElement public String realname;  @XmlElement public String mbox_sha1sum;  @XmlElement public String location;  @XmlElement public String photosurl;  @XmlElement public String profileurl;  @XmlElement public Photos photos;  public static class Photos {    @XmlElement public long firstdate;    @XmlElement public String firstdatetaken;    @XmlElement public int count;    public String toString()    {      return "Photos[firstdate=" + firstdate + ", " +                    "firstdatetaken=" + firstdatetaken + ", " +                    "count=" + count + "]";    }  }  public String toString()   {    return "FlickrPerson[nsid=" + nsid + ", " +                        "isadmin=" + isadmin + ", " +                        "ispro=" + ispro + ", " +                        "iconserver=" + iconserver + ", " +                        "username=" + username + ", " +                        "realname=" + realname + ", " +                        "mbox_sha1sum=" + mbox_sha1sum + ", " +                        "location=" + location + ", " +                        "photosurl=" + photosurl + ", " +                        "profileurl=" + profileurl + ", " +                        "photos=" + photos + "]";  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?