public class AuthorityAllocation extends java.lang.Object implements XMLable
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
XML_TAG |
| 构造器和说明 |
|---|
AuthorityAllocation() |
AuthorityAllocation(Authority authority,
Allocation allocation) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Object |
clone() |
Allocation |
getAllocation() |
Authority |
getAuthority() |
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setAllocation(Allocation allocation) |
void |
setAuthority(Authority authority) |
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public static final java.lang.String XML_TAG
public AuthorityAllocation()
public AuthorityAllocation(Authority authority, Allocation allocation)
public Authority getAuthority()
public void setAuthority(Authority authority)
authority - the authority to setpublic Allocation getAllocation()
public void setAllocation(Allocation allocation)
allocation - the allocation to setpublic void readXML(XMLableReader reader)
XMLReadablereadXML 在接口中 XMLReadablereader - XML读取对象XMLableReaderpublic void writeXML(XMLPrintWriter writer)
XMLWriterpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone 在接口中 FCloneableclone 在类中 java.lang.Objectjava.lang.CloneNotSupportedException - 如果克隆失败则抛出此异常