public abstract class CountryRequest extends TelesalesRequest
Constructor and Description |
---|
CountryRequest()
Creates a new request handler.
|
Modifier and Type | Method and Description |
---|---|
protected void | unmarshallCountry(Country country, org.w3c.dom.Element countryElement)
Unmarshalls the Country element.
|
protected StateOrProvince | unmarshallStateOrProvince(org.w3c.dom.Element stateElement)
Unmarshalls the StateOrProvince element.
|
protected void | unmarshallStatesOrProvinces(org.w3c.dom.Element statesElement, Country country)
Unmarshalls the StatesOrProvinces element.
|
protected void | updateModel(java.lang.Object databean)
Update the model (com.ibm.commerce.telesales.model.TelesalesModelManager) prior to the UI being notified of the completion of the service request.
|
protected void updateModel(java.lang.Object databean)
protected void unmarshallCountry(Country country, org.w3c.dom.Element countryElement)
<Country> <CountryCode>US</CountryCode> <CountryName>United States</CountryName> <StatesOrProvinces> <!-- unmarshalled by unmarshallStatesOrProvinces() --> . . </StatesOrProvinces> <!-- unmarshalled by unmarshallUserData() --> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </Country>
protected void unmarshallStatesOrProvinces(org.w3c.dom.Element statesElement, Country country)
<StatesOrProvinces> <StateOrProvince> <!-- unmarshalled by unmarshallStateOrProvince() --> . . </StateOrProvince> . . </StatesOrProvinces>
protected StateOrProvince unmarshallStateOrProvince(org.w3c.dom.Element stateElement)
<StateOrProvince> <StateOrProvinceCode>AL</StateOrProvinceCode> <StateOrProvinceName>Alabama</StateOrProvinceName> <wc:UserData> <!-- optional --> <wc:UserDataField name="name">value</wc:UserDataField> . </wc:UserData> </StateOrProvince>