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 Form| Modifier 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 EPPCodecComponentclone in class java.lang.ObjectEPPWhoisInfjava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - 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 EPPCodecComponentaElement - EPPDecodeExceptionpublic boolean equals(java.lang.Object aObject)
EPPWhoisInf compare.equals in class java.lang.ObjectaObject - 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 EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.