|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.omg.CORBA.portable.ObjectImpl | +--com.tucows.oxrs.epprtk.rtk.RTKBase | +--com.tucows.oxrs.epprtk.rtk.xml.EPPXMLBase | +--com.liberty.rtk.extension.epprtk.DomainTrademark
This class is used to exchange Domain Trademark data with the Liberty .info Registry. 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.
TrademarkExample
,
EPPDomainCreate
,
EPPDomainInfo
,
EPPDomainUpdate
,
Serialized FormField Summary |
Fields inherited from class com.tucows.oxrs.epprtk.rtk.xml.EPPXMLBase |
auth_type_string_to_type_hash_, transfer_status_to_type_hash_, xml_ |
Fields inherited from class com.tucows.oxrs.epprtk.rtk.RTKBase |
CRLF, DATE_FMT, DEBUG_LEVEL_ONE, DEBUG_LEVEL_THREE, DEBUG_LEVEL_TWO, DEBUG_NONE, RTK_VERSION, UTC_FMT |
Constructor Summary | |
DomainTrademark()
Default constructor |
|
DomainTrademark(java.lang.String xml)
Constructor with Domain Trademark Unspec XML string to automatically parse. |
Method Summary | |
void |
fromXML(java.lang.String xml)
Parses an XML String of trademark data from the extension section of a response from the Registry. |
java.lang.String |
getCountry()
Accessor method for the trademark country data member. |
java.util.Date |
getDate()
Deprecated. Please use getDateAsString() instead. |
java.lang.String |
getDateAsString()
Accessor method for the trademark date data member. |
java.lang.String |
getName()
Accessor method for the trademark name data member. |
java.lang.String |
getNumber()
Accessor method for the trademark number data member. |
java.lang.String |
getOwnerCountry()
Accessor method for the trademark owner's country data member. |
void |
setCountry(java.lang.String value)
Accessor method for the trademark country data member. |
void |
setDate(java.util.Date value)
Deprecated. Please use setDate(String) instead. |
void |
setDate(java.lang.String value)
Accessor method for the trademark date data member. |
void |
setName(java.lang.String value)
Accessor method for the trademark name data member. |
void |
setNumber(java.lang.String value)
Accessor method for the trademark number data member. |
void |
setOwnerCountry(java.lang.String value)
Accessor method for the trademark owner's country data member. |
java.lang.String |
toXML()
Converts the trademark data into XML to be put into the extension section of the request. |
Methods inherited from class com.tucows.oxrs.epprtk.rtk.xml.EPPXMLBase |
addXMLElement, convertListToArray, convertListToStringArray, createDocRoot, createXMLFromDoc, createXMLSnippetFromDoc, getAvailResultFor, getCheckResultFor, getDocumentElement, getElement, getExtensionNode, getNode, getPanData, getTransID, getXML, initAuthInfoStringToTypeHash, initHashes, initTransferStatusToTypeHash, parseGenericCheckResults, parseGenericResult, prepareAuthInfo, prepareExtensionElement, stringListToXML, transferStatusFromString, transferStatusToString |
Methods inherited from class com.tucows.oxrs.epprtk.rtk.RTKBase |
_ids, debug, debug, getDebugLevel, getDebugPrintStream, getEasyProperty, getRTKProperties, setDebugLevel, setDebugLevel, setDebugPrintStream |
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Constructor Detail |
public DomainTrademark()
public DomainTrademark(java.lang.String xml) throws org.openrtk.idl.epprtk.epp_XMLException
xml
- The EPP Domain Info response XML String
org.openrtk.idl.epprtk.epp_XMLException
- if the response XML is not parsable or does not contain the expected datafromXML(String)
Method Detail |
public void setName(java.lang.String value)
value
- Stringpublic void setDate(java.util.Date value)
value
- The new date valuepublic void setDate(java.lang.String value)
value
- java.util.Stringpublic void setCountry(java.lang.String value)
value
- Stringpublic void setOwnerCountry(java.lang.String value)
value
- Stringpublic void setNumber(java.lang.String value)
value
- Stringpublic java.lang.String getName()
public java.util.Date getDate()
public java.lang.String getDateAsString()
public java.lang.String getCountry()
public java.lang.String getOwnerCountry()
public java.lang.String getNumber()
public java.lang.String toXML() throws org.openrtk.idl.epprtk.epp_XMLException
toXML
in interface org.openrtk.idl.epprtk.epp_ExtensionOperations
org.openrtk.idl.epprtk.epp_XMLException
- if required data is missingepp_Unspec
public void fromXML(java.lang.String xml) throws org.openrtk.idl.epprtk.epp_XMLException
fromXML
in interface org.openrtk.idl.epprtk.epp_ExtensionOperations
org.openrtk.idl.epprtk.epp_XMLException
- if the response XML is not parsable or does not contain the expected dataepp_Action
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |