📄 guioptionimpl.java
字号:
/** * 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.sysopts;// Global Implementation Import Statementsimport 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 GUIOptionImpl extends DefaultHandler implements Cloneable, Unmarshallable, LexicalHandler, GUIOption { private String onlineTipLocationY; private boolean zeus_OnlineTipLocationYSet; private String showOnlineOnly; private static boolean zeus_ShowOnlineOnlyInitialized; private static java.util.Vector zeus_validShowOnlineOnly; private boolean zeus_ShowOnlineOnlySet; private String width; private boolean zeus_WidthSet; private String onlineTipLocationX; private boolean zeus_OnlineTipLocationXSet; private String showMessageTip; private static boolean zeus_ShowMessageTipInitialized; private static java.util.Vector zeus_validShowMessageTip; private boolean zeus_ShowMessageTipSet; private String showTip; private static boolean zeus_ShowTipInitialized; private static java.util.Vector zeus_validShowTip; private boolean zeus_ShowTipSet; private String smallFace; private static boolean zeus_SmallFaceInitialized; private static java.util.Vector zeus_validSmallFace; private boolean zeus_SmallFaceSet; private String messageTipLocationY; private boolean zeus_MessageTipLocationYSet; private String messageTipLocationX; private boolean zeus_MessageTipLocationXSet; private String showNick; private static boolean zeus_ShowNickInitialized; private static java.util.Vector zeus_validShowNick; private boolean zeus_ShowNickSet; private String locationY; private boolean zeus_LocationYSet; private String locationX; private boolean zeus_LocationXSet; private String autoHide; private static boolean zeus_AutoHideInitialized; private static java.util.Vector zeus_validAutoHide; private boolean zeus_AutoHideSet; private String height; private boolean zeus_HeightSet; private String showOnlineTip; private static boolean zeus_ShowOnlineTipInitialized; private static java.util.Vector zeus_validShowOnlineTip; private boolean zeus_ShowOnlineTipSet; /** 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 GUIOptionImpl prototype = null; public static void setPrototype(GUIOptionImpl prototype) { GUIOptionImpl.prototype = prototype; } public static GUIOptionImpl newInstance() { try { return (prototype!=null)?(GUIOptionImpl)prototype.clone(): new GUIOptionImpl(); } catch (CloneNotSupportedException e) { return null; // never } } public GUIOptionImpl() { zeus_OnlineTipLocationYSet = false; zeus_ShowOnlineOnlyInitialized = false; zeus_validShowOnlineOnly = null; zeus_ShowOnlineOnlySet = false; zeus_WidthSet = false; zeus_OnlineTipLocationXSet = false; zeus_ShowMessageTipInitialized = false; zeus_validShowMessageTip = null; zeus_ShowMessageTipSet = false; zeus_ShowTipInitialized = false; zeus_validShowTip = null; zeus_ShowTipSet = false; zeus_SmallFaceInitialized = false; zeus_validSmallFace = null; zeus_SmallFaceSet = false; zeus_MessageTipLocationYSet = false; zeus_MessageTipLocationXSet = false; zeus_ShowNickInitialized = false; zeus_validShowNick = null; zeus_ShowNickSet = false; zeus_LocationYSet = false; zeus_LocationXSet = false; zeus_AutoHideInitialized = false; zeus_validAutoHide = null; zeus_AutoHideSet = false; zeus_HeightSet = false; zeus_ShowOnlineTipInitialized = false; zeus_validShowOnlineTip = null; zeus_ShowOnlineTipSet = false; docTypeString = ""; hasDTD = false; validate = false; namespaceMappings = new HashMap(); } public String getOnlineTipLocationY() { if(onlineTipLocationY == null) return ""; else return onlineTipLocationY; } public void setOnlineTipLocationY(String onlineTipLocationY) { this.onlineTipLocationY = onlineTipLocationY; zeus_OnlineTipLocationYSet = true; } public String getShowOnlineOnly() { if(showOnlineOnly == null) return ""; else return showOnlineOnly; } public void setShowOnlineOnly(String showOnlineOnly) throws IllegalArgumentException { if (!zeus_ShowOnlineOnlyInitialized) { zeus_validShowOnlineOnly = new java.util.Vector(); zeus_validShowOnlineOnly.addElement("true"); zeus_validShowOnlineOnly.addElement("false"); zeus_ShowOnlineOnlyInitialized = true; } if (!zeus_validShowOnlineOnly.contains(showOnlineOnly)) { throw new IllegalArgumentException("Illegal value for attribute 'showOnlineOnly'"); } else { this.showOnlineOnly = showOnlineOnly; this.zeus_ShowOnlineOnlySet = true; } } public String getWidth() { if(width == null) return ""; else return width; } public void setWidth(String width) { this.width = width; zeus_WidthSet = true; } public String getOnlineTipLocationX() { if(onlineTipLocationX == null) return ""; else return onlineTipLocationX; } public void setOnlineTipLocationX(String onlineTipLocationX) { this.onlineTipLocationX = onlineTipLocationX; zeus_OnlineTipLocationXSet = true; } public String getShowMessageTip() { if(showMessageTip == null) return ""; else return showMessageTip; } public void setShowMessageTip(String showMessageTip) throws IllegalArgumentException { if (!zeus_ShowMessageTipInitialized) { zeus_validShowMessageTip = new java.util.Vector(); zeus_validShowMessageTip.addElement("true"); zeus_validShowMessageTip.addElement("false"); zeus_ShowMessageTipInitialized = true; } if (!zeus_validShowMessageTip.contains(showMessageTip)) { throw new IllegalArgumentException("Illegal value for attribute 'showMessageTip'"); } else { this.showMessageTip = showMessageTip; this.zeus_ShowMessageTipSet = true; } } public String getShowTip() { if(showTip == null) return ""; else return showTip; } public void setShowTip(String showTip) throws IllegalArgumentException { if (!zeus_ShowTipInitialized) { zeus_validShowTip = new java.util.Vector(); zeus_validShowTip.addElement("true"); zeus_validShowTip.addElement("false"); zeus_ShowTipInitialized = true; } if (!zeus_validShowTip.contains(showTip)) { throw new IllegalArgumentException("Illegal value for attribute 'showTip'"); } else { this.showTip = showTip; this.zeus_ShowTipSet = true; } } public String getSmallFace() { if(smallFace == null) return ""; else return smallFace; } public void setSmallFace(String smallFace) throws IllegalArgumentException { if (!zeus_SmallFaceInitialized) { zeus_validSmallFace = new java.util.Vector(); zeus_validSmallFace.addElement("true"); zeus_validSmallFace.addElement("false"); zeus_SmallFaceInitialized = true; } if (!zeus_validSmallFace.contains(smallFace)) { throw new IllegalArgumentException("Illegal value for attribute 'smallFace'"); } else { this.smallFace = smallFace; this.zeus_SmallFaceSet = true; } } public String getMessageTipLocationY() { if(messageTipLocationY == null) return ""; else return messageTipLocationY; } public void setMessageTipLocationY(String messageTipLocationY) { this.messageTipLocationY = messageTipLocationY; zeus_MessageTipLocationYSet = true; } public String getMessageTipLocationX() { if(messageTipLocationX == null) return ""; else return messageTipLocationX; } public void setMessageTipLocationX(String messageTipLocationX) { this.messageTipLocationX = messageTipLocationX; zeus_MessageTipLocationXSet = true; } public String getShowNick() { if(showNick == null) return ""; else return showNick; } public void setShowNick(String showNick) throws IllegalArgumentException { if (!zeus_ShowNickInitialized) { zeus_validShowNick = new java.util.Vector(); zeus_validShowNick.addElement("true"); zeus_validShowNick.addElement("false"); zeus_ShowNickInitialized = true; } if (!zeus_validShowNick.contains(showNick)) { throw new IllegalArgumentException("Illegal value for attribute 'showNick'"); } else { this.showNick = showNick; this.zeus_ShowNickSet = true; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -