javax.wsdl.Binding.getExtensibilityElements()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(5.5k)|赞(0)|评价(0)|浏览(137)

本文整理了Java中javax.wsdl.Binding.getExtensibilityElements()方法的一些代码示例,展示了Binding.getExtensibilityElements()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Binding.getExtensibilityElements()方法的具体详情如下:
包路径:javax.wsdl.Binding
类名称:Binding
方法名:getExtensibilityElements

Binding.getExtensibilityElements介绍

暂无

代码示例

代码示例来源:origin: wsdl4j/wsdl4j

List extElements = binding.getExtensibilityElements();

代码示例来源:origin: org.apache.cxf/cxf-rt-frontend-jaxws

String bindingID = null;
List<? extends ExtensibilityElement> extensions
  = CastUtils.cast(port.getBinding().getExtensibilityElements());
if (!extensions.isEmpty()) {
  ExtensibilityElement e = extensions.get(0);

代码示例来源:origin: org.apache.openejb/openejb-webservices

protected SOAPBinding getSOAPBinding(final Binding binding) {
    SOAPBinding soapBinding = null;
    final List extensibilityElements = binding.getExtensibilityElements();
    for (int i = 0; i < extensibilityElements.size(); i++) {
      final Object element = extensibilityElements.get(i);
      if (element instanceof SOAPBinding) {
        soapBinding = (SOAPBinding) element;
      }
    }
    return soapBinding;
  }
}

代码示例来源:origin: org.apache.tomee/openejb-webservices

protected SOAPBinding getSOAPBinding(Binding binding) {
    SOAPBinding soapBinding = null;
    List extensibilityElements = binding.getExtensibilityElements();
    for (int i = 0; i < extensibilityElements.size(); i++) {
      Object element = extensibilityElements.get(i);
      if (element instanceof SOAPBinding) {
        soapBinding = (SOAPBinding) element;
      }
    }
    return soapBinding;
  }
}

代码示例来源:origin: org.apache.geronimo.ext.openejb/openejb-webservices

protected SOAPBinding getSOAPBinding(Binding binding) {
    SOAPBinding soapBinding = null;
    List extensibilityElements = binding.getExtensibilityElements();
    for (int i = 0; i < extensibilityElements.size(); i++) {
      Object element = extensibilityElements.get(i);
      if (element instanceof SOAPBinding) {
        soapBinding = (SOAPBinding) element;
      }
    }
    return soapBinding;
  }
}

代码示例来源:origin: org.apache.geronimo.modules/geronimo-webservices

protected SOAPBinding getSOAPBinding(Binding binding) {
    SOAPBinding soapBinding = null;
    List extensibilityElements = binding.getExtensibilityElements();
    for (int i = 0; i < extensibilityElements.size(); i++) {
      Object element = extensibilityElements.get(i);
      if (element instanceof SOAPBinding) {
        soapBinding = (SOAPBinding) element;
      }
    }
    return soapBinding;
  }
}

代码示例来源:origin: apache/cxf

private BindingType findCorbaBinding(Binding binding) {
    List<?> list = binding.getExtensibilityElements();
    for (int i = 0; i < list.size(); i++) {
      if (list.get(i) instanceof BindingType) {
        return (BindingType) list.get(i);
      }
    }
    throw new RuntimeException("[InterfaceVisitor] Couldn't find Corba binding in Binding "
                  + binding.getQName());
  }
}

代码示例来源:origin: apache/cxf

public static boolean isSOAPBinding(Binding binding) {
  for (Object obj : binding.getExtensibilityElements()) {
    if (isSOAPBinding(obj)) {
      return true;
    }
  }
  return false;
}

代码示例来源:origin: apache/cxf

public static boolean isSOAPBinding(Binding binding) {
  for (Object obj : binding.getExtensibilityElements()) {
    if (isSOAPBinding(obj)) {
      return true;
    }
  }
  return false;
}

代码示例来源:origin: org.apache.cxf/cxf-rt-bindings-soap

public static boolean isSOAPBinding(Binding binding) {
  for (Object obj : binding.getExtensibilityElements()) {
    if (isSOAPBinding(obj)) {
      return true;
    }
  }
  return false;
}

代码示例来源:origin: org.apache.cxf/cxf-rt-core

public static boolean isSOAPBinding(Binding binding) {
  for (Object obj : binding.getExtensibilityElements()) {
    if (isSOAPBinding(obj)) {
      return true;
    }
  }
  return false;
}

代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs

public static boolean isSOAPBinding(Binding binding) {
  for (Object obj : binding.getExtensibilityElements()) {
    if (isSOAPBinding(obj)) {
      return true;
    }
  }
  return false;
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

public String getBindingTransport() {
  if (binding != null) {
    for (Object ext : binding.getExtensibilityElements()) {
      if (ext instanceof SOAPBinding) {
        return ((SOAPBinding)ext).getTransportURI();
      }
    }
  }
  // if no binding is explicitly specified by the user then default to http
  return "http://schemas.xmlsoap.org/soap/http";
}

代码示例来源:origin: org.objectweb.celtix/celtix-common

public String getBindingStyle(Binding binding) {
  Iterator ite = binding.getExtensibilityElements().iterator();
  while (ite.hasNext()) {
    Object obj = ite.next();
    if (obj instanceof SOAPBinding) {
      return ((SOAPBinding)obj).getStyle();
    }
  }
  return "";
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-binding-ws

public String getBindingTransport() {
  if (binding != null) {
    for (Object ext : binding.getExtensibilityElements()) {
      if (ext instanceof SOAPBinding) {
        return ((SOAPBinding)ext).getTransportURI();
      }
    }
  }
  // if no binding is explicitly specified by the user then default to http
  return "http://schemas.xmlsoap.org/soap/http";
}

代码示例来源:origin: apache/cxf

public static String getBindingStyle(Binding binding) {
  for (Object obj : binding.getExtensibilityElements()) {
    if (isSOAPBinding(obj)) {
      return getSoapBinding(obj).getStyle();
    }
  }
  return "";
}

代码示例来源:origin: apache/cxf

public static String getBindingStyle(Binding binding) {
  for (Object obj : binding.getExtensibilityElements()) {
    if (isSOAPBinding(obj)) {
      return getSoapBinding(obj).getStyle();
    }
  }
  return "";
}

代码示例来源:origin: org.apache.cxf/cxf-rt-core

public static String getBindingStyle(Binding binding) {
  for (Object obj : binding.getExtensibilityElements()) {
    if (isSOAPBinding(obj)) {
      return getSoapBinding(obj).getStyle();
    }
  }
  return "";
}

代码示例来源:origin: org.apache.cxf/cxf-bundle-jaxrs

public static String getBindingStyle(Binding binding) {
  for (Object obj : binding.getExtensibilityElements()) {
    if (isSOAPBinding(obj)) {
      return getSoapBinding(obj).getStyle();
    }
  }
  return "";
}

代码示例来源:origin: org.apache.cxf/cxf-rt-bindings-soap

public static String getBindingStyle(Binding binding) {
  for (Object obj : binding.getExtensibilityElements()) {
    if (isSOAPBinding(obj)) {
      return getSoapBinding(obj).getStyle();
    }
  }
  return "";
}

相关文章