|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.jaxws.description.builder.converter.ConverterUtils
public class ConverterUtils
Constructor Summary | |
---|---|
ConverterUtils()
|
Method Summary | ||
---|---|---|
static void |
attachFieldDescriptionComposites(DescriptionBuilderComposite composite,
List<FieldDescriptionComposite> fdcList)
This method will add FieldDescriptionComposite objects to a DescriptionBuilderComposite |
|
static void |
attachHandlerChainAnnotation(TMFAnnotationComposite composite,
AnnotatedElement annotatedElement)
This method is use to attach @HandlerChain annotation data to a composite object. |
|
static void |
attachMethodDescriptionComposites(DescriptionBuilderComposite composite,
List<MethodDescriptionComposite> mdcList)
This method will add MethodDescriptionComposite objects to a DescriptionBuilderComposite |
|
static void |
attachParameterDescriptionComposites(List<ParameterDescriptionComposite> pdcList,
MethodDescriptionComposite mdc)
This method will add ParameterDescriptionComposite objects to a MethodDescriptionComposite |
|
static void |
attachSoapBindingAnnotation(TMAnnotationComposite composite,
AnnotatedElement annotatedElement)
This method is use to attach @SOAPBinding annotation data to a composite object. |
|
static void |
attachWebServiceRefAnnotation(TMFAnnotationComposite composite,
AnnotatedElement annotatedElement)
This method is use to attach @WebServiceRef annotation data to a composite object. |
|
static HandlerChainAnnot |
createHandlerChainAnnot(HandlerChain handlerChain)
This is a helper method to create a HandlerChainAnnot since the |
|
static SoapBindingAnnot |
createSoapBindingAnnot(SOAPBinding soapBinding)
This is a helper method to create a SoapBindingAnnot since the |
|
static WebServiceRefAnnot |
createWebServiceRefAnnot(WebServiceRef webServiceRef)
This is a helper method to create a WebServiceRefAnnot since the |
|
static Annotation |
getAnnotation(Class annotationClass,
AnnotatedElement element)
Helper method to retrieve the annotation specified by a certain Class |
|
static
|
getAnnotations(Class<T> annotationClass,
AnnotatedElement element)
Helper method to retrieve a list of all annotations that match the following conditions: - Annotations that extend the parameterized type T - Annotations that themselves are annotated with type T |
|
static String |
getFullType(ParameterizedType pt,
String paramType)
This method will construct a String that represents the
full type of a parameterized variable. |
|
static String |
getType(Type type,
String paramType)
|
|
static boolean |
hasXmlListAnnotation(Annotation[] annotations)
This method will search array of parameter annotations for the presence of the @XmlList annotation. |
|
static boolean |
isInherited(Method method,
String declaringClass)
This method will check to see if a method's declaring class is the Object class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConverterUtils()
Method Detail |
---|
public static Annotation getAnnotation(Class annotationClass, AnnotatedElement element)
Class
annotationClass
- - Class
the annotation Class
element
- - AnnotatedElement
- the element on which we are looking for
the annotation (i.e. Class, Method, Field)
Annotation
annotation represented by the given Class
public static <T extends Annotation> List<Annotation> getAnnotations(Class<T> annotationClass, AnnotatedElement element)
annotationClass
- element
-
public static HandlerChainAnnot createHandlerChainAnnot(HandlerChain handlerChain)
HandlerChainAnnot
since the
handlerChain
- - HandlerChain
HandlerChainAnnot
public static SoapBindingAnnot createSoapBindingAnnot(SOAPBinding soapBinding)
SoapBindingAnnot
since the
soapBinding
- - SOAPBinding
SoapBindingAnnot
public static WebServiceRefAnnot createWebServiceRefAnnot(WebServiceRef webServiceRef)
WebServiceRefAnnot
since the
webServiceRef
- - WebServiceRef
WebServiceRefAnnot
public static void attachHandlerChainAnnotation(TMFAnnotationComposite composite, AnnotatedElement annotatedElement)
composite
- - TMFAnnotationComposite
annotatedElement
- - AnnotatedElement
public static void attachSoapBindingAnnotation(TMAnnotationComposite composite, AnnotatedElement annotatedElement)
composite
- - TMAnnotationComposite
annotatedElement
- - AnnotatedElement
public static void attachWebServiceRefAnnotation(TMFAnnotationComposite composite, AnnotatedElement annotatedElement)
composite
- - TMFAnnotationComposite
annotatedElement
- - AnnotatedElement
public static void attachFieldDescriptionComposites(DescriptionBuilderComposite composite, List<FieldDescriptionComposite> fdcList)
public static void attachMethodDescriptionComposites(DescriptionBuilderComposite composite, List<MethodDescriptionComposite> mdcList)
public static void attachParameterDescriptionComposites(List<ParameterDescriptionComposite> pdcList, MethodDescriptionComposite mdc)
public static boolean isInherited(Method method, String declaringClass)
method
- - Method
boolean
public static String getFullType(ParameterizedType pt, String paramType)
String
that represents the
full type of a parameterized variable.
pt
- - ParameterizedType
paramType
- - String
String
public static String getType(Type type, String paramType)
public static boolean hasXmlListAnnotation(Annotation[] annotations)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |