// This class was generated by the JAXRPC SI, do not edit.
// Contents subject to change without notice.
// JAX-RPC Standard Implementation (1.1.2, build R23)
// Generated source version: 1.1.2

package org.tempuri.sample;

import com.sun.xml.rpc.encoding.*;
import com.sun.xml.rpc.encoding.literal.DetailFragmentDeserializer;
import com.sun.xml.rpc.encoding.simpletype.*;
import com.sun.xml.rpc.encoding.soap.SOAPConstants;
import com.sun.xml.rpc.encoding.soap.SOAP12Constants;
import com.sun.xml.rpc.streaming.*;
import com.sun.xml.rpc.wsdl.document.schema.SchemaConstants;
import javax.xml.namespace.QName;

public class PresidentialElectionResults2004PortType_whoisgoingtobepresident_RequestStruct_SOAPSerializer extends ObjectSerializerBase implements Initializable {
    
    public PresidentialElectionResults2004PortType_whoisgoingtobepresident_RequestStruct_SOAPSerializer(QName type, boolean encodeType, boolean isNullable, String encodingStyle) {
        super(type, encodeType, isNullable, encodingStyle);
    }
    
    public void initialize(InternalTypeMappingRegistry registry) throws Exception {
    }
    
    public Object doDeserialize(SOAPDeserializationState state, XMLReader reader,
        SOAPDeserializationContext context) throws Exception {
        org.tempuri.sample.PresidentialElectionResults2004PortType_whoisgoingtobepresident_RequestStruct instance = new org.tempuri.sample.PresidentialElectionResults2004PortType_whoisgoingtobepresident_RequestStruct();
        Object member;
        boolean isComplete = true;
        QName elementName;
        
        reader.nextElementContent();
        XMLReaderUtil.verifyReaderState(reader, XMLReader.END);
        return (isComplete ? (Object)instance : (Object)state);
    }
    
    public void doSerializeAttributes(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception {
        org.tempuri.sample.PresidentialElectionResults2004PortType_whoisgoingtobepresident_RequestStruct instance = (org.tempuri.sample.PresidentialElectionResults2004PortType_whoisgoingtobepresident_RequestStruct)obj;
        
    }
    
    public void doSerializeInstance(Object obj, XMLWriter writer, SOAPSerializationContext context) throws Exception {
        org.tempuri.sample.PresidentialElectionResults2004PortType_whoisgoingtobepresident_RequestStruct instance = (org.tempuri.sample.PresidentialElectionResults2004PortType_whoisgoingtobepresident_RequestStruct)obj;
        
    }
}
