public class EPPWhoisInf extends java.lang.Object implements EPPCodecComponent
EPPWhoisInfData
is desired. There is a
single flag attribute that specifies the preference. A flag attribute value
of false
has the same result of not including the
EPPWhoisInfo
extension.EPPWhoisInfData
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_NAME
Constant for the whois info extension tag
|
Constructor and Description |
---|
EPPWhoisInf()
Create an EPPWhoisInf instance
|
EPPWhoisInf(boolean aFlag)
Create a EPPWhoisInf intance with the flag value
|
EPPWhoisInf(java.lang.Boolean aFlag)
Create a EPPWhoisInf intance with the flag value
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPWhoisInf . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPIdnLangExtCrete component
|
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Sets all this instance's data in the given XML document
|
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPWhoisInf compare. |
java.lang.Boolean |
getFlag()
Returns the flag value
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
void |
setFlag(java.lang.Boolean aFlag)
Sets the flag Code
|
public static final java.lang.String ELM_NAME
public EPPWhoisInf()
public EPPWhoisInf(boolean aFlag)
aFlag
- true
to get the EPPWhoisInfData
extension in the response;false
otherwisepublic EPPWhoisInf(java.lang.Boolean aFlag)
aFlag
- true
to get the EPPWhoisInfData
extension in the response;false
otherwisepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPWhoisInf
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPWhoisInf
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- a DOM Document to attach data to.EPPEncodeException
- Thrown if any errors prevent encoding.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
decode
in interface EPPCodecComponent
aElement
- EPPDecodeException
public boolean equals(java.lang.Object aObject)
EPPWhoisInf
compare.equals
in class java.lang.Object
aObject
- EPPWhoisInf
instance to compare withpublic java.lang.Boolean getFlag()
null
otherwisepublic void setFlag(java.lang.Boolean aFlag)
aFlag
- The flag valuepublic java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.