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

x33g5p2x  于2022-01-26 转载在 其他  
字(6.0k)|赞(0)|评价(0)|浏览(198)

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

Port.getDocumentationElement介绍

暂无

代码示例

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

printDocumentation(port.getDocumentationElement(), def, pw);

代码示例来源:origin: org.apache.axis/axis

/**
 * Write the private address field for this port and the public getter for it.
 * 
 * @param pw       
 * @param portName 
 * @param address  
 * @param p        
 */
protected void writeAddressInfo(PrintWriter pw, String portName,
                String address, Port p) {
  // Write the private address field for this port
  pw.println();
  pw.println("    // " + Messages.getMessage("getProxy00", portName));
  writeComment(pw, p.getDocumentationElement(), true);
  pw.println("    private java.lang.String " + portName + "_address = \""
      + address + "\";");
  // Write the public address getter for this field
  pw.println();
  pw.println("    public java.lang.String get" + portName
      + "Address() {");
  pw.println("        return " + portName + "_address;");
  pw.println("    }");
  pw.println();
}    // writeAddressInfo

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

/**
 * Write the private address field for this port and the public getter for it.
 * 
 * @param pw       
 * @param portName 
 * @param address  
 * @param p        
 */
protected void writeAddressInfo(PrintWriter pw, String portName,
                String address, Port p) {
  // Write the private address field for this port
  pw.println();
  pw.println("    // " + Messages.getMessage("getProxy00", portName));
  writeComment(pw, p.getDocumentationElement(), true);
  pw.println("    private java.lang.String " + portName + "_address = \""
      + address + "\";");
  // Write the public address getter for this field
  pw.println();
  pw.println("    public java.lang.String get" + portName
      + "Address() {");
  pw.println("        return " + portName + "_address;");
  pw.println("    }");
  pw.println();
}    // writeAddressInfo

代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis

/**
 * Write the private address field for this port and the public getter for it.
 * 
 * @param pw       
 * @param portName 
 * @param address  
 * @param p        
 */
protected void writeAddressInfo(PrintWriter pw, String portName,
                String address, Port p) {
  // Write the private address field for this port
  pw.println();
  pw.println("    // " + Messages.getMessage("getProxy00", portName));
  writeComment(pw, p.getDocumentationElement(), true);
  pw.println("    private java.lang.String " + portName + "_address = \""
      + address + "\";");
  // Write the public address getter for this field
  pw.println();
  pw.println("    public java.lang.String get" + portName
      + "Address() {");
  pw.println("        return " + portName + "_address;");
  pw.println("    }");
  pw.println();
}    // writeAddressInfo

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

public void visit(Port port, Object parent, WSDLTraversalContext ctx)
{
 if (port != null && !containsLegalClaim(port.getDocumentationElement()))
  errors.add(WSDL_PORT, port.getName());
}

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

public void visit(Port port, Object parent, WSDLTraversalContext ctx)
{
 if (port != null && !containsLegalClaim(port.getDocumentationElement()))
  errors.add(WSDL_PORT, port.getName());
}

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

public void visit(Port port, Object parent, WSDLTraversalContext ctx)
{
 if (port != null)
 {
  if (containsLegalClaim(port.getDocumentationElement()))
  {
   claimFound = true;
   ctx.addParameter(PORT_KEY, Boolean.TRUE);
  }
  else
  {
   ctx.addParameter(PORT_KEY, Boolean.FALSE);
  }
 }
}

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

public void visit(Port port, Object parent, WSDLTraversalContext ctx)
{
 if (port != null)
 {
  if (containsLegalClaim(port.getDocumentationElement()))
  {
   claimFound = true;
   ctx.addParameter(PORT_KEY, Boolean.TRUE);
  }
  else
  {
   ctx.addParameter(PORT_KEY, Boolean.FALSE);
  }
 }
}

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

writeComment(pw, p.getDocumentationElement(), true);

代码示例来源:origin: org.apache.axis/axis

writeComment(pw, p.getDocumentationElement(), true);

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

printDocumentation(port.getDocumentationElement(), def, pw);

代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis

writeComment(pw, p.getDocumentationElement(), true);

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

result = getClaimsFromElement(port.getDocumentationElement(), result);

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

result = getClaimsFromElement(port.getDocumentationElement(), result);

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

private void processPort(JCasBuilder casBuilder, Port port, Selector selector)
{
  if (!selector.port.equals(lastPort)) {
    // Add Service name to textualServiceRepresentation
    // This is used in the new version of the reader
    casBuilder.add("Port:", StopWord.class);
    casBuilder.add(" ");
    casBuilder.add(port.getName(), Field.class).setName(FIELD_PORT_NAME);
    casBuilder.add("\n");
    processDocumentation(casBuilder, port.getDocumentationElement(), "",
        "Port Documentation", FIELD_PORT_DOCUMENTATION);
    lastPort = selector.port;
  }
  processOperation(casBuilder, port.getBinding().getPortType().getOperation(
      selector.operation, selector.input, selector.output));
}

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

if (traversePort2Element)
 traverse(objPort.getDocumentationElement(), objPort, ctx);
 if (!ctx.processPort())
  return;

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

if (traversePort2Element)
 traverse(objPort.getDocumentationElement(), objPort, ctx);
 if (!ctx.processPort())
  return;

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

axisEndpoint, BINDING);
processEmbeddedEPR(wsdl4jPort.getExtensibilityElements(), axisEndpoint);
addDocumentation(axisEndpoint, wsdl4jPort.getDocumentationElement());
if (processedBindings.containsKey(wsdl4jBinding.getQName())) {
  axisEndpoint.setBinding(

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

axisEndpoint, BINDING);
processEmbeddedEPR(wsdl4jPort.getExtensibilityElements(), axisEndpoint);
addDocumentation(axisEndpoint, wsdl4jPort.getDocumentationElement());
if (processedBindings.containsKey(wsdl4jBinding.getQName())) {
  axisEndpoint.setBinding(

相关文章