Class WebServiceVisitor
java.lang.Object
javax.lang.model.util.AbstractElementVisitor6<R,P>
javax.lang.model.util.SimpleElementVisitor6<R,P>
javax.lang.model.util.SimpleElementVisitor7<R,P>
javax.lang.model.util.SimpleElementVisitor8<R,P>
javax.lang.model.util.SimpleElementVisitor9<Void,Object>
com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor
- All Implemented Interfaces:
ElementVisitor<Void,Object>
- Direct Known Subclasses:
WebServiceWrapperGenerator
- Author:
- WS Development Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ModelBuilderprotected AnnotationProcessorContextprotected Nameprotected booleanprotected booleanprotected Nameprotected Portprotected Stringprotected booleanprotected booleanprotected AnnotationProcessorContext.SeiContextprotected Nameprotected Stringprotected Stack<SOAPBinding>protected SOAPStyleprotected TypeElementprotected 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, WebParam.Mode mode) protected StringgetNamespace(PackageElement packageElement) protected VariableElementgetOutParameter(ExecutableElement method) protected booleanhasWebMethods(TypeElement element) protected booleanprotected booleanisEquivalentModes(WebParam.Mode mode1, WebParam.Mode mode2) protected booleanisHolder(VariableElement param) protected booleanisLegalImplementation(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 SOAPBindingprotected voidpostProcessWebService(WebService webService, TypeElement element) protected voidpreProcessWebService(WebService webService, TypeElement element) protected booleanprocessedMethod(ExecutableElement method) protected abstract voidprocessMethod(ExecutableElement method, WebMethod webMethod) protected voidprocessMethods(TypeElement element) protected abstract voidprocessWebService(WebService webService, TypeElement element) protected booleanpushSoapBinding(SOAPBinding soapBinding, Element bindingElement, TypeElement classElement) protected booleansameMethod(ExecutableElement method1, ExecutableElement method2) static booleansameStyle(SOAPBinding.Style style, SOAPStyle soapStyle) protected booleanshouldProcessMethod(ExecutableElement method, WebMethod webMethod) protected booleanshouldProcessWebService(WebService webService, TypeElement element) protected voidprotected voidverifySeiAnnotations(WebService webService, TypeElement d) visitExecutable(ExecutableElement method, Object o) visitType(TypeElement e, Object o) Methods inherited from class javax.lang.model.util.SimpleElementVisitor9
visitModuleMethods inherited from class javax.lang.model.util.SimpleElementVisitor7
visitVariableMethods inherited from class javax.lang.model.util.SimpleElementVisitor6
defaultAction, visitPackage, visitTypeParameterMethods inherited from class javax.lang.model.util.AbstractElementVisitor6
visit, visit, visitUnknown
-
Field Details
-
builder
-
wsdlNamespace
-
typeNamespace
-
soapBindingStack
-
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(SOAPBinding soapBinding, Element bindingElement, TypeElement classElement) -
popSoapBinding
-
getNamespace
-
shouldProcessWebService
-
processWebService
-
postProcessWebService
-
hasWebMethods
-
processMethods
-
visitExecutable
- Specified by:
visitExecutablein interfaceElementVisitor<Void,Object> - Overrides:
visitExecutablein classSimpleElementVisitor6<Void,Object>
-
processedMethod
-
shouldProcessMethod
-
processMethod
-
isLegalImplementation
-
classImplementsSei
-
sameMethod
-
isLegalSei
-
methodsAreLegal
-
isLegalMethod
-
isLegalParameter
protected boolean isLegalParameter(VariableElement param, ExecutableElement method, TypeElement typeElement, int paramIndex) -
isDocLitWrapped
protected boolean isDocLitWrapped() -
isValidOneWayMethod
-
getModeParameterCount
-
isEquivalentModes
-
isHolder
-
isLegalType
-
getOutParameter
-