congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
WSDLModeler.setDocumentationIfPresent
Code IndexAdd Tabnine to your IDE (free)

How to use
setDocumentationIfPresent
method
in
com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler

Best Java code snippets using com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.setDocumentationIfPresent (Showing top 20 results out of 315)

origin: javaee/metro-jax-ws

protected void processService(com.sun.tools.ws.wsdl.document.Service wsdlService, Model model, WSDLDocument document) {
  QName serviceQName = getQNameOf(wsdlService);
  String serviceInterface = getServiceInterfaceName(serviceQName, wsdlService);
  if (isConflictingServiceClassName(serviceInterface)) {
    serviceInterface += "_Service";
  }
  Service service =
      new Service(
          serviceQName,
          new JavaInterface(serviceInterface, serviceInterface + "Impl"), wsdlService);
  setDocumentationIfPresent(service, wsdlService.getDocumentation());
  boolean hasPorts = false;
  for (Iterator iter = wsdlService.ports(); iter.hasNext();) {
    boolean processed =
        processPort(
            (com.sun.tools.ws.wsdl.document.Port) iter.next(),
            service,
            document);
    hasPorts = hasPorts || processed;
  }
  if (!hasPorts) {
    // emit a warning if there are no ports
    warning(wsdlService, ModelerMessages.WSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(wsdlService.getName()));
  } else {
    model.addService(service);
  }
}
origin: com.sun.xml.ws/jaxws-tools

protected void processService(com.sun.tools.ws.wsdl.document.Service wsdlService, Model model, WSDLDocument document) {
  QName serviceQName = getQNameOf(wsdlService);
  String serviceInterface = getServiceInterfaceName(serviceQName, wsdlService);
  if (isConflictingServiceClassName(serviceInterface)) {
    serviceInterface += "_Service";
  }
  Service service =
      new Service(
          serviceQName,
          new JavaInterface(serviceInterface, serviceInterface + "Impl"), wsdlService);
  setDocumentationIfPresent(service, wsdlService.getDocumentation());
  boolean hasPorts = false;
  for (Iterator iter = wsdlService.ports(); iter.hasNext();) {
    boolean processed =
        processPort(
            (com.sun.tools.ws.wsdl.document.Port) iter.next(),
            service,
            document);
    hasPorts = hasPorts || processed;
  }
  if (!hasPorts) {
    // emit a warning if there are no ports
    warning(wsdlService, ModelerMessages.WSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(wsdlService.getName()));
  } else {
    model.addService(service);
  }
}
origin: org.glassfish.metro/webservices-tools

protected void processService(com.sun.tools.ws.wsdl.document.Service wsdlService, Model model, WSDLDocument document) {
  QName serviceQName = getQNameOf(wsdlService);
  String serviceInterface = getServiceInterfaceName(serviceQName, wsdlService);
  if (isConflictingServiceClassName(serviceInterface)) {
    serviceInterface += "_Service";
  }
  Service service =
      new Service(
          serviceQName,
          new JavaInterface(serviceInterface, serviceInterface + "Impl"), wsdlService);
  setDocumentationIfPresent(service, wsdlService.getDocumentation());
  boolean hasPorts = false;
  for (Iterator iter = wsdlService.ports(); iter.hasNext();) {
    boolean processed =
        processPort(
            (com.sun.tools.ws.wsdl.document.Port) iter.next(),
            service,
            document);
    hasPorts = hasPorts || processed;
  }
  if (!hasPorts) {
    // emit a warning if there are no ports
    warning(wsdlService, ModelerMessages.WSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(wsdlService.getName()));
  } else {
    model.addService(service);
  }
}
origin: javaee/metro-jax-ws

protected void processService(com.sun.tools.ws.wsdl.document.Service wsdlService, Model model, WSDLDocument document) {
  QName serviceQName = getQNameOf(wsdlService);
  String serviceInterface = getServiceInterfaceName(serviceQName, wsdlService);
  if (isConflictingServiceClassName(serviceInterface)) {
    serviceInterface += "_Service";
  }
  Service service =
      new Service(
          serviceQName,
          new JavaInterface(serviceInterface, serviceInterface + "Impl"), wsdlService);
  setDocumentationIfPresent(service, wsdlService.getDocumentation());
  boolean hasPorts = false;
  for (Iterator iter = wsdlService.ports(); iter.hasNext();) {
    boolean processed =
        processPort(
            (com.sun.tools.ws.wsdl.document.Port) iter.next(),
            service,
            document);
    hasPorts = hasPorts || processed;
  }
  if (!hasPorts) {
    // emit a warning if there are no ports
    warning(wsdlService, ModelerMessages.WSDLMODELER_WARNING_NO_PORTS_IN_SERVICE(wsdlService.getName()));
  } else {
    model.addService(service);
  }
}
origin: javaee/metro-jax-ws

