com.tucows.oxrs.epp0503.rtk.xml
Class EPPPoll
org.omg.CORBA.portable.ObjectImpl
- epp_Action, epp_ActionOperations, epp_Poll, epp_PollOperations, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.Object
addXMLElement , convertListToArray , convertListToStringArray , createDocRoot , createXMLFromDoc , getAvailResultFor , getCheckResultFor , getDocumentElement , getElement , getExtensionNode , getNode , getXML , initAuthInfoStringToTypeHash , initHashes , initTransferStatusToTypeHash , parseGenericCheckResults , parseGenericResult , prepareAuthInfo , prepareCreds , prepareExtensionElement , stringListToXML , transferStatusFromString , transferStatusToString |
fromXML
public void fromXML(String xml)
throws epp_XMLException,
epp_Exception
Parses the poll response XML.
If the response contains the resData tag, EPPPoll will attend to
extract the tag name of the first child tag of resData. This tag
name will be used as a class name. The resulting class must
implement the PollResData interface. By default EPPPoll will
look in the com.tucows.oxrs.epp0503.rtk.xml.poll package for
the parser classes (eg. domaintranfer). If it's not found in there
then the RTK property "poll.parser.extension.packages" will be used
to supply other package names for searching.
So, let's say the first child of resData is "domain:trnData".
Non-alphanumeric characters are stripped out of the tag name and
the parser class "domaintrnData" is searched for first in
"com.tucows.oxrs.epp0503.rtk.xml.poll". It turns out that this class
is found in this location, so searching stops there. EPPPoll
then asks an instance of domaintransfer to "fromXML()" the
XML node. The parser classes will attempt to populate an
epp_PollResData (including the union inside there). This
data is then retrieved and put into m_res_data of epp_PollRsp.
If "domaintrnData" was not found in the default package, then
the RTK property "poll.parser.extension.packages" is loaded. This
must be a comma separated list of packages names in which the class
search will be continued.
- fromXML in interface epp_ActionOperations
Copyright © 2001-2002 - Tucows, Inc., 2003 - LibertyRMS