|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.neulevel.epp.core.EppEntity
com.neulevel.epp.xri.EppXriTrustee
public class EppXriTrustee
This EppXriTrustee class defines trustee
information associated with XRI authority objects. It
implements XRI trusteeType and trusteeInfType defined
in the XRI authority schema file.
| Constructor Summary | |
|---|---|
EppXriTrustee()
Creates an EppXriTrustee object |
|
| Method Summary | |
|---|---|
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppXriTrustee object. |
java.lang.String |
getAuthorityId()
Gets the identifier of the XRI authority as a trustee |
java.lang.String |
getINumber()
Gets the i-number of the XRI i-number as a trustee |
boolean |
isExternal()
Returns true if this trustee is an external one |
void |
setAuthorityId(java.lang.String authId)
Sets the identifier of an XRI authority as an internal trutee |
void |
setAuthorityId(java.lang.String authId,
boolean external)
Sets the identifier of an XRI authority as a trustee, either external or internal |
void |
setExternal(boolean flag)
Sets the boolean flag for indicating if this trustee is an external one or not |
void |
setINumber(java.lang.String inumber)
Sets the i-number of an XRI i-number as an internal trutee |
void |
setINumber(java.lang.String inumber,
boolean external)
Sets the i-number of an XRI i-number as a trustee, either external or internal |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppXriTrustee object into an XML element |
| Methods inherited from class com.neulevel.epp.core.EppEntity |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EppXriTrustee()
EppXriTrustee object
| Method Detail |
|---|
public boolean isExternal()
public void setExternal(boolean flag)
public java.lang.String getAuthorityId()
public java.lang.String getINumber()
public void setAuthorityId(java.lang.String authId)
authId - identifier of the XRI authority object
public void setAuthorityId(java.lang.String authId,
boolean external)
authId - identifier of the XRI authority objectexternal - flag indicating if the trustee is external or internalpublic void setINumber(java.lang.String inumber)
inumber - i-number of the XRI i-number object
public void setINumber(java.lang.String inumber,
boolean external)
inumber - i-number of the XRI i-number objectexternal - flag indicating if the trustee is external or internal
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppXriTrustee object into an XML element
toXML in class EppEntitydoc - the XML Document objecttag - the tag/element name for the EppXriTrustee object
Element objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppXriTrustee object.
The caller of this method must make sure that the root node is of
the EPP XRI trusteeType or trusteeInfType.
root - root node for an EppXriTrustee object in
XML format
EppXriTrustee object, or null if the node is
invalidpublic java.lang.String toString()
toString in class EppEntity
|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||