⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 friendimpl.java

📁 类似于MSN
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
/*
 * This class was generated from a set of XML constraints
 *   by the Enhydra Zeus XML Data Binding Framework. All
 *   source code in this file is constructed specifically
 *   to work with other Zeus-generated classes. If you
 *   modify this file by hand, you run the risk of breaking
 *   this interoperation, as well as introducing errors in
 *   source code compilation.
 *
 * * * * * MODIFY THIS FILE AT YOUR OWN RISK * * * * *
 *
 * To find out more about the Enhydra Zeus framework, you
 *   can point your browser at <http://zeus.enhydra.org>
 *   where you can download releases, join and discuss Zeus
 *   on user and developer mailing lists, and access source
 *   code. Please report any bugs through that website.
 */
package edu.tsinghua.lumaqq.xml.groups;

// Global Implementation Import Statements
import java.io.*;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.xml.sax.EntityResolver;
import org.xml.sax.ErrorHandler;
import org.xml.sax.InputSource;
import org.xml.sax.Locator;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
import org.xml.sax.XMLReader;
import org.xml.sax.ext.LexicalHandler;
import org.xml.sax.helpers.DefaultHandler;
import org.xml.sax.helpers.XMLReaderFactory;

public class FriendImpl extends DefaultHandler implements Cloneable, Unmarshallable, LexicalHandler, Friend {

    private String province;
    private boolean zeus_ProvinceSet;
    private String member;
    private static boolean zeus_MemberInitialized;
    private static java.util.Vector zeus_validMember;
    private boolean zeus_MemberSet;
    private String zipcode;
    private boolean zeus_ZipcodeSet;
    private String mobile;
    private boolean zeus_MobileSet;
    private String address;
    private boolean zeus_AddressSet;
    private String qqNum;
    private boolean zeus_QqNumSet;
    private String college;
    private boolean zeus_CollegeSet;
    private String horoscope;
    private boolean zeus_HoroscopeSet;
    private String zodiac;
    private boolean zeus_ZodiacSet;
    private String face;
    private boolean zeus_FaceSet;
    private String openContact;
    private boolean zeus_OpenContactSet;
    private String locationY;
    private boolean zeus_LocationYSet;
    private String locationX;
    private boolean zeus_LocationXSet;
    private String age;
    private boolean zeus_AgeSet;
    private String gender;
    private boolean zeus_GenderSet;
    private String blood;
    private boolean zeus_BloodSet;
    private String email;
    private boolean zeus_EmailSet;
    private String talkMode;
    private static boolean zeus_TalkModeInitialized;
    private static java.util.Vector zeus_validTalkMode;
    private boolean zeus_TalkModeSet;
    private String country;
    private boolean zeus_CountrySet;
    private String homepage;
    private boolean zeus_HomepageSet;
    private String authType;
    private boolean zeus_AuthTypeSet;
    private String openHp;
    private boolean zeus_OpenHpSet;
    private String city;
    private boolean zeus_CitySet;
    private String intro;
    private boolean zeus_IntroSet;
    private String occupation;
    private boolean zeus_OccupationSet;
    private String telephone;
    private boolean zeus_TelephoneSet;
    private String nick;
    private boolean zeus_NickSet;
    private String name;
    private boolean zeus_NameSet;

    /** Any DOCTYPE reference/statements. */
    private String docTypeString;

    /** The encoding for the output document */
    private String outputEncoding;

    /** The current node in unmarshalling */
    private Unmarshallable zeus_currentUNode;

    /** The parent node in unmarshalling */
    private Unmarshallable zeus_parentUNode;

    /** Whether this node has been handled */
    private boolean zeus_thisNodeHandled = false;

    /** Whether a DTD exists for an unmarshal call */
    private boolean hasDTD;

    /** Whether validation is occurring */
    private boolean validate;

    /** The namespace mappings on this element */
    private Map namespaceMappings;

    /** The EntityResolver for SAX parsing to use */
    private static EntityResolver entityResolver;

    /** The ErrorHandler for SAX parsing to use */
    private static ErrorHandler errorHandler;

    private static FriendImpl prototype = null;

