Package com.verisign.epp.codec.whois
Class EPPWhoisInf
java.lang.Object
com.verisign.epp.codec.whois.EPPWhoisInf
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Extension to the domain info command to specify whether or not the whois info
response data defined in
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.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate an EPPWhoisInf instanceEPPWhoisInf(boolean aFlag) Create a EPPWhoisInf intance with the flag valueEPPWhoisInf(Boolean aFlag) Create a EPPWhoisInf intance with the flag value -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPWhoisInf.voidDecode the EPPIdnLangExtCrete componentSets all this instance's data in the given XML documentbooleanimplements a deepEPPWhoisInfcompare.getFlag()Returns the flag valueReturns the XML namespace associated with theEPPCodecComponent.voidSets the flag Code
-
Field Details
-
ELM_NAME
Constant for the whois info extension tag- See Also:
-
-
Constructor Details
-
EPPWhoisInf
public EPPWhoisInf()Create an EPPWhoisInf instance -
EPPWhoisInf
public EPPWhoisInf(boolean aFlag) Create a EPPWhoisInf intance with the flag value- Parameters:
aFlag-trueto get theEPPWhoisInfDataextension in the response;falseotherwise
-
EPPWhoisInf
Create a EPPWhoisInf intance with the flag value- Parameters:
aFlag-trueto get theEPPWhoisInfDataextension in the response;falseotherwise
-
-
Method Details
-
clone
CloneEPPWhoisInf.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPWhoisInf - Throws:
CloneNotSupportedException- standard Object.clone exception
-
encode
Sets all this instance's data in the given XML document- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- a DOM Document to attach data to.- Returns:
- The root element of this component.
- Throws:
EPPEncodeException- Thrown if any errors prevent encoding.
-
decode
Decode the EPPIdnLangExtCrete component- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Element to decode from- Throws:
EPPDecodeException- On decoding error
-
equals
implements a deepEPPWhoisInfcompare. -
getFlag
Returns the flag value- Returns:
- the flag value if set;
nullotherwise
-
setFlag
Sets the flag Code- Parameters:
aFlag- The flag value
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-