public abstract class SimpleControl extends java.lang.Object implements XMLable
限定符和类型 | 字段和说明 |
---|---|
static int |
NO_VERIFY_NEEDED |
static int |
ROLE_VERIFY_NEEDED |
static int |
USER_PASSWORD_VERIFY_NEEDED |
构造器和说明 |
---|
SimpleControl() |
限定符和类型 | 方法和说明 |
---|---|
abstract PrivilegeVote |
access(Authentication authentication) |
java.lang.Object |
clone() |
abstract int |
getID() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public static final int NO_VERIFY_NEEDED
public static final int USER_PASSWORD_VERIFY_NEEDED
public static final int ROLE_VERIFY_NEEDED
public abstract PrivilegeVote access(Authentication authentication)
public abstract int getID()
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
- 如果克隆失败则抛出此异常