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
Modifier and TypeFieldDescriptionprotected ModelBuilder
protected AnnotationProcessorContext
protected Name
protected boolean
protected boolean
protected Name
protected Port
protected String
protected boolean
protected boolean
protected AnnotationProcessorContext.SeiContext
protected Name
protected String
protected Stack<SOAPBinding>
protected SOAPStyle
protected TypeElement
protected SOAPBinding
protected String
protected boolean
protected String
Fields inherited from class javax.lang.model.util.SimpleElementVisitor6
DEFAULT_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkForInvalidImplAnnotation
(Element element, Class annotationClass) protected void
checkForInvalidSeiAnnotation
(TypeElement element, Class annotationClass) protected boolean
classImplementsSei
(TypeElement classElement, TypeElement interfaceElement) protected int
getModeParameterCount
(ExecutableElement method, WebParam.Mode mode) protected String
getNamespace
(PackageElement packageElement) protected VariableElement
getOutParameter
(ExecutableElement method) protected boolean
hasWebMethods
(TypeElement element) protected boolean
protected boolean
isEquivalentModes
(WebParam.Mode mode1, WebParam.Mode mode2) protected boolean
isHolder
(VariableElement param) protected boolean
isLegalImplementation
(WebService webService, TypeElement classElement) protected boolean
isLegalMethod
(ExecutableElement method, TypeElement typeElement) protected boolean
isLegalParameter
(VariableElement param, ExecutableElement method, TypeElement typeElement, int paramIndex) protected boolean
isLegalSei
(TypeElement interfaceElement) protected boolean
isLegalType
(TypeMirror type) protected boolean
isValidOneWayMethod
(ExecutableElement method, TypeElement typeElement) protected boolean
methodsAreLegal
(TypeElement element) protected SOAPBinding
protected void
postProcessWebService
(WebService webService, TypeElement element) protected void
preProcessWebService
(WebService webService, TypeElement element) protected boolean
processedMethod
(ExecutableElement method) protected abstract void
processMethod
(ExecutableElement method, WebMethod webMethod) protected void
processMethods
(TypeElement element) protected abstract void
processWebService
(WebService webService, TypeElement element) protected boolean
pushSoapBinding
(SOAPBinding soapBinding, Element bindingElement, TypeElement classElement) protected boolean
sameMethod
(ExecutableElement method1, ExecutableElement method2) static boolean
sameStyle
(SOAPBinding.Style style, SOAPStyle soapStyle) protected boolean
shouldProcessMethod
(ExecutableElement method, WebMethod webMethod) protected boolean
shouldProcessWebService
(WebService webService, TypeElement element) protected void
protected void
verifySeiAnnotations
(WebService webService, TypeElement d) visitExecutable
(ExecutableElement method, Object o) visitType
(TypeElement e, Object o) Methods inherited from class javax.lang.model.util.SimpleElementVisitor9
visitModule
Methods inherited from class javax.lang.model.util.SimpleElementVisitor7
visitVariable
Methods inherited from class javax.lang.model.util.SimpleElementVisitor6
defaultAction, visitPackage, visitTypeParameter
Methods 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:
visitType
in interfaceElementVisitor<Void,
Object> - Overrides:
visitType
in 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:
visitExecutable
in interfaceElementVisitor<Void,
Object> - Overrides:
visitExecutable
in 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
-