public class RegistryData extends WhoisRecordBase
Each domain name has potentially up to 2 whois record, one from the registry and one from the registrar. WhoisRecord(the root element) represents the datafrom the registrar and registryData represents whois data collected from the whois registry. Note that registryData and WhoisRecord has almost identical data structures. Certain gtlds(eg. most of.com and .net) have both types of whois data while most cctlds have only registryData. Hence it's recommended to look under both WhoisRecord and registryData when searching for a piece of information(eg. registrant, createdDate).
Nested Element Summary | |
| administrativeContact The administrative contact is the person in charge of the administrative dealings pertaining to the company owning the domain name. |
| audi audit contains audit information for the whois record |
| billingContact the billing contact is the individual who is authorized by the registrant to receive the invoice for domain name registration and domain name renewal fees. |
xsd:dateTime | createdDate when the domain name was first registered/created according to the whois registry. |
xsd:dateTime | createdDateNormalized normalized version of the createdDate field. |
xsd:string | domainName |
xsd:dateTime | expiresDate when the domain name will expire according to the whois registry |
xsd:dateTime | expiresDateNormalized normalized version of the expiresDate field. |
xsd:string | footer the footer of the whois record is part of the raw after the last identifiable field. |
xsd:string | header the header of the whois record is part of the raw text up until the first identifiable field. |
| nameServers A name server is a computer server that hosts a network service for providing responses to queries against a directory service. |
xsd:integer |
For example, a parseCode of 3 (binary: 11) means that the only non-empty fields are createdDate and expiresDate. a parseCode of 8(binary:1000) means that the only non-empty field is registrarName. Note: the fields represented by the parseCode do not represent all fields exist in the whois record. |
xsd:string | rawText the complete raw text of the whois record |
xsd:string | referralURL URL of the whois registrar. |
| registrant The domain name registrant is the owner of the domain name. registrant is the owner of the domain name. They are the ones who are responsible for keeping the entire WHOIS contact information up to date. |
xsd:string |
registrarIANAID the registrar id assigned by ICANN on this page http://www.iana.org/assignments/registrar-ids/registrar-ids.xhtml |
xsd:string | registrarName A domain name registrar is an organization or commercial entity that manages the reservation of Internet domain names. |
xsd:string | status |
xsd:string | strippedText the stripped text of the whois record includes part of the raw excluding header and footer, this should only include identifiable fields. |
| technicalContact The technical contact is the person in charge of all technical questions regarding a particular domain name. |
xsd:dateTime | updatedDate when the whois data was updated according to the whois registry |
xsd:dateTime | updatedDateNormalized normalized version of the updatedDate field. |
xsd:string | whoisServer The server that hosts this domain's whois information. |
| zoneContact The domain technical/zone contact is the person who tends to the technical aspects of maintaining the domain's name server and resolver software, and database files. |
<xsd:element name="registryData"> <xsd:complexType> <xsd:sequence> <xsd:element name="createdDate" type="xsd:dateTime"> </xsd:element> <xsd:element name="updatedDate" type="xsd:dateTime"> </xsd:element> <xsd:element name="expiresDate" type="xsd:dateTime"> </xsd:element> <xsd:element name="registrant"> <xsd:complexType> <xsd:sequence> <xsd:element name="name" type="xsd:string"/> <xsd:element name="organization" type="xsd:string"/> <xsd:element name="street1" type="xsd:string"/> <xsd:element name="street2" type="xsd:string"/> <xsd:element name="city" type="xsd:string"/> <xsd:element name="state" type="xsd:string"/> <xsd:element name="postalCode" type="xsd:int"/> <xsd:element name="rawText" type="xsd:string"/> <xsd:element name="unparsable" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="administrativeContact"> <xsd:complexType> <xsd:sequence> <xsd:element name="name" type="xsd:string"/> <xsd:element name="organization" type="xsd:string"/> <xsd:element name="street1" type="xsd:string"/> <xsd:element name="street2" type="xsd:string"/> <xsd:element name="city" type="xsd:string"/> <xsd:element name="state" type="xsd:string"/> <xsd:element name="postalCode" type="xsd:int"/> <xsd:element name="country" type="xsd:string"/> <xsd:element name="email" type="xsd:string"/> <xsd:element name="telephone" type="xsd:string"/> <xsd:element name="rawText" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="billingContact"> <xsd:complexType> <xsd:sequence> <xsd:element name="name" type="xsd:string"/> <xsd:element name="organization" type="xsd:string"/> <xsd:element name="street1" type="xsd:string"/> <xsd:element name="street2" type="xsd:string"/> <xsd:element name="city" type="xsd:string"/> <xsd:element name="state" type="xsd:string"/> <xsd:element name="postalCode" type="xsd:int"/> <xsd:element name="country" type="xsd:string"/> <xsd:element name="email" type="xsd:string"/> <xsd:element name="telephone" type="xsd:string"/> <xsd:element name="rawText" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="technicalContact"> <xsd:complexType> <xsd:sequence> <xsd:element name="organization" type="xsd:string"/> <xsd:element name="street1" type="xsd:string"/> <xsd:element name="street2" type="xsd:string"/> <xsd:element name="city" type="xsd:string"/> <xsd:element name="state" type="xsd:string"/> <xsd:element name="postalCode" type="xsd:int"/> <xsd:element name="country" type="xsd:string"/> <xsd:element name="email" type="xsd:string"/> <xsd:element name="telephone" type="xsd:string"/> <xsd:element name="fax" type="xsd:string"/> <xsd:element name="rawText" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="zoneContact"> <xsd:complexType> <xsd:sequence> <xsd:element name="name" type="xsd:string"/> <xsd:element name="organization" type="xsd:string"/> <xsd:element name="street1" type="xsd:string"/> <xsd:element name="street2" type="xsd:string"/> <xsd:element name="city" type="xsd:string"/> <xsd:element name="state" type="xsd:string"/> <xsd:element name="postalCode" type="xsd:int"/> <xsd:element name="country" type="xsd:string"/> <xsd:element name="email" type="xsd:string"/> <xsd:element name="telephone" type="xsd:string"/> <xsd:element name="rawText" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="domainName" type="xsd:string"/> <xsd:element name="nameServers"> <xsd:complexType> <xsd:sequence> <xsd:element name="rawText" type="xsd:string"/> <xsd:element name="hostNames"> <xsd:complexType> <xsd:sequence> <xsd:element maxOccurs="unbounded" name="Address" type="xsd:string"/> </xsd:sequence> <xsd:attribute name="class" type="xsd:string"/> </xsd:complexType> </xsd:element> <xsd:element name="ips"> <xsd:complexType> <xsd:attribute name="class" type="xsd:string"/> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="status" type="xsd:string"/> <xsd:element name="rawText" type="xsd:string"> </xsd:element> <xsd:element name="parseCode" type="xsd:integer"/> <xsd:element name="header" type="xsd:string"> </xsd:element> <xsd:element name="strippedText" type="xsd:string"> </xsd:element> <xsd:element name="footer" type="xsd:string"> </xsd:element> <xsd:element name="audit"> <xsd:complexType> <xsd:sequence> <xsd:element name="createdDate" type="xsd:string"> </xsd:element> <xsd:element name="updatedDate" type="xsd:string"> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="registrarName" type="xsd:string"> </xsd:element> <xsd:element name="whoisServer" type="xsd:string"> </xsd:element> <xsd:element name="referralURL" type="xsd:string"> </xsd:element> <xsd:element name="createdDateNormalized" type="xsd:dateTime"> </xsd:element> <xsd:element name="updatedDateNormalized" type="xsd:dateTime"> </xsd:element> <xsd:element name="expiresDateNormalized" type="xsd:dateTime"> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element>
Constructor and Description |
---|
RegistryData() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Network> |
getNetworks() |
java.lang.String |
getReferralURL() |
java.lang.String |
getWhoisServer() |
void |
setNetworks(java.util.List<Network> networks) |
void |
setReferralURL(java.lang.String referralURL) |
void |
setWhoisServer(java.lang.String whoisServer) |
addNameServers, getAdministrativeContact, getAudit, getBillingContact, getCreatedDate, getCreatedDateNormalized, getCustomField1Name, getCustomField1Value, getCustomField2Name, getCustomField2Value, getCustomField3Name, getCustomField3Value, getCustomField4Name, getCustomField4Value, getCustomField5Name, getCustomField5Value, getDataError, getDataErrorFlag, getDomainName, getExpiresDate, getExpiresDateNormalized, getFooter, getHeader, getId, getNameServers, getParseCode, getRawText, getRegistrant, getRegistrarIANAID, getRegistrarName, getStatus, getStrippedText, getTechnicalContact, getUnparsable, getUpdatedDate, getUpdatedDateNormalized, getZoneContact, setAdministrativeContact, setAudit, setBillingContact, setCreatedDate, setCreatedDateNormalized, setCustomField1Name, setCustomField1Value, setCustomField2Name, setCustomField2Value, setCustomField3Name, setCustomField3Value, setCustomField4Name, setCustomField4Value, setCustomField5Name, setCustomField5Value, setDataErrorFlag, setDomainName, setExpiresDate, setExpiresDateNormalized, setFooter, setHeader, setId, setNameServers, setParseCode, setRawText, setRegistrant, setRegistrarIANAID, setRegistrarName, setStatus, setStrippedText, setTechnicalContact, setUnparsable, setUpdatedDate, setUpdatedDateNormalized, setZoneContact
public java.lang.String getWhoisServer()
getWhoisServer
in class WhoisRecordBase
public void setWhoisServer(java.lang.String whoisServer)
setWhoisServer
in class WhoisRecordBase
public java.lang.String getReferralURL()
getReferralURL
in class WhoisRecordBase
public void setReferralURL(java.lang.String referralURL)
setReferralURL
in class WhoisRecordBase
public java.util.List<Network> getNetworks()
public void setNetworks(java.util.List<Network> networks)