javax.wsdl.Message.getDocumentationElement()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(3.5k)|赞(0)|评价(0)|浏览(180)

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

Message.getDocumentationElement介绍

暂无

代码示例

代码示例来源:origin: wsdl4j/wsdl4j

printDocumentation(message.getDocumentationElement(), def, pw);
printParts(message.getOrderedParts(null), def, pw);

代码示例来源:origin: org.wso2.wsdl.validator/wsdl-validator

public void visit(Message message, Object parent, WSDLTraversalContext ctx)
{
 if (message != null)
 {
  Boolean operation = (Boolean) ctx.getParameter(OPERATION_KEY);
  if (operation.booleanValue())
  {
   ctx.addParameter(MESSAGE_KEY, Boolean.TRUE);
  }
  else
  {
   claimFound = containsClaim(message.getDocumentationElement());
   ctx.addParameter(
    MESSAGE_KEY,
    new Boolean(containsLegalClaim(message.getDocumentationElement())));
  }
 }
}

代码示例来源:origin: org.eclipse/org.eclipse.wst.wsi

public void visit(Message message, Object parent, WSDLTraversalContext ctx)
{
 if (message != null)
 {
  Boolean operation = (Boolean) ctx.getParameter(OPERATION_KEY);
  if (operation.booleanValue())
  {
   ctx.addParameter(MESSAGE_KEY, Boolean.TRUE);
  }
  else
  {
   claimFound = containsClaim(message.getDocumentationElement());
   ctx.addParameter(
    MESSAGE_KEY,
    new Boolean(containsLegalClaim(message.getDocumentationElement())));
  }
 }
}

代码示例来源:origin: org.wso2.wsdl.validator/wsdl-validator

public void visit(Message message, Object parent, WSDLTraversalContext ctx)
{
 if (message != null
  && !containsLegalClaim(message.getDocumentationElement()))
  errors.add(WSDL_MESSAGE, message.getQName());
}

代码示例来源:origin: org.eclipse/org.eclipse.wst.wsi

public void visit(Message message, Object parent, WSDLTraversalContext ctx)
{
 if (message != null
  && !containsLegalClaim(message.getDocumentationElement()))
  errors.add(WSDL_MESSAGE, message.getQName());
}

代码示例来源:origin: org.wso2.wsdl4j/wsdl4j

printDocumentation(message.getDocumentationElement(), def, pw);
printParts(message.getOrderedParts(null), def, pw);

代码示例来源:origin: de.tudarmstadt.ukp.dkpro.core/de.tudarmstadt.ukp.dkpro.core.io.wsdl-asl

private void processMessage(JCasBuilder casBuilder, Message message, String direction)
{
  casBuilder.add("  ");
  casBuilder.add(direction + " Parameter:", StopWord.class);
  casBuilder.add(" ");
  casBuilder.add(message.getQName().getLocalPart(), Field.class).setName(
      direction + SUFFIX_PARAMETER);
  casBuilder.add("\n");
  processDocumentation(casBuilder, message.getDocumentationElement(), "  ", direction
      + " Parameter Documentation", direction + SUFFIX_PARAMETER_DOCUMENTATION);
  @SuppressWarnings("unchecked")
  Collection<Part> parts = message.getParts().values();
  for (Part part : parts) {
    processPart(casBuilder, part, direction);
  }
}

代码示例来源:origin: org.wso2.wsdl.validator/wsdl-validator

if (traverseMessage2Element)
 traverse(objMessage.getDocumentationElement(), objMessage, ctx);
 if (!ctx.processMessage())
  return;

代码示例来源:origin: org.eclipse/org.eclipse.wst.wsi

if (traverseMessage2Element)
 traverse(objMessage.getDocumentationElement(), objMessage, ctx);
 if (!ctx.processMessage())
  return;

代码示例来源:origin: apache/axis2-java

addDocumentation(axisBindingFaultMessage, wsdl4jFaultMessge.getDocumentationElement());
axisBindingFaultMessage.setFault(true);
axisBindingFaultMessage.setAxisMessage(faultMessage);

代码示例来源:origin: org.apache.axis2/axis2-kernel

addDocumentation(axisBindingFaultMessage, wsdl4jFaultMessge.getDocumentationElement());
axisBindingFaultMessage.setFault(true);
axisBindingFaultMessage.setAxisMessage(faultMessage);

相关文章