org.codehaus.enunciate.contract.jaxws.WebFault.getTargetNamespace()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(79)

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

WebFault.getTargetNamespace介绍

[英]Gets the target namespace of the implicit fault bean, or null if this web fault defines an explicit fault info bean.
[中]获取隐式错误bean的目标命名空间,如果此web错误定义了显式错误信息bean,则为null。

代码示例

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

public String getTargetNamespace() {
 return webFault.getTargetNamespace();
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-full

/**
 * The qname reference to the fault info.
 *
 * @return The qname reference to the fault info.
 */
public QName getParticleQName() {
 if (this.explicitFaultBean != null) {
  return new QName(this.explicitFaultBean.getNamespace(), this.explicitFaultBean.getName());
 }
 else {
  return new QName(getTargetNamespace(), getElementName());
 }
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

/**
 * The qname reference to the fault info.
 *
 * @return The qname reference to the fault info.
 */
public QName getParticleQName() {
 ElementDeclaration faultBean = findExplicitFaultBean();
 if (faultBean != null) {
  return new QName(faultBean.getNamespace(), faultBean.getName());
 }
 else {
  return new QName(getTargetNamespace(), getElementName());
 }
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-full

String faultElementNamespace = webFault.isImplicitSchemaElement() ? webFault.getTargetNamespace() : webFault.getExplicitFaultBean().getNamespace();
this.generatedAnnotations.fault2WebFault.put(faultClass, new WebFaultAnnotation(faultElementName, faultElementNamespace, faultBean, implicit));

代码示例来源:origin: org.codehaus.enunciate/enunciate-xfire-client

String faultElementNamespace = explicitFaultBean == null ? webFault.getTargetNamespace() : explicitFaultBean.getNamespace();
this.generatedAnnotations.fault2WebFault.put(faultClass, new WebFaultAnnotation(faultElementName, faultElementNamespace, faultBean, implicit));

相关文章