public void marshall(ServiceFilter serviceFilter, ProtocolMarshaller protocolMarshaller) {

        if (serviceFilter == null) {
            throw new SdkClientException("Invalid argument passed to marshall(...)");
        }

        try {
            protocolMarshaller.marshall(serviceFilter.getName(), NAME_BINDING);
            protocolMarshaller.marshall(serviceFilter.getValues(), VALUES_BINDING);
            protocolMarshaller.marshall(serviceFilter.getCondition(), CONDITION_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( ServiceFilter serviceFilter , ProtocolMarshaller protocolMarshaller ) { if ( serviceFilter == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( serviceFilter . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( serviceFilter . getValues ( ) , VALUES_BINDING ) ; protocolMarshaller . marshall ( serviceFilter . getCondition ( ) , CONDITION_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.