com.liberty.rtk.extension.epprtk
Class Trademark
EPPXMLBase
com.liberty.rtk.extension.epprtk.Trademark
- epp_Extension
public class Trademark
extends EPPXMLBase
implements epp_Extension
This class is used to exchange Domain Trademark data with the
Liberty .info/.mobi/.in Registry.
There is not name space to specify which registry it was used for
since in the begining there was only .info. Later on .mobi
introduced and different registry has different settings for
trademark infomation, it has to be optional for some fields in
trademark to adapt to different registry. Here is the list of
required fields:
INFO
MOBI
IN
registrars are free to fill infomation in trademark and it is
registry's responsibility to validate those infomation.
The data should only be used in the OT&E environment and during
the live Sunrise period of the registry's operation. During this
time the Registry will required the trademark data on domain creation.
TrademarkData
, TrademarkExample
, com.tucows.oxrs.epprtk.rtk.xml.EPPDomainCreate
, com.tucows.oxrs.epprtk.rtk.xml.EPPDomainInfo
, com.tucows.oxrs.epprtk.rtk.xml.EPPDomainUpdate
Trademark() - Default constructor
|
Trademark(String xml) - Constructor with Domain Trademark Unspec XML string to automatically parse.
|
Trademark
public Trademark()
Default constructor
Trademark
public Trademark(String xml)
throws epp_XMLException
Constructor with Domain Trademark Unspec XML string to automatically parse.
xml
- The EPP Domain Info response XML String
fromXML
public void fromXML(String xml)
throws epp_XMLException
Parses an XML String of trademark data from the extension section of
a response from the Registry.
Implemented method from org.openrtk.idl.epprtk.epp_Unspec interface.
org.openrtk.idl.epprtk.epp_Action
getCommand
public String getCommand()
getInnerXML
protected String getInnerXML(String xml)
getTld
public String getTld()
getTrademarkData
public TrademarkData getTrademarkData()
Accessor method for the trademark app_date data member.
setCommand
public void setCommand(String command)
setTld
public void setTld(String tld)
toXML
public String toXML()
throws epp_XMLException
Converts the trademark data into XML to be put into the extension
section of the request.
Implemented method from org.openrtk.idl.epprtk.epp_Unspec interface.
org.openrtk.idl.epprtk.epp_Extension
Copyright © 2001-2003 - Afilias Limited