public class EPPRegistryHost extends java.lang.Object implements EPPCodecComponent
getInternal()
and
setInternal(EPPRegistryInternalHost)
to get and set the element.
getExternal()
and setExternal(EPPRegistryExternalHost)
to
get and set the element.getNameRegex()
and setNameRegex(List)
to get and set the
element. Use addNameRegex(EPPRegistryRegex)
to add one name regex to
an existing list.getMaxCheckHost()
and
setMaxCheckHost(Integer)
to get and set the element.getSupportedStatus()
and
setSupportedStatus(EPPRegistrySupportedStatus)
to get and set the
element.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_AUTH_INFO_REGEX
XML Element Name of
authInfoRegex attribute. |
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryHost . |
static java.lang.String |
ELM_MAX_CHECK
XML Element Name of
maxCheckHost attribute. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistryHost . |
static java.lang.String |
ELM_REGEX
XML Element Name of
nameRegex attribute. |
Constructor and Description |
---|
EPPRegistryHost() |
Modifier and Type | Method and Description |
---|---|
void |
addNameRegex(EPPRegistryRegex aRegex)
Adds one host name regular expression to the existing
List . |
java.lang.Object |
clone()
Clone
EPPRegistryHost . |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryHost 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
EPPRegistryHost instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRegistryHost compare. |
EPPRegistryExternalHost |
getExternal()
Gets the external host attributes.
|
EPPRegistryInternalHost |
getInternal()
Gets the internal host attributes.
|
java.lang.Integer |
getMaxCheckHost()
Gets maximum number of host names that can be included in a host check
command.
|
java.util.List |
getNameRegex()
Gets host name regular expressions.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
EPPRegistrySupportedStatus |
getSupportedStatus()
Gets a set of supported host statuses defined in RFC 5732.
|
void |
setExternal(EPPRegistryExternalHost aExternal)
Sets the external host attributes.
|
void |
setInternal(EPPRegistryInternalHost aInternal)
Sets the internal host attributes.
|
void |
setMaxCheckHost(java.lang.Integer aMaxCheckHost)
Sets maximum number of host names that can be included in a host check
command.
|
void |
setNameRegex(java.util.List aNameRegex)
Sets host name regular expressions.
|
void |
setSupportedStatus(EPPRegistrySupportedStatus aSupportedStatus)
Sets a set of supported host statuses defined in RFC 5732.
|
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
EPPRegistryHost
.public static final java.lang.String ELM_NAME
EPPRegistryHost
.public static final java.lang.String ELM_REGEX
nameRegex
attribute.public static final java.lang.String ELM_MAX_CHECK
maxCheckHost
attribute.public static final java.lang.String ELM_AUTH_INFO_REGEX
authInfoRegex
attribute.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryHost
instance.encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.EPPRegistryHost
instance.EPPEncodeException
- - Unable to encode EPPRegistryHost
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryHost
attributes from the aElement DOM
Element tree.decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode EPPRegistryHost
from.EPPDecodeException
- Unable to decode aElementpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryHost
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRegistryHost
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
EPPRegistryHost
compare.equals
in class java.lang.Object
aObject
- EPPRegistryHost
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 EPPRegistryInternalHost getInternal()
public void setInternal(EPPRegistryInternalHost aInternal)
aInternal
- the internal host attributespublic EPPRegistryExternalHost getExternal()
public void setExternal(EPPRegistryExternalHost aExternal)
aExternal
- the external host attributespublic java.util.List getNameRegex()
List
of name regular expressionspublic void setNameRegex(java.util.List aNameRegex)
aNameRegex
- List
of name regular expressionspublic void addNameRegex(EPPRegistryRegex aRegex)
List
.aRegex
- one name regular expressionspublic java.lang.Integer getMaxCheckHost()
public void setMaxCheckHost(java.lang.Integer aMaxCheckHost)
aMaxCheckHost
- maximum number of host names that can be included in a host
check commandpublic EPPRegistrySupportedStatus getSupportedStatus()
public void setSupportedStatus(EPPRegistrySupportedStatus aSupportedStatus)
aSupportedStatus
- set of supported host statuses defined in RFC 5732public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.