public static AbstractBinding getSerializer(String style, String use)
{
if (style.equals(SoapConstants.STYLE_WRAPPED) && use.equals(SoapConstants.USE_LITERAL))
{
return new WrappedBinding();
}
else if (style.equals(SoapConstants.STYLE_DOCUMENT)
&& use.equals(SoapConstants.USE_LITERAL))
{
return new DocumentBinding();