com.tucows.oxrs.epp0402.rtk.xml.poll

Interface PollResData

Known Implementing Classes:
contacttrnData, domaintrnData

public interface PollResData

This interface is used by EPPPoll to instantiate a Poll parser class without having to rely on a particular classname. Implementors of this class have to be able to populate an epp_PollResData structure (via fromXML()) and should be able to pass this data back (via getPollResData()).

Method Summary

void
fromXML(Node res_data_sub_node)
Converts a poll response data sub node (and its children nodes to the appropriate epp struct depending on the implementing class.
epp_PollResData
getPollResData()
Returns the epp_PollResData that was populated in the call to "fromXML()".

Method Details

fromXML

public void fromXML(Node res_data_sub_node)
            throws epp_XMLException
Converts a poll response data sub node (and its children nodes to the appropriate epp struct depending on the implementing class. An example of a res data subnode would be "domain:transfer".

getPollResData

public epp_PollResData getPollResData()
Returns the epp_PollResData that was populated in the call to "fromXML()".

Copyright © 2001-2002 - Tucows, Inc., 2003 - LibertyRMS