com.tucows.oxrs.epprtk.rtk.xml
Class EPPContactBase
org.omg.CORBA.portable.ObjectImpl
public abstract class EPPContactBase
Base abstract class for the Contact classes. Defines common methods and data members
used by all or most Contact classes.
protected static Hashtable | contact_address_type_hash_ - Hashtable to allow for conversion from String contact address type
(aka postal info type) to epp_ContactPostalInfoType.
|
protected static Hashtable | contact_status_hash_ - Hashtable to allow for conversion from String contact status to
epp_ContactStatusType.
|
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 |
contact_address_type_hash_
protected static Hashtable contact_address_type_hash_
Hashtable to allow for conversion from String contact address type
(aka postal info type) to epp_ContactPostalInfoType.
EPP IDL epp_contact.idl for the definition of the epp_ContactPostalInfoType enum
contact_status_hash_
protected static Hashtable contact_status_hash_
Hashtable to allow for conversion from String contact status to
epp_ContactStatusType.
EPP IDL epp_contact.idl for the definition of the epp_ContactStatusType enum
EPPContactBase
protected EPPContactBase()
Default Constructor.
EPPContactBase
protected EPPContactBase(String xml)
Constructor with the XML String.
addressToXML
protected Element addressToXML(Document doc,
String tag_name,
epp_ContactNameAddress name_address)
throws epp_XMLException
Converts a given epp_ContactNameAddress to an XML Element.
If any of the data members of the epp_ContactNameAddress are null
then they are not included in the Element. If they are empty Strings
then they are included as empty Elements.
- Element the resulting contact name/address Element
contactStatusFromString
public static epp_ContactStatusType contactStatusFromString(String s)
Convenience method to convert a string status to an instance of
epp_ContactStatusType.
contactStatusToString
public static String contactStatusToString(epp_ContactStatusType status_type)
Convenience method to get a contact status string from an
epp_ContactStatusType object.
initContactAddressTypeHash
public static void initContactAddressTypeHash()
initContactStatusHash
public static void initContactStatusHash()
setCommonAttributes
protected void setCommonAttributes(Element command)
Sets the common XML attributes required for the contact object (eg. xmlns:contact, xsi:schemaLocation)
Copyright © 2001-2002 - Tucows, Inc., 2003 - LibertyRMS