private static BindingType map2BindingType ( String bindingId ) { BindingType type ; if ( SOAP11_BINDING_ID . equals ( bindingId ) ) { type = BindingType . SOAP11 ; } else if ( SOAP12_BINDING_ID . equals ( bindingId ) ) { type = BindingType . SOAP12 ; } else if ( JAXRS_BINDING_ID . equals ( bindingId ) ) { type = BindingType . JAXRS ; } else { type = BindingType . OTHER ; } return type ; }
Maps a bindingId to its corresponding BindingType .