gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-26 10:35:05 26 4
gpt4 key购买 nike

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

WebMethod.getSimpleName介绍

暂无

代码示例

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

/**
 * The simple name of the method.
 *
 * @return The simple name of the method.
 */
public String getPartName() {
 return webMethod.getSimpleName();
}

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

/**
 * The simple name of the method appended with "Response".
 *
 * @return The simple name of the method appended with "Response".
 */
public String getPartName() {
 return webMethod.getSimpleName() + "Response";
}

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

/**
 * This doesn't have anything to do with the spec, but can be used in case a bean is needed to be
 * generated for an RPC input message.  The bean name will be generated in accordance with the instructions
 * given in the specification that apply to document/literal wrapped request beans.
 *
 * @return A possible request bean name.
 */
public String getRequestBeanName() {
 String capitalizedName = this.webMethod.getSimpleName();
 capitalizedName = Character.toString(capitalizedName.charAt(0)).toUpperCase() + capitalizedName.substring(1);
 return this.webMethod.getDeclaringEndpointInterface().getPackage().getQualifiedName() + ".jaxws." + capitalizedName;
}

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

/**
 * This doesn't have anything to do with the spec, but can be used in case a bean is needed to be
 * generated for an RPC output message.  The bean name will be generated in accordance with the instructions
 * given in the specification that apply to document/literal wrapped response beans.
 *
 * @return A possible response bean name.
 */
public String getResponseBeanName() {
 String capitalizedName = this.webMethod.getSimpleName();
 capitalizedName = Character.toString(capitalizedName.charAt(0)).toUpperCase() + capitalizedName.substring(1);
 return this.webMethod.getDeclaringEndpointInterface().getPackage().getQualifiedName() + ".jaxws." + capitalizedName + "Response";
}

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

/**
 * The operation name of this web method.
 *
 * @return The operation name of this web method.
 */
public String getOperationName() {
 String operationName = getSimpleName();
 if ((annotation != null) && (!"".equals(annotation.operationName()))) {
  return annotation.operationName();
 }
 return operationName;
}

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

/**
 * The operation name of this web method.
 *
 * @return The operation name of this web method.
 */
public String getOperationName() {
 String operationName = getSimpleName();
 if ((annotation != null) && (!"".equals(annotation.operationName()))) {
  return annotation.operationName();
 }
 return operationName;
}

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

/**
 * This doesn't have anything to do with the spec, but can be used in case a bean is needed to be
 * generated for an RPC output message.  The bean name will be generated in accordance with the instructions
 * given in the specification that apply to document/literal wrapped response beans.
 *
 * @return A possible response bean name.
 */
public String getResponseBeanName() {
 String capitalizedName = this.webMethod.getSimpleName();
 capitalizedName = Character.toString(capitalizedName.charAt(0)).toUpperCase() + capitalizedName.substring(1);
 return this.webMethod.getDeclaringEndpointInterface().getPackage().getQualifiedName() + ".jaxws." + capitalizedName + "Response";
}

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

/**
 * This doesn't have anything to do with the spec, but can be used in case a bean is needed to be
 * generated for an RPC input message.  The bean name will be generated in accordance with the instructions
 * given in the specification that apply to document/literal wrapped request beans.
 *
 * @return A possible request bean name.
 */
public String getRequestBeanName() {
 String capitalizedName = this.webMethod.getSimpleName();
 capitalizedName = Character.toString(capitalizedName.charAt(0)).toUpperCase() + capitalizedName.substring(1);
 return this.webMethod.getDeclaringEndpointInterface().getPackage().getQualifiedName() + ".jaxws." + capitalizedName;
}

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

/**
 * The simple name of the method.
 *
 * @return The simple name of the method.
 */
public String getMessageName() {
 return webMethod.getDeclaringEndpointInterface().getSimpleName() + "." + webMethod.getSimpleName();
}

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

/**
 * The simple name of the method appended with "Response".
 *
 * @return The simple name of the method appended with "Response".
 */