setDocumentationIfPresent(model,
    document.getDefinitions().getDocumentation());
origin: javaee/metro-jax-ws

setDocumentationIfPresent(model,
    document.getDefinitions().getDocumentation());
origin: com.sun.xml.ws/jaxws-tools

setDocumentationIfPresent(model,
    document.getDefinitions().getDocumentation());
origin: org.glassfish.metro/webservices-tools

setDocumentationIfPresent(model,
    document.getDefinitions().getDocumentation());
origin: com.sun.xml.ws/jaxws-tools

    new Operation(new QName(null, info.bindingOperation.getName()), info.bindingOperation);
setDocumentationIfPresent(
    operation,
    info.portTypeOperation.getDocumentation());
origin: org.glassfish.metro/webservices-tools

    new Operation(new QName(null, info.bindingOperation.getName()), info.bindingOperation);
setDocumentationIfPresent(
    operation,
    info.portTypeOperation.getDocumentation());
origin: javaee/metro-jax-ws

    new Operation(new QName(null, info.bindingOperation.getName()), info.bindingOperation);
setDocumentationIfPresent(
    operation,
    info.portTypeOperation.getDocumentation());
origin: org.glassfish.metro/webservices-tools

    new Operation(new QName(null, info.bindingOperation.getName()), info.bindingOperation);
setDocumentationIfPresent(
    operation,
    info.portTypeOperation.getDocumentation());
origin: javaee/metro-jax-ws

    new Operation(new QName(null, info.bindingOperation.getName()), info.bindingOperation);
setDocumentationIfPresent(
    operation,
    info.portTypeOperation.getDocumentation());
origin: javaee/metro-jax-ws

    new Operation(new QName(null, info.bindingOperation.getName()), info.bindingOperation);
setDocumentationIfPresent(
    operation,
    info.portTypeOperation.getDocumentation());
origin: com.sun.xml.ws/jaxws-tools

    new Operation(new QName(null, info.bindingOperation.getName()), info.bindingOperation);
setDocumentationIfPresent(
    operation,
    info.portTypeOperation.getDocumentation());
origin: javaee/metro-jax-ws

    new Operation(new QName(null, info.bindingOperation.getName()), info.bindingOperation);
setDocumentationIfPresent(
    operation,
    info.portTypeOperation.getDocumentation());
origin: com.sun.xml.ws/jaxws-tools

Fault fault = new Fault(faultName, portTypeFault);
fault.setWsdlFaultName(portTypeFault.getName());
setDocumentationIfPresent(fault, portTypeFault.getDocumentation());
if (bindingFault != null) {
origin: org.glassfish.metro/webservices-tools

Fault fault = new Fault(faultName, portTypeFault);
fault.setWsdlFaultName(portTypeFault.getName());
setDocumentationIfPresent(fault, portTypeFault.getDocumentation());
if (bindingFault != null) {
origin: javaee/metro-jax-ws

Fault fault = new Fault(faultName, portTypeFault);
fault.setWsdlFaultName(portTypeFault.getName());
setDocumentationIfPresent(fault, portTypeFault.getDocumentation());
if (bindingFault != null) {
origin: javaee/metro-jax-ws

Fault fault = new Fault(faultName, portTypeFault);
fault.setWsdlFaultName(portTypeFault.getName());
setDocumentationIfPresent(fault, portTypeFault.getDocumentation());
if (bindingFault != null) {
com.sun.tools.ws.processor.modeler.wsdlWSDLModelersetDocumentationIfPresent

Popular methods of WSDLModeler

  • <init>
  • addAsyncOperations
  • applyOperationNameCustomization
  • applyPortMethodCustomization
  • applyWrapperStyleCustomization
  • boundToFault
  • buildJAXBModel
  • buildModel
  • conflictsWithExceptionClass
  • conflictsWithJAXBClass
  • conflictsWithSEIClass
  • createAsyncOperation
  • conflictsWithSEIClass,
  • createAsyncOperation,
  • createJavaExceptionFromLiteralType,
  • createJavaInterfaceForPort,
  • createJavaInterfaceForProviderPort,
  • createJavaMethodForAsyncOperation,
  • createJavaMethodForOperation,
  • createRpcLitRequestParameters,
  • enableMimeContent,
  • error

Popular in Java

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • setContentView (Activity)
  • scheduleAtFixedRate (Timer)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • JLabel (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now