public class EPPRegistryContact extends java.lang.Object implements EPPCodecComponent
false
.Modifier and Type | Class and Description |
---|---|
static class |
EPPRegistryContact.PostalInfoTypeSupport
Possible values for the
postalInfoTypeSupport attribute. |
static class |
EPPRegistryContact.SharePolicy
Possible values for the
sharePolicy attribute. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_AUTH_INFO_REGEX
XML local name for the authInfoRegex
|
static java.lang.String |
ELM_CONTACT_ID_PREFIX
XML local name for the contactIdPrefix
|
static java.lang.String |
ELM_CONTACT_ID_REGEX
XML local name for the contactIdRegex
|
static java.lang.String |
ELM_CUSTOM_CLIENT_DISCLOSURE_SUPPORTED
XML local name for the clientDisclosureSupported
|
static java.lang.String |
ELM_CUSTOM_DATA
XML local name for the customData
|
static java.lang.String |
ELM_LOCALNAME
Constant for the status local name
|
static java.lang.String |
ELM_MAX_CHECK
XML local name for the maxCheckContact
|
static java.lang.String |
ELM_NAME
Constant for the contact (prefix and local name)
|
static java.lang.String |
ELM_POSTAL_INFO_TYPE_SUPPORT
XML local name for the
postalInfoTypeSupport attribute |
static java.lang.String |
ELM_SHARE_POLICY
XML local name for the sharePolicy
|
Constructor and Description |
---|
EPPRegistryContact() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPRegistryContact . |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryContact attributes from the aElement DOM
Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the
EPPRegistryContact instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRegistryContact compare. |
EPPRegistryRegex |
getAuthInfoRegex()
Gets authInfo regular expression.
|
java.lang.Boolean |
getClientDisclosureSupported()
Gets client disclosure flag.
|
java.lang.String |
getContactIdPrefix()
Gets the contact Id prefix.
|
EPPRegistryRegex |
getContactIdRegex()
Get info about regular expression used to validate the contact object
contact Id value.
|
java.lang.Integer |
getMaxCheckContact()
Gets maximum number of contacts allowed in the check command.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
EPPRegistryPostal |
getPostalInfo()
Gets postal-address information policy information.
|
EPPRegistryContact.PostalInfoTypeSupport |
getPostalInfoTypeSupport()
Gets the policy associated with the postal-address information,
represented by the <contact:postalInfo> element.
|
EPPRegistryContact.SharePolicy |
getSharePolicy()
Gets the share policy.
|
EPPRegistrySupportedStatus |
getSupportedStatus()
Gets a set of supported host statuses defined in RFC 5733.
|
EPPRegistryTransferHoldPeriodType |
getTransferHoldPeriod()
Get the period of time a contact object is in the pending transfer before
the transfer is auto approved by the server
|
boolean |
hasContactIdPrefix()
Has contact Id prefix?
|
boolean |
hasSharePolicy()
Is the share policy defined?
|
void |
setAuthInfoRegex(EPPRegistryRegex authInfoRegex)
Gets authInfo regular expression.
|
void |
setClientDisclosureSupported(java.lang.Boolean clientDisclosureSupported)
Sets client disclosure flag.
|
void |
setContactIdPrefix(java.lang.String aContactIdPrefix)
Sets the contact Id prefix.
|
void |
setContactIdRegex(EPPRegistryRegex aContactIdRegex)
Set info about regular expression used to validate the contact object
contact Id value.
|
void |
setIntPostalInfoTypeSupport(EPPRegistryContact.PostalInfoTypeSupport aPostalInfoTypeSupport)
Sets the policy associated with the postal-address information,
represented by the <contact:postalInfo> element.
|
void |
setMaxCheckContact(java.lang.Integer maxCheckContact)
Gets maximum number of contacts allowed in the check command.
|
void |
setPostalInfo(EPPRegistryPostal postalInfo)
Sets postal-address information policy information.
|
void |
setSharePolicy(EPPRegistryContact.SharePolicy aSharePolicy)
Sets the share policy.
|
void |
setSupportedStatus(EPPRegistrySupportedStatus supportedStatus)
Sets a set of supported host statuses defined in RFC 5733.
|
void |
setTransferHoldPeriod(EPPRegistryTransferHoldPeriodType transferHoldPeriod)
Set the period of time a contact object is in the pending transfer before
the transfer is auto approved by the server
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
public static final java.lang.String ELM_CONTACT_ID_REGEX
public static final java.lang.String ELM_CONTACT_ID_PREFIX
public static final java.lang.String ELM_SHARE_POLICY
public static final java.lang.String ELM_POSTAL_INFO_TYPE_SUPPORT
postalInfoTypeSupport
attributepublic static final java.lang.String ELM_MAX_CHECK
public static final java.lang.String ELM_AUTH_INFO_REGEX
public static final java.lang.String ELM_CUSTOM_DATA
public static final java.lang.String ELM_CUSTOM_CLIENT_DISCLOSURE_SUPPORTED
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryContact
instance.encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.EPPRegistryContact
instance.EPPEncodeException
- - Unable to encode EPPRegistryContact
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryContact
attributes from the aElement DOM
Element tree.decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode EPPRegistryContact
from.EPPDecodeException
- Unable to decode aElementpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryContact
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRegistryContact
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
EPPRegistryContact
compare.equals
in class java.lang.Object
aObject
- EPPRegistryContact
instance to compare withtrue
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.toString
in class java.lang.Object
String
if successful; ERROR
otherwise.public EPPRegistryRegex getContactIdRegex()
EPPRegistryRegex
that specifies regular
expression used to validate the domain object authorization
information valuepublic void setContactIdRegex(EPPRegistryRegex aContactIdRegex)
aContactIdRegex
- instance of EPPRegistryRegex
that specifies regular
expression used to validate the contact object contact Id valuepublic boolean hasContactIdPrefix()
true
if the contact Id prefix is defined; false
otherwise.public java.lang.String getContactIdPrefix()
null
otherwise.public void setContactIdPrefix(java.lang.String aContactIdPrefix)
aContactIdPrefix
- Contact Id prefixpublic boolean hasSharePolicy()
true
if the share policy is defined; false
otherwise.public EPPRegistryContact.SharePolicy getSharePolicy()
null
otherwise.public void setSharePolicy(EPPRegistryContact.SharePolicy aSharePolicy)
aSharePolicy
- Share policy. Set to null
to clear it.public EPPRegistryContact.PostalInfoTypeSupport getPostalInfoTypeSupport()
EPPRegistryContact.PostalInfoTypeSupport
enumerated
values if defined; null
otherwise.public void setIntPostalInfoTypeSupport(EPPRegistryContact.PostalInfoTypeSupport aPostalInfoTypeSupport)
aPostalInfoTypeSupport
- The policy based on the EPPRegistryContact.PostalInfoTypeSupport
enumerated
valuespublic java.lang.Integer getMaxCheckContact()
public void setMaxCheckContact(java.lang.Integer maxCheckContact)
public EPPRegistryRegex getAuthInfoRegex()
public void setAuthInfoRegex(EPPRegistryRegex authInfoRegex)
authInfoRegex
- regular expression used to validate the contact object
authorization information valuepublic EPPRegistryPostal getPostalInfo()
public void setPostalInfo(EPPRegistryPostal postalInfo)
postalInfo
- the postal-address information policy informationpublic java.lang.Boolean getClientDisclosureSupported()
true
if the server supports the client to identify
elements that require exception server-operator handling to allow
or restrict disclosure to third parties defined in RFC 5733.
false
otherwisepublic void setClientDisclosureSupported(java.lang.Boolean clientDisclosureSupported)
clientDisclosureSupported
- true
if the server supports the client to identify
elements that require exception server-operator handling to
allow or restrict disclosure to third parties defined in RFC
5733. false
otherwisepublic EPPRegistrySupportedStatus getSupportedStatus()
public void setSupportedStatus(EPPRegistrySupportedStatus supportedStatus)
supportedStatus
- set of supported host statuses defined in RFC 5733public EPPRegistryTransferHoldPeriodType getTransferHoldPeriod()
EPPRegistryTransferHoldPeriodType
public void setTransferHoldPeriod(EPPRegistryTransferHoldPeriodType transferHoldPeriod)
transferHoldPeriod
- instance of EPPRegistryTransferHoldPeriodType
public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.