Package com.verisign.epp.codec.whois
Class EPPWhoisInfData
java.lang.Object
com.verisign.epp.codec.whois.EPPWhoisInfData
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Extension to the domain info response to return
additional information that is found in
whois. This will only be returned if the
EPPWhoisInf extension is included
in the domain info command with the flag value
of true.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate anEPPWhoisInfDatainstanceEPPWhoisInfData(String aRegistrar) Create aEPPWhoisInfDatainstance with all of the required attributes.EPPWhoisInfData(String aRegistrar, String aWhoisServer, String aURL) Create aEPPWhoisInfDatainstance with the most common attributesEPPWhoisInfData(String aRegistrar, String aWhoisServer, String aURL, String aIrisServer) Create aEPPWhoisInfDatainstance with all of the attributes. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPWhoisInfData.voidDecode the EPPIdnLangExtCrete componentSets all this instance's data in the given XML documentbooleanimplements a deepEPPWhoisInfDatacompare.Returns the optional registrar IRIS server nameReturns the XML namespace associated with theEPPCodecComponent.Returns the registrar namegetURL()Returns the registrar referral URLReturns the registrar whois server namevoidSets the registrar namevoidsetIrisServer(String aIrisServer) Sets the optional registrar IRIS server namevoidSets the registrar referral URLvoidsetWhoisServer(String aWhoisServer) Sets the registrar whois server name
-
Field Details
-
ELM_NAME
Constant for the whois info extension tag- See Also:
-
-
Constructor Details
-
EPPWhoisInfData
public EPPWhoisInfData()Create anEPPWhoisInfDatainstance -
EPPWhoisInfData
Create aEPPWhoisInfDatainstance with all of the required attributes.- Parameters:
aRegistrar- Sponsoring Registrar name
-
EPPWhoisInfData
Create aEPPWhoisInfDatainstance with the most common attributes- Parameters:
aRegistrar- Sponsoring Registrar nameaWhoisServer- Sponsoring Registrar whois server nameaURL- Sponsoring Registrar referrel URL
-
EPPWhoisInfData
Create aEPPWhoisInfDatainstance with all of the attributes.- Parameters:
aRegistrar- Sponsoring Registrar nameaWhoisServer- Sponsoring Registrar whois server nameaURL- Sponsoring Registrar referrel URLaIrisServer- Optional Sponsoring Registrar IRIS server
-
-
Method Details
-
clone
CloneEPPWhoisInfData.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPWhoisInfData - 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 deepEPPWhoisInfDatacompare. -
getRegistrar
Returns the registrar name- Returns:
- the registrar name if set;
nullotherwise
-
setFlag
Sets the registrar name- Parameters:
aRegistrar- Registrar full name
-
getWhoisServer
Returns the registrar whois server name- Returns:
- the registrar whois server name if set;
nullotherwise
-
setWhoisServer
Sets the registrar whois server name- Parameters:
aWhoisServer- Registrar whois server name
-
getURL
Returns the registrar referral URL- Returns:
- the registrar referral URL if set;
nullotherwise
-
setURL
Sets the registrar referral URL- Parameters:
aURL- Registrar referral URL
-
getIrisServer
Returns the optional registrar IRIS server name- Returns:
- the registrar IRIS server name if set;
nullotherwise
-
setIrisServer
Sets the optional registrar IRIS server name- Parameters:
aIrisServer- Registrar IRIS server name
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-