|
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.core.EppContactDisclose
public class EppContactDisclose
This EppContactDisclose class implements EPP Contact
DiscloseType for recording contact data privacy information.
The privacy information contains the following 9 fields:
A EppContactDisclose object contains a set of
boolean flags for indicating if one of the above 9 fields needs
included in an EPP Contact DiscloseType tag.
| Field Summary | |
|---|---|
static int |
TAG_ADDR_INT
Constant for changing the setting of the boolean flag for the "addr" tag in the "int" form |
static int |
TAG_ADDR_LOC
Constant for changing the setting of the boolean flag for the "addr" tag in the "loc" form |
static int |
TAG_EMAIL
Constant for changing the setting of the boolean flag for the "email" tag |
static int |
TAG_FAX
Constant for changing the setting of the boolean flag for the "fax" tag |
static int |
TAG_NAME_INT
Constant for changing the setting of the boolean flag for the "name" tag in the "int" form |
static int |
TAG_NAME_LOC
Constant for changing the setting of the boolean flag for the "name" tag in the "loc" form. |
static int |
TAG_ORG_INT
Constant for changing the setting of the boolean flag for the "org" tag in the "int" form |
static int |
TAG_ORG_LOC
Constant for changing the setting of the boolean flag for the "org" tag in the "loc" form |
static int |
TAG_VOICE
Constant for changing the setting of the boolean flag for the "voice" tag |
| Constructor Summary | |
|---|---|
EppContactDisclose()
Creates an EppContactDisclose object, with all tag
flags set to false and the disclose flag set to true |
|
EppContactDisclose(boolean tag_flag)
Creates an EppContactDisclose object, with all tag
flags set to the value specified, and the disclose flag set to true |
|
EppContactDisclose(boolean disclose_flag,
boolean tag_flag)
Creates an EppContactDisclose object, with all tag
flags set and the disclose flag set to values specified |
|
| Method Summary | |
|---|---|
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppContactDisclose object. |
boolean |
get(int tag)
Gets the flag for including a specific privacy tag in the EPP Contcat DiscloseType tag |
boolean |
getDiscloseFlag()
Gets the disclose flag |
void |
set(int tag,
boolean flag)
Sets the flag for including a specific privacy tag in the EPP Contcat DiscloseType tag |
void |
setDiscloseFlag(boolean disclose_flag)
Sets the disclose flag |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppContactDisclose 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 |
| Field Detail |
|---|
public static final int TAG_NAME_INT
public static final int TAG_NAME_LOC
public static final int TAG_ORG_INT
public static final int TAG_ORG_LOC
public static final int TAG_ADDR_INT
public static final int TAG_ADDR_LOC
public static final int TAG_VOICE
public static final int TAG_FAX
public static final int TAG_EMAIL
| Constructor Detail |
|---|
public EppContactDisclose()
EppContactDisclose object, with all tag
flags set to false and the disclose flag set to true
public EppContactDisclose(boolean tag_flag)
EppContactDisclose object, with all tag
flags set to the value specified, and the disclose flag set to true
public EppContactDisclose(boolean disclose_flag,
boolean tag_flag)
EppContactDisclose object, with all tag
flags set and the disclose flag set to values specified
| Method Detail |
|---|
public void setDiscloseFlag(boolean disclose_flag)
public boolean getDiscloseFlag()
public void set(int tag,
boolean flag)
tag - one of the 9 tags defined in this class:
flag - true if the tag is needed to be includedpublic boolean get(int tag)
tag - one of the 9 tags defined in this class:
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppContactDisclose object into an XML element
toXML in class EppEntitydoc - the XML Document objecttag - the tag/element name for the EppContactDisclose object
Element objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppContactDisclose object.
The caller of this method must make sure that the root node is of
the EPP Contact DiscloseType.
root - root node for an EppContactDisclose object in
XML format
EppContactDisclose 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 | ||||||||