本文整理汇总了Java中javax.wsdl.extensions.ElementExtensible类的典型用法代码示例。如果您正苦于以下问题:Java ElementExtensible类的具体用法?Java ElementExtensible怎么用?Java ElementExtensible使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ElementExtensible类属于javax.wsdl.extensions包,在下文中一共展示了ElementExtensible类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: findExtensibilityElements
import javax.wsdl.extensions.ElementExtensible; //导入依赖的package包/类
/**
* Find all of the extensibility elements with the specified name.
*
* @param extensibleElement WSDL type which extends ElementExtensible.
* @param elementType Name of the extensibility element to find.
* @return List of ExtensibilityElements, may be empty.
*/
@SuppressWarnings("unchecked")
protected static List<ExtensibilityElement> findExtensibilityElements(ElementExtensible extensibleElement,
String elementType) {
List<ExtensibilityElement> elements = new ArrayList<ExtensibilityElement>();
List<ExtensibilityElement> extensibilityElements = extensibleElement.getExtensibilityElements();
if (extensibilityElements != null) {
for (ExtensibilityElement element : extensibilityElements) {
if (element.getElementType().getLocalPart().equalsIgnoreCase(elementType)) {
elements.add(element);
}
}
}
return elements;
}
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:24,代码来源:WsdlUtils.java
示例2: findExtensibilityElements
import javax.wsdl.extensions.ElementExtensible; //导入依赖的package包/类
/**
* Find all of the extensibility elements with the specified name.
*
* @param extensibleElement
* WSDL type which extends ElementExtensible.
* @param elementType
* Name of the extensibility element to find.
* @return List of ExtensibilityElements, may be empty.
*/
@SuppressWarnings( "unchecked" )
protected static List<ExtensibilityElement> findExtensibilityElements( ElementExtensible extensibleElement,
String elementType ) {
List<ExtensibilityElement> elements = new ArrayList<ExtensibilityElement>();
List<ExtensibilityElement> extensibilityElements = extensibleElement.getExtensibilityElements();
if ( extensibilityElements != null ) {
for ( ExtensibilityElement element : extensibilityElements ) {
if ( element.getElementType().getLocalPart().equalsIgnoreCase( elementType ) ) {
elements.add( element );
}
}
}
return elements;
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:26,代码来源:WsdlUtils.java
示例3: getSOAPHeaders
import javax.wsdl.extensions.ElementExtensible; //导入依赖的package包/类
@SuppressWarnings("unchecked")
public static List<javax.wsdl.extensions.soap.SOAPHeader> getSOAPHeaders(
final ElementExtensible eee) {
return CollectionsX.filter(new ArrayList<javax.wsdl.extensions.soap.SOAPHeader>(),
(Collection<Object>) eee.getExtensibilityElements(),
javax.wsdl.extensions.soap.SOAPHeader.class);
}
开发者ID:wso2,项目名称:carbon-business-process,代码行数:8,代码来源:SOAPUtils.java
示例4: findExtensibilityElement
import javax.wsdl.extensions.ElementExtensible; //导入依赖的package包/类
/**
* Find the specified extensibility element, if more than one with the specified name exists in the list,
* return the first one found.
*
* @param extensibleElement WSDL type which extends ElementExtensible.
* @param elementType Name of the extensiblity element to find.
* @return ExtensibilityElement The ExtensiblityElement, if not found return null.
*/
@SuppressWarnings("unchecked")
protected static ExtensibilityElement findExtensibilityElement(ElementExtensible extensibleElement,
String elementType) {
List<ExtensibilityElement> extensibilityElements = extensibleElement.getExtensibilityElements();
if (extensibilityElements != null) {
for (ExtensibilityElement element : extensibilityElements) {
if (element.getElementType().getLocalPart().equalsIgnoreCase(elementType)) {
return element;
}
}
}
return null;
}
开发者ID:icholy,项目名称:geokettle-2.0,代码行数:23,代码来源:WsdlUtils.java
示例5: findExtensibilityElement
import javax.wsdl.extensions.ElementExtensible; //导入依赖的package包/类
/**
* Find the specified extensibility element, if more than one with the specified name exists in the list, return the
* first one found.
*
* @param extensibleElement
* WSDL type which extends ElementExtensible.
* @param elementType
* Name of the extensiblity element to find.
* @return ExtensibilityElement The ExtensiblityElement, if not found return null.
*/
@SuppressWarnings( "unchecked" )
protected static ExtensibilityElement findExtensibilityElement( ElementExtensible extensibleElement,
String elementType ) {
List<ExtensibilityElement> extensibilityElements = extensibleElement.getExtensibilityElements();
if ( extensibilityElements != null ) {
for ( ExtensibilityElement element : extensibilityElements ) {
if ( element.getElementType().getLocalPart().equalsIgnoreCase( elementType ) ) {
return element;
}
}
}
return null;
}
开发者ID:pentaho,项目名称:pentaho-kettle,代码行数:25,代码来源:WsdlUtils.java
示例6: getSOAP11Body
import javax.wsdl.extensions.ElementExtensible; //导入依赖的package包/类
public static javax.wsdl.extensions.soap.SOAPBody getSOAP11Body(final ElementExtensible ee) {
return getFirstExtensibilityElement(ee, javax.wsdl.extensions.soap.SOAPBody.class);
}
开发者ID:wso2,项目名称:carbon-business-process,代码行数:4,代码来源:SOAPUtils.java
示例7: getSOAP12Body
import javax.wsdl.extensions.ElementExtensible; //导入依赖的package包/类
public static javax.wsdl.extensions.soap12.SOAP12Body getSOAP12Body(final ElementExtensible ee) {
return getFirstExtensibilityElement(ee, javax.wsdl.extensions.soap12.SOAP12Body.class);
}
开发者ID:wso2,项目名称:carbon-business-process,代码行数:4,代码来源:SOAPUtils.java
示例8: getSOAPHeaders
import javax.wsdl.extensions.ElementExtensible; //导入依赖的package包/类
@SuppressWarnings("unchecked")
public static List<SOAPHeader> getSOAPHeaders(ElementExtensible eee) {
return CollectionsX.filter(new ArrayList<SOAPHeader>(),
(Collection<Object>) eee.getExtensibilityElements(),
SOAPHeader.class);
}
开发者ID:wso2,项目名称:carbon-business-process,代码行数:7,代码来源:WSDLAwareSOAPProcessor.java
示例9: getSOAPBody
import javax.wsdl.extensions.ElementExtensible; //导入依赖的package包/类
public static SOAPBody getSOAPBody(ElementExtensible ee) {
return getFirstExtensibilityElement(ee, SOAPBody.class);
}
开发者ID:wso2,项目名称:carbon-business-process,代码行数:4,代码来源:SOAPHelper.java
示例10: getFirstExtensibilityElement
import javax.wsdl.extensions.ElementExtensible; //导入依赖的package包/类
public static <T> T getFirstExtensibilityElement(ElementExtensible parent, Class<T> cls) {
Collection<T> ee = CollectionsX.filter(parent.getExtensibilityElements(), cls);
return ee.isEmpty() ? null : ee.iterator().next();
}
开发者ID:wso2,项目名称:carbon-business-process,代码行数:6,代码来源:SOAPHelper.java
示例11: getSOAPHeaders
import javax.wsdl.extensions.ElementExtensible; //导入依赖的package包/类
@SuppressWarnings("unchecked")
public static List<SOAPHeader> getSOAPHeaders(ElementExtensible eee) {
return CollectionsX.filter(new ArrayList<SOAPHeader>(),
(Collection<Object>) eee.getExtensibilityElements(),
SOAPHeader.class);
}
开发者ID:wso2,项目名称:carbon-business-process,代码行数:7,代码来源:WSDLAwareSOAPProcessor.java
示例12: getFirstExtensibilityElement
import javax.wsdl.extensions.ElementExtensible; //导入依赖的package包/类
public static <T> T getFirstExtensibilityElement(final ElementExtensible parent,
final Class<T> cls) {
Collection<T> ee = CollectionsX.filter(parent.getExtensibilityElements(), cls);
return ee.isEmpty() ? null : ee.iterator().next();
}
开发者ID:wso2,项目名称:carbon-business-process,代码行数:8,代码来源:SOAPUtils.java
示例13: getFirstExtensibilityElement
import javax.wsdl.extensions.ElementExtensible; //导入依赖的package包/类
public static <T> T getFirstExtensibilityElement(ElementExtensible parent, Class<T> cls) {
Collection<T> ee = CollectionsX.filter(parent.getExtensibilityElements(), cls);
return ee.isEmpty() ? null : ee.iterator().next();
}
开发者ID:wso2,项目名称:carbon-business-process,代码行数:7,代码来源:WSDLAwareSOAPProcessor.java
注:本文中的javax.wsdl.extensions.ElementExtensible类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论