    public static void setPrototype(FriendImpl prototype) {
        FriendImpl.prototype = prototype;
    }
    public static FriendImpl newInstance() {
        try {
            return (prototype!=null)?(FriendImpl)prototype.clone(): new FriendImpl();
        } catch (CloneNotSupportedException e) {
            return null; // never
        }
    }
    public FriendImpl() {
        zeus_ProvinceSet = false;
        zeus_MemberInitialized = false;
        zeus_validMember = null;
        zeus_MemberSet = false;
        zeus_ZipcodeSet = false;
        zeus_MobileSet = false;
        zeus_AddressSet = false;
        zeus_QqNumSet = false;
        zeus_CollegeSet = false;
        zeus_HoroscopeSet = false;
        zeus_ZodiacSet = false;
        zeus_FaceSet = false;
        zeus_OpenContactSet = false;
        zeus_LocationYSet = false;
        zeus_LocationXSet = false;
        zeus_AgeSet = false;
        zeus_GenderSet = false;
        zeus_BloodSet = false;
        zeus_EmailSet = false;
        zeus_TalkModeInitialized = false;
        zeus_validTalkMode = null;
        zeus_TalkModeSet = false;
        zeus_CountrySet = false;
        zeus_HomepageSet = false;
        zeus_AuthTypeSet = false;
        zeus_OpenHpSet = false;
        zeus_CitySet = false;
        zeus_IntroSet = false;
        zeus_OccupationSet = false;
        zeus_TelephoneSet = false;
        zeus_NickSet = false;
        zeus_NameSet = false;
        docTypeString = "";
        hasDTD = false;
        validate = false;
        namespaceMappings = new HashMap();
    }

    public String getProvince() {
        if(province == null) 
            return "";
        else
            return province;
    }

    public void setProvince(String province) {
        this.province = province;
        zeus_ProvinceSet = true;
    }

    public String getMember() {
        if(member == null) 
            return "";
        else
            return member;
    }

    public void setMember(String member)
        throws IllegalArgumentException {
        if (!zeus_MemberInitialized) {
            zeus_validMember = new java.util.Vector();
            zeus_validMember.addElement("true");
            zeus_validMember.addElement("false");
            zeus_MemberInitialized = true;
        }
        if (!zeus_validMember.contains(member)) {
              throw new IllegalArgumentException("Illegal value for attribute 'member'");
        } else {
              this.member = member;
            this.zeus_MemberSet = true;
        }
    }

    public String getZipcode() {
        if(zipcode == null) 
            return "";
        else
            return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
        zeus_ZipcodeSet = true;
    }

    public String getMobile() {
        if(mobile == null) 
            return "";
        else
            return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
        zeus_MobileSet = true;
    }

    public String getAddress() {
        if(address == null) 
            return "";
        else
            return address;
    }

    public void setAddress(String address) {
        this.address = address;
        zeus_AddressSet = true;
    }

    public String getQqNum() {
        if(qqNum == null) 
            return "";
        else
            return qqNum;
    }

    public void setQqNum(String qqNum) {
        this.qqNum = qqNum;
        zeus_QqNumSet = true;
    }

    public String getCollege() {
        if(college == null) 
            return "";
        else
            return college;
    }

    public void setCollege(String college) {
        this.college = college;
        zeus_CollegeSet = true;
    }

    public String getHoroscope() {
        if(horoscope == null) 
            return "";
        else
            return horoscope;
    }

    public void setHoroscope(String horoscope) {
        this.horoscope = horoscope;
        zeus_HoroscopeSet = true;
    }

    public String getZodiac() {
        if(zodiac == null) 
            return "";
        else
            return zodiac;
    }

    public void setZodiac(String zodiac) {
        this.zodiac = zodiac;
        zeus_ZodiacSet = true;
    }

    public String getFace() {
        if(face == null) 
            return "";
        else
            return face;
    }

    public void setFace(String face) {
        this.face = face;
        zeus_FaceSet = true;
    }

    public String getOpenContact() {
        if(openContact == null) 
            return "";
        else
            return openContact;
    }

    public void setOpenContact(String openContact) {
        this.openContact = openContact;
        zeus_OpenContactSet = true;
    }

    public String getLocationY() {
        if(locationY == null) 
            return "";
        else
            return locationY;
    }

    public void setLocationY(String locationY) {
        this.locationY = locationY;
        zeus_LocationYSet = true;
    }

    public String getLocationX() {
        if(locationX == null) 
            return "";
        else
            return locationX;
    }

    public void setLocationX(String locationX) {
        this.locationX = locationX;
        zeus_LocationXSet = true;
    }

    public String getAge() {
        if(age == null) 
            return "";
        else
            return age;
    }

    public void setAge(String age) {
        this.age = age;
        zeus_AgeSet = true;
    }

    public String getGender() {
        if(gender == null) 
            return "";
        else
            return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
        zeus_GenderSet = true;
    }

    public String getBlood() {
        if(blood == null) 
            return "";
        else
            return blood;
    }

    public void setBlood(String blood) {
        this.blood = blood;
        zeus_BloodSet = true;
    }

    public String getEmail() {
        if(email == null) 
            return "";
        else
            return email;
    }

    public void setEmail(String email) {
        this.email = email;
        zeus_EmailSet = true;
    }

    public String getTalkMode() {
        if(talkMode == null) 
            return "";
        else
            return talkMode;
    }

    public void setTalkMode(String talkMode)
        throws IllegalArgumentException {
        if (!zeus_TalkModeInitialized) {
            zeus_validTalkMode = new java.util.Vector();
            zeus_validTalkMode.addElement("true");
            zeus_validTalkMode.addElement("false");

⌨️ 快捷键说明

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