Class WebServiceVisitor
java.lang.Object
javax.lang.model.util.AbstractElementVisitor6<R,P>
javax.lang.model.util.SimpleElementVisitor6<Void,Object>
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor
- All Implemented Interfaces:
ElementVisitor<Void,Object>
- Direct Known Subclasses:
WebServiceWrapperGenerator
- Author:
- WS Development Team
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ModelBuilderprotected AnnotationProcessorContextprotected Nameprotected booleanprotected booleanprotected Nameprotected Portprotected Stringprotected booleanprotected booleanprotected AnnotationProcessorContext.SeiContextprotected Nameprotected Stringprotected Stack<jakarta.jws.soap.SOAPBinding>protected SOAPStyleprotected TypeElementprotected jakarta.jws.soap.SOAPBindingprotected Stringprotected booleanprotected StringFields inherited from class javax.lang.model.util.SimpleElementVisitor6
DEFAULT_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckForInvalidImplAnnotation(Element element, Class annotationClass) protected voidcheckForInvalidSeiAnnotation(TypeElement element, Class annotationClass) protected booleanclassImplementsSei(TypeElement classElement, TypeElement interfaceElement) protected intgetModeParameterCount(ExecutableElement method, jakarta.jws.WebParam.Mode mode) protected StringgetNamespace(PackageElement packageElement) protected VariableElementgetOutParameter(ExecutableElement method) protected booleanhasWebMethods(TypeElement element) protected booleanprotected booleanisEquivalentModes(jakarta.jws.WebParam.Mode mode1, jakarta.jws.WebParam.Mode mode2) protected booleanisHolder(VariableElement param) protected booleanisLegalImplementation(jakarta.jws.WebService webService, TypeElement classElement) protected booleanisLegalMethod(ExecutableElement method, TypeElement typeElement) protected booleanisLegalParameter(VariableElement param, ExecutableElement method, TypeElement typeElement, int paramIndex) protected booleanisLegalSei(TypeElement interfaceElement) protected booleanisLegalType(TypeMirror type) protected booleanisValidOneWayMethod(ExecutableElement method, TypeElement typeElement) protected booleanmethodsAreLegal(TypeElement element) protected jakarta.jws.soap.SOAPBindingprotected voidpostProcessWebService(jakarta.jws.WebService webService, TypeElement element) protected voidpreProcessWebService(jakarta.jws.WebService webService, TypeElement element) protected booleanprocessedMethod(ExecutableElement method) protected abstract voidprocessMethod(ExecutableElement method, jakarta.jws.WebMethod webMethod) protected voidprocessMethods(TypeElement element) protected abstract voidprocessWebService(jakarta.jws.WebService webService, TypeElement element) protected booleanpushSoapBinding(jakarta.jws.soap.SOAPBinding soapBinding, Element bindingElement, TypeElement classElement) protected booleansameMethod(ExecutableElement method1, ExecutableElement method2) static booleanprotected booleanshouldProcessMethod(ExecutableElement method, jakarta.jws.WebMethod webMethod) protected booleanshouldProcessWebService(jakarta.jws.WebService webService, TypeElement element) protected voidprotected voidverifySeiAnnotations(jakarta.jws.WebService webService, TypeElement d) visitExecutable(ExecutableElement method, Object o) visitType(TypeElement e, Object o) Methods inherited from class javax.lang.model.util.SimpleElementVisitor6
defaultAction, visitPackage, visitTypeParameter, visitVariableMethods inherited from class javax.lang.model.util.AbstractElementVisitor6
visit, visit, visitModule, visitUnknown
-
Field Details
-
builder
-
wsdlNamespace
-
typeNamespace
-
soapBindingStack
-
typeElementSoapBinding
protected jakarta.jws.soap.SOAPBinding typeElementSoapBinding -
soapStyle
-
wrapped
protected boolean wrapped -
port
-
serviceImplName
-
endpointInterfaceName
-
context
-
seiContext
-
processingSei
protected boolean processingSei -
serviceName
-
packageName
-
portName
-
endpointReferencesInterface
protected boolean endpointReferencesInterface -
hasWebMethods
protected boolean hasWebMethods -
typeElement
-
processedMethods
-
pushedSoapBinding
protected boolean pushedSoapBinding
-
-
Constructor Details
-
WebServiceVisitor
-
-
Method Details
-
visitType
- Specified by:
visitTypein interfaceElementVisitor<Void,Object> - Overrides:
visitTypein classSimpleElementVisitor6<Void,Object>
-
verifySeiAnnotations
-
verifyImplAnnotations
-
checkForInvalidSeiAnnotation
-
checkForInvalidImplAnnotation
-
preProcessWebService
-
sameStyle
-
pushSoapBinding
protected boolean pushSoapBinding(jakarta.jws.soap.SOAPBinding soapBinding, Element bindingElement, TypeElement classElement) -
popSoapBinding
protected jakarta.jws.soap.SOAPBinding popSoapBinding() -
getNamespace
-
shouldProcessWebService
-
processWebService
-
postProcessWebService
-
hasWebMethods
-
processMethods
-
visitExecutable
- Specified by:
visitExecutablein interfaceElementVisitor<Void,Object> - Overrides:
visitExecutablein classSimpleElementVisitor6<Void,Object>
-
processedMethod
-
shouldProcessMethod
-
processMethod
-
isLegalImplementation
protected boolean isLegalImplementation(jakarta.jws.WebService webService, TypeElement classElement) -
classImplementsSei
-
sameMethod
-
isLegalSei
-
methodsAreLegal
-
isLegalMethod
-
isLegalParameter
protected boolean isLegalParameter(VariableElement param, ExecutableElement method, TypeElement typeElement, int paramIndex) -
isDocLitWrapped
protected boolean isDocLitWrapped() -
isValidOneWayMethod
-
getModeParameterCount
-
isEquivalentModes
protected boolean isEquivalentModes(jakarta.jws.WebParam.Mode mode1, jakarta.jws.WebParam.Mode mode2) -
isHolder
-
isLegalType
-
getOutParameter
-