Tabnine Logo
WebServiceWrapperGenerator.generateExceptionBean
Code IndexAdd Tabnine to your IDE (free)

How to use
generateExceptionBean
method
in
com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator

Best Java code snippets using com.sun.tools.ws.processor.modeler.annotation.WebServiceWrapperGenerator.generateExceptionBean (Showing top 4 results out of 315)

origin: com.sun.xml.ws/jaxws-tools

private boolean generateExceptionBeans(ExecutableElement method) {
  String beanPackage = packageName + PD_JAXWS_PACKAGE_PD.getValue();
  if (packageName.length() == 0)
    beanPackage = JAXWS_PACKAGE_PD.getValue();
  boolean beanGenerated = false;
  for (TypeMirror thrownType : method.getThrownTypes()) {
    TypeElement typeDecl = (TypeElement) ((DeclaredType) thrownType).asElement();
    if (typeDecl == null) {
      builder.processError(WebserviceapMessages.WEBSERVICEAP_COULD_NOT_FIND_TYPEDECL(
          thrownType.toString(), context.getRound()));
      return false;
    }
    boolean tmp = generateExceptionBean(typeDecl, beanPackage);
    beanGenerated = beanGenerated || tmp;
  }
  return beanGenerated;
}
origin: javaee/metro-jax-ws

private boolean generateExceptionBeans(ExecutableElement method) {
  String beanPackage = packageName + PD_JAXWS_PACKAGE_PD.getValue();
  if (packageName.length() == 0)
    beanPackage = JAXWS_PACKAGE_PD.getValue();
  boolean beanGenerated = false;
  for (TypeMirror thrownType : method.getThrownTypes()) {
    TypeElement typeDecl = (TypeElement) ((DeclaredType) thrownType).asElement();
    if (typeDecl == null) {
      builder.processError(WebserviceapMessages.WEBSERVICEAP_COULD_NOT_FIND_TYPEDECL(
          thrownType.toString(), context.getRound()));
      return false;
    }
    boolean tmp = generateExceptionBean(typeDecl, beanPackage);
    beanGenerated = beanGenerated || tmp;
  }
  return beanGenerated;
}
origin: javaee/metro-jax-ws

private boolean generateExceptionBeans(ExecutableElement method) {
  String beanPackage = packageName + PD_JAXWS_PACKAGE_PD.getValue();
  if (packageName.length() == 0)
    beanPackage = JAXWS_PACKAGE_PD.getValue();
  boolean beanGenerated = false;
  for (TypeMirror thrownType : method.getThrownTypes()) {
    TypeElement typeDecl = (TypeElement) ((DeclaredType) thrownType).asElement();
    if (typeDecl == null) {
      builder.processError(WebserviceapMessages.WEBSERVICEAP_COULD_NOT_FIND_TYPEDECL(
          thrownType.toString(), context.getRound()));
      return false;
    }
    boolean tmp = generateExceptionBean(typeDecl, beanPackage);
    beanGenerated = beanGenerated || tmp;
  }
  return beanGenerated;
}
origin: org.glassfish.metro/webservices-tools

private boolean generateExceptionBeans(ExecutableElement method) {
  String beanPackage = packageName + PD_JAXWS_PACKAGE_PD.getValue();
  if (packageName.length() == 0)
    beanPackage = JAXWS_PACKAGE_PD.getValue();
  boolean beanGenerated = false;
  for (TypeMirror thrownType : method.getThrownTypes()) {
    TypeElement typeDecl = (TypeElement) ((DeclaredType) thrownType).asElement();
    if (typeDecl == null) {
      builder.processError(WebserviceapMessages.WEBSERVICEAP_COULD_NOT_FIND_TYPEDECL(
          thrownType.toString(), context.getRound()));
      return false;
    }
    boolean tmp = generateExceptionBean(typeDecl, beanPackage);
    beanGenerated = beanGenerated || tmp;
  }
  return beanGenerated;
}
com.sun.tools.ws.processor.modeler.annotationWebServiceWrapperGeneratorgenerateExceptionBean

Popular methods of WebServiceWrapperGenerator

  • <init>
  • addGeneratedFile
  • annotateParameterWithJaxbAnnotations
  • doPostProcessWebService
  • duplicateName
  • generateExceptionBeans
  • generateWrappers
  • getCMClass
  • getFaultInfoMember
  • getType
  • isWSDLException
  • writeMember
  • isWSDLException,
  • writeMember,
  • writeMembers,
  • writeXmlElementDeclaration,
  • writeXmlTypeDeclaration

Popular in Java

  • Updating database using SQL prepared statement
  • runOnUiThread (Activity)
  • getSharedPreferences (Context)
  • getSupportFragmentManager (FragmentActivity)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Path (java.nio.file)
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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