private void addDocumentation(Endpoint ep, WSDLDocumentation.Placement defPlace, WSDLDocumentation ... values) { for (WSDLDocumentation doc : values) { WSDLDocumentation.Placement p = doc.placement(); if (p == WSDLDocumentation.Placement.DEFAULT) { p = defPlace; } switch (p) { case PORT_TYPE: ep.getEndpointInfo().getService() .getInterface().setDocumentation(doc.value()); break; case TOP: ep.getEndpointInfo().getService().setTopLevelDoc(doc.value()); break; case SERVICE: ep.getEndpointInfo().getService().setDocumentation(doc.value()); break; case SERVICE_PORT: ep.getEndpointInfo().setDocumentation(doc.value()); break; case BINDING: ep.getEndpointInfo().getBinding().setDocumentation(doc.value()); break; default: //nothing? } } }
private void addDocumentation(Endpoint ep, WSDLDocumentation.Placement defPlace, WSDLDocumentation ... values) { for (WSDLDocumentation doc : values) { WSDLDocumentation.Placement p = doc.placement(); if (p == WSDLDocumentation.Placement.DEFAULT) { p = defPlace; } switch (p) { case PORT_TYPE: ep.getEndpointInfo().getService() .getInterface().setDocumentation(doc.value()); break; case TOP: ep.getEndpointInfo().getService().setTopLevelDoc(doc.value()); break; case SERVICE: ep.getEndpointInfo().getService().setDocumentation(doc.value()); break; case SERVICE_PORT: ep.getEndpointInfo().setDocumentation(doc.value()); break; case BINDING: ep.getEndpointInfo().getBinding().setDocumentation(doc.value()); break; default: //nothing? } } }
private void addDocumentation(Endpoint ep, WSDLDocumentation.Placement defPlace, WSDLDocumentation ... values) { for (WSDLDocumentation doc : values) { WSDLDocumentation.Placement p = doc.placement(); if (p == WSDLDocumentation.Placement.DEFAULT) { p = defPlace; } switch (p) { case PORT_TYPE: ep.getEndpointInfo().getService() .getInterface().setDocumentation(doc.value()); break; case TOP: ep.getEndpointInfo().getService().setTopLevelDoc(doc.value()); break; case SERVICE: ep.getEndpointInfo().getService().setDocumentation(doc.value()); break; case SERVICE_PORT: ep.getEndpointInfo().setDocumentation(doc.value()); break; case BINDING: ep.getEndpointInfo().getBinding().setDocumentation(doc.value()); break; default: //nothing? } } }
private void addDocumentation(Endpoint ep, WSDLDocumentation.Placement defPlace, WSDLDocumentation ... values) { for (WSDLDocumentation doc : values) { WSDLDocumentation.Placement p = doc.placement(); if (p == WSDLDocumentation.Placement.DEFAULT) { p = defPlace; } switch (p) { case PORT_TYPE: ep.getEndpointInfo().getService() .getInterface().setDocumentation(doc.value()); break; case TOP: ep.getEndpointInfo().getService().setTopLevelDoc(doc.value()); break; case SERVICE: ep.getEndpointInfo().getService().setDocumentation(doc.value()); break; case SERVICE_PORT: ep.getEndpointInfo().setDocumentation(doc.value()); break; case BINDING: ep.getEndpointInfo().getBinding().setDocumentation(doc.value()); break; default: //nothing? } } }