private String describePort(Port port) { String html = "<tr><tr>"+port.getName()+"</td></td>"; html+="Depth:"+port.getDepth()+"<br>"; html+="</td></tr>"; return html; }
private String describePort(Port port) { String html = "<tr><td>"+port.getName()+"</td><td>"; html+="Depth:"+port.getDepth()+"<br>"; html+="</td></tr>"; return html; }
private String describePort(Port port, TypeDescriptor descriptor) { String html = "<tr><tr>"+port.getName()+"</td></td>"; if (descriptor!=null && descriptor.isOptional()) { html += "<em>optional</em><br>"; } html+="Depth:"+port.getDepth()+"<br>"; if (descriptor != null )html+="<code>"+descriptor.getQname().toString()+"</code><br>"; html+="</td></tr>"; return html; }
private String describePort(Port port, TypeDescriptor descriptor) { String html = "<tr><td>"+port.getName()+"</td><td>"; if (descriptor!=null && descriptor.isOptional()) { html += "<em>optional</em><br>"; } html+="Depth:"+port.getDepth()+"<br>"; if (descriptor != null ) { html+="<code>"+descriptor.getQname().toString()+"</code><br>"; if (descriptor.getDocumentation() != null && !descriptor.getDocumentation().isEmpty()){ html += "<p>"+descriptor.getDocumentation()+"</p>"; } } html+="</td></tr>"; return html; }