public String getMessageName() {
 return webMethod.getDeclaringEndpointInterface().getSimpleName() + "." + webMethod.getSimpleName() + "Response";
}

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

/**
 * The simple name of the method.
 *
 * @return The simple name of the method.
 */
public String getMessageName() {
 return webMethod.getDeclaringEndpointInterface().getSimpleName() + "." + webMethod.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-full

/**
 * The simple name of the method appended with "Response".
 *
 * @return The simple name of the method appended with "Response".
 */
public String getMessageName() {
 return webMethod.getDeclaringEndpointInterface().getSimpleName() + "." + webMethod.getSimpleName() + "Response";
}

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

public String getMessageName() {
 return webMethod.getDeclaringEndpointInterface().getSimpleName() + "." + this.webMethod.getSimpleName() + "Response";
}

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

/**
 * The name of the JAXWS response bean.
 *
 * @return The name of the JAXWS response bean.
 */
public String getResponseBeanName() {
 String capitalizedName = this.webMethod.getSimpleName();
 capitalizedName = Character.toString(capitalizedName.charAt(0)).toUpperCase() + capitalizedName.substring(1);
 String responseBeanName = this.webMethod.getDeclaringEndpointInterface().getPackage().getQualifiedName() + ".jaxws." + capitalizedName + "Response";
 javax.xml.ws.ResponseWrapper annotation = webMethod.getAnnotation(javax.xml.ws.ResponseWrapper.class);
 if ((annotation != null) && (annotation.className() != null) && (!"".equals(annotation.className()))) {
  responseBeanName = annotation.className();
 }
 return responseBeanName;
}

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

/**
 * The local name of the output.
 *
 * @return The local name of the output.
 */
public String getElementName() {
 String name = webMethod.getSimpleName() + "Response";
 javax.xml.ws.ResponseWrapper annotation = webMethod.getAnnotation(javax.xml.ws.ResponseWrapper.class);
 if ((annotation != null) && (annotation.localName() != null) && (!"".equals(annotation.localName()))) {
  name = annotation.localName();
 }
 return name;
}

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

/**
 * The local name of the element.
 *
 * @return The local name of the element.
 */
public String getElementName() {
 String name = webMethod.getSimpleName();
 javax.xml.ws.RequestWrapper annotation = webMethod.getAnnotation(javax.xml.ws.RequestWrapper.class);
 if ((annotation != null) && (annotation.localName() != null) && (!"".equals(annotation.localName()))) {
  name = annotation.localName();
 }
 return name;
}

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

/**
 * The message name in the case of a document/bare service.
 *
 * @return The message name in the case of a document/bare service.
 */
public String getMessageName() {
 String messageName = null;
 if (isBare()) {
  messageName = method.getDeclaringEndpointInterface().getSimpleName() + "." + method.getSimpleName() + "Response";
 }
 else if (isHeader()) {
  messageName = method.getDeclaringEndpointInterface().getSimpleName() + "." + method.getSimpleName() + "." + getName();
 }
 return messageName;
}

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

/**
 * The message name of the message for this parameter, if this is a BARE web param.
 *
 * @return The message name of the message for this parameter, or null if this is not a BARE web param.
 */
public String getMessageName() {
 String messageName = null;
 if (isBare()) {
  messageName = method.getDeclaringEndpointInterface().getSimpleName() + "." + method.getSimpleName();
 }
 else if (isHeader()) {
  messageName = method.getDeclaringEndpointInterface().getSimpleName() + "." + method.getSimpleName() + "." + getBaseParamName();
 }
 return messageName;
}

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

/**
 * The element name of this web param.
 *
 * @return The element name of this web param.
 */
public String getElementName() {
 String name = isHeader() ? "" : getBaseParamName();
 if ((annotation != null) && (annotation.name() != null) && (!"".equals(annotation.name()))) {
  name = annotation.name();
 }
 else if (!isHeader() && isImplicitSchemaElement()) {
  name = this.method.getSimpleName();
 }
 return name;
}

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com