|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.gen.EPPPurpose
public class EPPPurpose
The <purpose> element MUST contain one or more of the following child
elements that describe the purposes for which data is collected:
EPPStatement,
Serialized Form| Constructor Summary | |
|---|---|
EPPPurpose()
Default Constructor |
|
EPPPurpose(boolean aAdmin,
boolean aContact,
boolean aOther,
boolean aProv)
Allocates a new EPPPurpose with different child elements
based on the input parameters. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPPurpose. |
void |
decode(org.w3c.dom.Element aElement)
decode EPPPurpose from a DOM element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
encode EPPPurpose into a DOM element tree. |
boolean |
equals(java.lang.Object aObject)
implements a EPPPurpose compare. |
boolean |
isAdmin()
<admin> element set? |
boolean |
isContact()
<contact> element set? |
boolean |
isOther()
<other> element set? |
boolean |
isProv()
<prov> element set? |
void |
setAdmin(boolean aAdmin)
Sets the <admin> element to specify contact for administrative purposes. |
void |
setContact(boolean aContact)
Sets the <contact> element to specify contact for marketing purposes. |
void |
setOther(boolean aOther)
Sets the <other> element to specify Other purposes. |
void |
setProv(boolean aProv)
Sets the <prov> element to specify object provisioning purposes. |
java.lang.String |
toString()
Implementation of Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EPPPurpose()
public EPPPurpose(boolean aAdmin,
boolean aContact,
boolean aOther,
boolean aProv)
EPPPurpose with different child elements
based on the input parameters.
aAdmin - If set to true then the element
admin is createdaContact - If set to true then the element
contact is createdaOther - If set to true then the element
other is createdaProv - If set to true then the element
prov is created| Method Detail |
|---|
public boolean isAdmin()
true if is set; false otherwise.public void setAdmin(boolean aAdmin)
aAdmin - true to include the <admin> element;
false otherwise.public boolean isContact()
true if is set; false otherwise.public void setContact(boolean aContact)
aContact - true to include the <contact>
element; false otherwise.public boolean isOther()
true if is set; false otherwise.public void setOther(boolean aOther)
aOther - true to include the <other> element;
false otherwise.public boolean isProv()
true if is set; false otherwise.public void setProv(boolean aProv)
aProv - true to include the <prov> element;
false otherwise.
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPPurpose into a DOM element tree. The "purpose"
element is created and the child nodes are appended as children.
encode in interface EPPCodecComponentaDocument - DOCUMENT ME!
EPPEncodeException - Error encoding the DOM element tree.
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPPurpose from a DOM element tree. The
aElement argument needs to be the <purpose> element
for a EPPPurpose
decode in interface EPPCodecComponentaElement - root element tree.
EPPDecodeException - Error decoding the DOM element tree.public boolean equals(java.lang.Object aObject)
EPPPurpose compare.
equals in class java.lang.ObjectaObject - EPPPurpose instance to compare with
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPPurpose.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPPurpose
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic java.lang.String toString()
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent.
toString in class java.lang.ObjectString if successful;
ERROR otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||