orgInt
and orgLoc
attributes
defined in EPPContactDisclose
.@Deprecated public class EPPContactDiscloseOrg extends java.lang.Object implements EPPCodecComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_TYPE_INT
Deprecated.
Value of the INT in contact disclose type mapping.
|
static java.lang.String |
ATTR_TYPE_LOC
Deprecated.
Value of the LOC in contact disclose type mapping.
|
static java.lang.String |
ELM_LOCALNAME
Deprecated.
Constant for disclose address local name.
|
static java.lang.String |
ELM_NAME
Deprecated.
XML Element Name of
EPPContactDiscloseOrg root element. |
Constructor and Description |
---|
EPPContactDiscloseOrg()
Deprecated.
Create a new instance of EPPContactDiscloseOrg
|
EPPContactDiscloseOrg(java.lang.String aType)
Deprecated.
Create a new instance of EPPContactDiscloseOrg with the given type
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Deprecated.
Clone
EPPContactDiscloseOrg . |
void |
decode(org.w3c.dom.Element aElement)
Deprecated.
Decode the
EPPContactDisclose attributes from the aElement
DOM Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Deprecated.
Encode a DOM Element tree from the attributes of the
EPPContactDiscloseOrg instance. |
boolean |
equals(java.lang.Object aObject)
Deprecated.
implements a deep
EPPContactDiscloseOrg compare. |
java.lang.String |
getNamespace()
Deprecated.
Returns the XML namespace associated with the
EPPCodecComponent . |
java.lang.String |
getType()
Deprecated.
Gets the type of the org element.
|
void |
setType(java.lang.String aType)
Deprecated.
Sets the type of the org element.
|
public static final java.lang.String ATTR_TYPE_INT
public static final java.lang.String ATTR_TYPE_LOC
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
EPPContactDiscloseOrg
root element.public EPPContactDiscloseOrg()
public EPPContactDiscloseOrg(java.lang.String aType)
aType
- the type value to use for this instance. Should use either
ATTR_TYPE_INT
or ATTR_TYPE_LOC
.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPContactDiscloseOrg
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPContactDiscloseOrg
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPContactDisclose
attributes from the aElement
DOM Element tree.decode
in interface EPPCodecComponent
aElement
- The root element of the report fragment of XMLEPPDecodeException
- On decoding errorpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPContactDiscloseOrg
instance.encode
in interface EPPCodecComponent
aDocument
- The DOM Document to append data toEPPEncodeException
- On encoding errorpublic boolean equals(java.lang.Object aObject)
EPPContactDiscloseOrg
compare.equals
in class java.lang.Object
aObject
- EPPContactDiscloseOrg
instance to compare withpublic java.lang.String getType()
ATTR_TYPE_INT
or ATTR_TYPE_LOC
.public void setType(java.lang.String aType)
aType
- Should be either ATTR_TYPE_INT
or
ATTR_TYPE_LOC
.public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.