本文整理了Java中com.sun.xml.ws.binding.WebServiceFeatureList.add()
方法的一些代码示例,展示了WebServiceFeatureList.add()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebServiceFeatureList.add()
方法的具体详情如下:
包路径:com.sun.xml.ws.binding.WebServiceFeatureList
类名称:WebServiceFeatureList
方法名:add
[英]Adds a feature to the list if it's not already added.
[中]
代码示例来源:origin: com.sun.xml.ws/jaxws-rt
/**
* Adds features to the list if it's not already added.
*/
public void addAll(@NotNull Iterable<WebServiceFeature> list) {
for (WebServiceFeature f : list)
add(f);
}
代码示例来源:origin: com.sun.xml.ws/jaxws-rt
public final void addFeature(WebServiceFeature feature) {
if (features == null)
features = new WebServiceFeatureList();
features.add(feature);
}
代码示例来源:origin: com.sun.xml.ws/rt
public final void addFeature(WebServiceFeature feature) {
if (features == null)
features = new WebServiceFeatureList();
features.add(feature);
}
代码示例来源:origin: com.sun.xml.ws/rt
/**
* Adds features to the list if it's not already added.
*/
public void addAll(@NotNull Iterable<WebServiceFeature> list) {
for (WebServiceFeature f : list)
add(f);
}
代码示例来源:origin: javaee/metro-jax-ws
public final void addFeature(WebServiceFeature feature) {
if (features == null)
features = new WebServiceFeatureList();
features.add(feature);
}
代码示例来源:origin: javaee/metro-jax-ws
/**
* Adds features to the list if it's not already added.
*/
public void addAll(@NotNull Iterable<WebServiceFeature> list) {
for (WebServiceFeature f : list)
add(f);
}
代码示例来源:origin: com.sun.xml.ws/jaxws-rt
public void setInputMessageFeatures(@NotNull final QName operationName, WebServiceFeature... newFeatures) {
if (newFeatures != null) {
WebServiceFeatureList featureList = inputMessageFeatures.get(operationName);
if (featureList == null) {
featureList = new WebServiceFeatureList();
}
for (WebServiceFeature f : newFeatures) {
featureList.add(f);
}
inputMessageFeatures.put(operationName, featureList);
}
}
代码示例来源:origin: com.sun.xml.ws/jaxws-rt
public void setOperationFeatures(@NotNull final QName operationName, WebServiceFeature... newFeatures) {
if (newFeatures != null) {
WebServiceFeatureList featureList = operationFeatures.get(operationName);
if (featureList == null) {
featureList = new WebServiceFeatureList();
}
for (WebServiceFeature f : newFeatures) {
featureList.add(f);
}
operationFeatures.put(operationName, featureList);
}
}
代码示例来源:origin: com.sun.xml.ws/jaxws-rt
public void setOutputMessageFeatures(@NotNull final QName operationName, WebServiceFeature... newFeatures) {
if (newFeatures != null) {
WebServiceFeatureList featureList = outputMessageFeatures.get(operationName);
if (featureList == null) {
featureList = new WebServiceFeatureList();
}
for (WebServiceFeature f : newFeatures) {
featureList.add(f);
}
outputMessageFeatures.put(operationName, featureList);
}
}
代码示例来源:origin: javaee/metro-jax-ws
public void setInputMessageFeatures(@NotNull final QName operationName, WebServiceFeature... newFeatures) {
if (newFeatures != null) {
WebServiceFeatureList featureList = inputMessageFeatures.get(operationName);
if (featureList == null) {
featureList = new WebServiceFeatureList();
}
for (WebServiceFeature f : newFeatures) {
featureList.add(f);
}
inputMessageFeatures.put(operationName, featureList);
}
}
代码示例来源:origin: com.sun.xml.ws/rt
public void setOperationFeatures(@NotNull final QName operationName, WebServiceFeature... newFeatures) {
if (newFeatures != null) {
WebServiceFeatureList featureList = operationFeatures.get(operationName);
if (featureList == null) {
featureList = new WebServiceFeatureList();
}
for (WebServiceFeature f : newFeatures) {
featureList.add(f);
}
operationFeatures.put(operationName, featureList);
}
}
代码示例来源:origin: com.sun.xml.ws/rt
public void setOutputMessageFeatures(@NotNull final QName operationName, WebServiceFeature... newFeatures) {
if (newFeatures != null) {
WebServiceFeatureList featureList = outputMessageFeatures.get(operationName);
if (featureList == null) {
featureList = new WebServiceFeatureList();
}
for (WebServiceFeature f : newFeatures) {
featureList.add(f);
}
outputMessageFeatures.put(operationName, featureList);
}
}
代码示例来源:origin: javaee/metro-jax-ws
public void setOutputMessageFeatures(@NotNull final QName operationName, WebServiceFeature... newFeatures) {
if (newFeatures != null) {
WebServiceFeatureList featureList = outputMessageFeatures.get(operationName);
if (featureList == null) {
featureList = new WebServiceFeatureList();
}
for (WebServiceFeature f : newFeatures) {
featureList.add(f);
}
outputMessageFeatures.put(operationName, featureList);
}
}
代码示例来源:origin: com.sun.xml.ws/rt
public void setInputMessageFeatures(@NotNull final QName operationName, WebServiceFeature... newFeatures) {
if (newFeatures != null) {
WebServiceFeatureList featureList = inputMessageFeatures.get(operationName);
if (featureList == null) {
featureList = new WebServiceFeatureList();
}
for (WebServiceFeature f : newFeatures) {
featureList.add(f);
}
inputMessageFeatures.put(operationName, featureList);
}
}
代码示例来源:origin: com.sun.xml.ws/jaxws-rt
public void mergeFeatures(WebServiceFeature[] features, boolean reportConflicts) {
for (WebServiceFeature wsdlFtr : features) {
if (get(wsdlFtr.getClass()) == null) {
add(wsdlFtr);
} else if (reportConflicts) {
if (isEnabled(wsdlFtr.getClass()) != wsdlFtr.isEnabled()) {
LOGGER.warning(ModelerMessages.RUNTIME_MODELER_FEATURE_CONFLICT(
get(wsdlFtr.getClass()), wsdlFtr));
}
}
}
}
代码示例来源:origin: com.sun.xml.ws/rt
public void mergeFeatures(WebServiceFeature[] features, boolean reportConflicts) {
for (WebServiceFeature wsdlFtr : features) {
if (get(wsdlFtr.getClass()) == null) {
add(wsdlFtr);
} else if (reportConflicts) {
if (isEnabled(wsdlFtr.getClass()) != wsdlFtr.isEnabled()) {
LOGGER.warning(ModelerMessages.RUNTIME_MODELER_FEATURE_CONFLICT(
get(wsdlFtr.getClass()), wsdlFtr));
}
}
}
}
代码示例来源:origin: com.sun.xml.ws/jaxws-rt
public void setFaultMessageFeatures(@NotNull final QName operationName, @NotNull final QName messageName, WebServiceFeature... newFeatures) {
if (newFeatures != null) {
final MessageKey key = new MessageKey(operationName, messageName);
WebServiceFeatureList featureList = faultMessageFeatures.get(key);
if (featureList == null) {
featureList = new WebServiceFeatureList();
}
for (WebServiceFeature f : newFeatures) {
featureList.add(f);
}
faultMessageFeatures.put(key, featureList);
}
}
代码示例来源:origin: com.sun.xml.ws/jaxws-rt
@Override
public WebServiceFeatureList createBuiltinFeatureList() {
WebServiceFeatureList r=super.createBuiltinFeatureList();
Boolean mtom = isMTOMEnabled();
if(mtom != null)
r.add(new MTOMFeature(mtom));
return r;
}
代码示例来源:origin: com.sun.xml.ws/rt
@Override
public WebServiceFeatureList createBuiltinFeatureList() {
WebServiceFeatureList r=super.createBuiltinFeatureList();
Boolean mtom = isMTOMEnabled();
if(mtom != null)
r.add(new MTOMFeature(mtom));
return r;
}
代码示例来源:origin: org.seedstack.seed/seed-ws-support-jms
@Override
public WebServiceFeatureList createBuiltinFeatureList() {
WebServiceFeatureList r = super.createBuiltinFeatureList();
Boolean mtom = isMTOMEnabled();
if (mtom != null) {
r.add(new MTOMFeature(mtom));
}
return r;
}
内容来源于网络,如有侵权,请联系作者删除!