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

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

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

WebFault.getSimpleName介绍

暂无

代码示例

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

/**
 * The part name of this web fault as it would appear in wsdl.
 *
 * @return The part name of this web fault as it would appear in wsdl.
 */
public String getPartName() {
 return getSimpleName();
}

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

/**
 * The part name of this web fault as it would appear in wsdl.
 *
 * @return The part name of this web fault as it would appear in wsdl.
 */
public String getPartName() {
 return getSimpleName();
}

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

/**
 * The message name of this fault.
 *
 * @return The message name of this fault.
 */
public String getMessageName() {
 return getSimpleName();
}

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

/**
 * The message name of this fault.
 *
 * @return The message name of this fault.
 */
public String getMessageName() {
 return getSimpleName();
}

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

/**
 * The simple name for client-side code generation.
 *
 * @return The simple name for client-side code generation.
 */
public String getClientSimpleName() {
 String clientSimpleName = getSimpleName();
 ClientName clientName = getAnnotation(ClientName.class);
 if (clientName != null) {
  clientSimpleName = clientName.value();
 }
 return clientSimpleName;
}

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

/**
 * The element name of the implicit web fault bean, or null if this isn't an implicit web fault.
 *
 * @return The element name of the implicit web fault, or null.
 */
public String getElementName() {
 String name = null;
 if (isImplicitSchemaElement()) {
  name = getSimpleName();
  if ((annotation != null) && (annotation.name() != null) && (!"".equals(annotation.name()))) {
   name = annotation.name();
  }
 }
 return name;
}

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

/**
 * The element name of the implicit web fault bean, or null if this isn't an implicit web fault.
 *
 * @return The element name of the implicit web fault, or null.
 */
public String getElementName() {
 String name = null;
 if (isImplicitSchemaElement()) {
  name = getSimpleName();
  if ((annotation != null) && (annotation.name() != null) && (!"".equals(annotation.name()))) {
   name = annotation.name();
  }
 }
 return name;
}

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

/**
 * Adds any type definitions referenced by a web method.
 *
 * @param webMethod The web method.
 */
protected void addReferencedTypeDefinitions(WebMethod webMethod) {
 REFERENCE_STACK.get().addFirst("\"see also\" annotation");
 addSeeAlsoTypeDefinitions(webMethod);
 REFERENCE_STACK.get().removeFirst();
 WebResult result = webMethod.getWebResult();
 REFERENCE_STACK.get().addFirst("return type");
 addReferencedTypeDefinitions(result.isAdapted() ? result.getAdapterType() : result.getType());
 REFERENCE_STACK.get().removeFirst();
 for (WebParam webParam : webMethod.getWebParameters()) {
  REFERENCE_STACK.get().addFirst("parameter " + webParam.getSimpleName());
  addReferencedTypeDefinitions(webParam.isAdapted() ? webParam.getAdapterType() : webParam.getType());
  REFERENCE_STACK.get().removeFirst();
 }
 for (WebFault webFault : webMethod.getWebFaults()) {
  REFERENCE_STACK.get().addFirst("thrown fault " + webFault.getSimpleName());
  addReferencedTypeDefinitions(webFault);
  REFERENCE_STACK.get().removeFirst();
 }
}

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

/**
 * The qualified name of the implicit fault bean of this web fault, or null if this web fault
 * does not define an implicit faul bean.
 *
 * @return The qualified name of the implicit fault bean of this web fault.
 */
public String getImplicitFaultBeanQualifiedName() {
 String faultBean = null;
 if (isImplicitSchemaElement()) {
  faultBean = getPackage().getQualifiedName() + ".jaxws." + getSimpleName() + "Bean";
  if ((annotation != null) && (annotation.faultBean() != null) && (!"".equals(annotation.faultBean()))) {
   faultBean = annotation.faultBean();
  }
 }
 return faultBean;
}

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

/**
 * The qualified name of the implicit fault bean of this web fault, or null if this web fault
 * does not define an implicit faul bean.
 *
 * @return The qualified name of the implicit fault bean of this web fault.
 */
public String getImplicitFaultBeanQualifiedName() {
 String faultBean = null;
 if (isImplicitSchemaElement()) {
  faultBean = getPackage().getQualifiedName() + ".jaxws." + getSimpleName() + "Bean";
  if ((annotation != null) && (annotation.faultBean() != null) && (!"".equals(annotation.faultBean()))) {
   faultBean = annotation.faultBean();
  }
 }
 return faultBean;
}

相关文章