public class LoginConfig extends java.lang.Object implements XMLable
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
XML_TAG |
构造器和说明 |
---|
LoginConfig() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
SingleLoginMode |
getSingleLoginMode() |
boolean |
isHeartbeat() |
boolean |
isNeedSMSVerification() |
boolean |
isShowLastLoginedInfo() |
boolean |
isSupportForgetPwd() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setHeartbeat(boolean heartbeat) |
void |
setNeedSMSVerification(boolean needSMSVerification) |
void |
setShowLastLoginedInfo(boolean showLastLoginedInfo) |
void |
setSingleLoginMode(SingleLoginMode singleLoginMode) |
void |
setSupportForgetPwd(boolean supportForgetPwd) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public static final java.lang.String XML_TAG
public SingleLoginMode getSingleLoginMode()
public void setSingleLoginMode(SingleLoginMode singleLoginMode)
public boolean isShowLastLoginedInfo()
public void setShowLastLoginedInfo(boolean showLastLoginedInfo)
public boolean isSupportForgetPwd()
public void setSupportForgetPwd(boolean supportForgetPwd)
public boolean isHeartbeat()
public void setHeartbeat(boolean heartbeat)
public boolean isNeedSMSVerification()
public void setNeedSMSVerification(boolean needSMSVerification)
public void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
XMLWriter
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常