Class WebServiceVisitor

All Implemented Interfaces:
ElementVisitor<Void,Object>
Direct Known Subclasses:
WebServiceWrapperGenerator

public abstract class WebServiceVisitor extends SimpleElementVisitor9<Void,Object>
Author:
WS Development Team
  • Field Details

    • builder

      protected ModelBuilder builder
    • wsdlNamespace

      protected String wsdlNamespace
    • typeNamespace

      protected String typeNamespace
    • soapBindingStack

      protected Stack<jakarta.jws.soap.SOAPBinding> soapBindingStack
    • typeElementSoapBinding

      protected jakarta.jws.soap.SOAPBinding typeElementSoapBinding
    • soapStyle

      protected SOAPStyle soapStyle
    • wrapped

      protected boolean wrapped
    • port

      protected Port port
    • serviceImplName

      protected Name serviceImplName
    • endpointInterfaceName

      protected Name endpointInterfaceName
    • context

      protected AnnotationProcessorContext context
    • seiContext

    • processingSei

      protected boolean processingSei
    • serviceName

      protected String serviceName
    • packageName

      protected Name packageName
    • portName

      protected String portName
    • endpointReferencesInterface

      protected boolean endpointReferencesInterface
    • hasWebMethods

      protected boolean hasWebMethods
    • typeElement

      protected TypeElement typeElement
    • processedMethods

      protected Set<String> processedMethods
    • pushedSoapBinding

      protected boolean pushedSoapBinding
  • Constructor Details

  • Method Details

    • visitType

      public Void visitType(TypeElement e, Object o)
      Specified by:
      visitType in interface ElementVisitor<Void,Object>
      Overrides:
      visitType in class SimpleElementVisitor6<Void,Object>
    • verifySeiAnnotations

      protected void verifySeiAnnotations(jakarta.jws.WebService webService, TypeElement d)
    • verifyImplAnnotations

      protected void verifyImplAnnotations(TypeElement d)
    • checkForInvalidSeiAnnotation

      protected void checkForInvalidSeiAnnotation(TypeElement element, Class<? extends Annotation> annotationClass)
    • checkForInvalidImplAnnotation

      protected void checkForInvalidImplAnnotation(Element element, Class<? extends Annotation> annotationClass)
    • preProcessWebService

      protected void preProcessWebService(jakarta.jws.WebService webService, TypeElement element)
    • sameStyle

      public static boolean sameStyle(jakarta.jws.soap.SOAPBinding.Style style, SOAPStyle soapStyle)
    • pushSoapBinding

      protected boolean pushSoapBinding(jakarta.jws.soap.SOAPBinding soapBinding, Element bindingElement, TypeElement classElement)
    • popSoapBinding

      protected jakarta.jws.soap.SOAPBinding popSoapBinding()
    • getNamespace

      protected String getNamespace(PackageElement packageElement)
    • shouldProcessWebService

      protected boolean shouldProcessWebService(jakarta.jws.WebService webService, TypeElement element)
    • processWebService

      protected abstract void processWebService(jakarta.jws.WebService webService, TypeElement element)
    • postProcessWebService

      protected void postProcessWebService(jakarta.jws.WebService webService, TypeElement element)
    • hasWebMethods

      protected boolean hasWebMethods(TypeElement element)
    • processMethods

      protected void processMethods(TypeElement element)
    • visitExecutable

      public Void visitExecutable(ExecutableElement method, Object o)
      Specified by:
      visitExecutable in interface ElementVisitor<Void,Object>
      Overrides:
      visitExecutable in class SimpleElementVisitor6<Void,Object>
    • processedMethod

      protected boolean processedMethod(ExecutableElement method)
    • shouldProcessMethod

      protected boolean shouldProcessMethod(ExecutableElement method, jakarta.jws.WebMethod webMethod)
    • processMethod

      protected abstract void processMethod(ExecutableElement method, jakarta.jws.WebMethod webMethod)
    • isLegalImplementation

      protected boolean isLegalImplementation(jakarta.jws.WebService webService, TypeElement classElement)
    • classImplementsSei

      protected boolean classImplementsSei(TypeElement classElement, TypeElement interfaceElement)
    • sameMethod

      protected boolean sameMethod(ExecutableElement method1, ExecutableElement method2)
    • isLegalSei

      protected boolean isLegalSei(TypeElement interfaceElement)
    • methodsAreLegal

      protected boolean methodsAreLegal(TypeElement element)
    • isLegalMethod

      protected boolean isLegalMethod(ExecutableElement method, TypeElement typeElement)
    • isLegalParameter

      protected boolean isLegalParameter(VariableElement param, ExecutableElement method, TypeElement typeElement, int paramIndex)
    • isDocLitWrapped

      protected boolean isDocLitWrapped()
    • isValidOneWayMethod

      protected boolean isValidOneWayMethod(ExecutableElement method, TypeElement typeElement)
    • getModeParameterCount

      protected int getModeParameterCount(ExecutableElement method, jakarta.jws.WebParam.Mode mode)
    • isEquivalentModes

      protected boolean isEquivalentModes(jakarta.jws.WebParam.Mode mode1, jakarta.jws.WebParam.Mode mode2)
    • isHolder

      protected boolean isHolder(VariableElement param)
    • isLegalType

      protected boolean isLegalType(TypeMirror type)
    • getOutParameter

      protected VariableElement getOutParameter(ExecutableElement method)