public class ConverterUtils
extends java.lang.Object
| Constructor and Description |
|---|
ConverterUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
attachFieldDescriptionComposites(DescriptionBuilderComposite composite,
java.util.List<FieldDescriptionComposite> fdcList)
This method will add FieldDescriptionComposite objects to a DescriptionBuilderComposite
|
static void |
attachHandlerChainAnnotation(TMFAnnotationComposite composite,
java.lang.reflect.AnnotatedElement annotatedElement)
This method is use to attach @HandlerChain annotation data to a composite object.
|
static void |
attachMethodDescriptionComposites(DescriptionBuilderComposite composite,
java.util.List<MethodDescriptionComposite> mdcList)
This method will add MethodDescriptionComposite objects to a DescriptionBuilderComposite
|
static void |
attachParameterDescriptionComposites(java.util.List<ParameterDescriptionComposite> pdcList,
MethodDescriptionComposite mdc)
This method will add ParameterDescriptionComposite objects to a MethodDescriptionComposite
|
static void |
attachSoapBindingAnnotation(TMAnnotationComposite composite,
java.lang.reflect.AnnotatedElement annotatedElement)
This method is use to attach @SOAPBinding annotation data to a composite object.
|
static void |
attachWebServiceRefAnnotation(TMFAnnotationComposite composite,
java.lang.reflect.AnnotatedElement annotatedElement)
This method is use to attach @WebServiceRef annotation data to a composite object.
|
static HandlerChainAnnot |
createHandlerChainAnnot(javax.jws.HandlerChain handlerChain)
This is a helper method to create a
HandlerChainAnnot since the |
static SoapBindingAnnot |
createSoapBindingAnnot(javax.jws.soap.SOAPBinding soapBinding)
This is a helper method to create a
SoapBindingAnnot since the |
static WebServiceRefAnnot |
createWebServiceRefAnnot(javax.xml.ws.WebServiceRef webServiceRef)
This is a helper method to create a
WebServiceRefAnnot since the |
static java.lang.annotation.Annotation |
getAnnotation(java.lang.Class annotationClass,
java.lang.reflect.AnnotatedElement element)
Helper method to retrieve the annotation specified by a certain
Class |
static <T extends java.lang.annotation.Annotation> |
getAnnotations(java.lang.Class<T> annotationClass,
java.lang.reflect.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 java.lang.String |
getFullType(java.lang.reflect.ParameterizedType pt,
java.lang.String paramType)
This method will construct a
String that represents the
full type of a parameterized variable. |
static java.lang.String |
getType(java.lang.reflect.Type type,
java.lang.String paramType) |
static boolean |
hasXmlListAnnotation(java.lang.annotation.Annotation[] annotations)
This method will search array of parameter annotations for the presence of the @XmlList
annotation.
|
static boolean |
isInherited(java.lang.reflect.Method method,
java.lang.String declaringClass)
This method will check to see if a method's declaring class is the Object class.
|
public static java.lang.annotation.Annotation getAnnotation(java.lang.Class annotationClass,
java.lang.reflect.AnnotatedElement element)
ClassannotationClass - - Class the annotation Classelement - - AnnotatedElement - the element on which we are looking for
the annotation (i.e. Class, Method, Field)Annotation annotation represented by the given Classpublic static <T extends java.lang.annotation.Annotation> java.util.List<java.lang.annotation.Annotation> getAnnotations(java.lang.Class<T> annotationClass,
java.lang.reflect.AnnotatedElement element)
annotationClass - element - public static HandlerChainAnnot createHandlerChainAnnot(javax.jws.HandlerChain handlerChain)
HandlerChainAnnot since thehandlerChain - - HandlerChainHandlerChainAnnotpublic static SoapBindingAnnot createSoapBindingAnnot(javax.jws.soap.SOAPBinding soapBinding)
SoapBindingAnnot since thesoapBinding - - SOAPBindingSoapBindingAnnotpublic static WebServiceRefAnnot createWebServiceRefAnnot(javax.xml.ws.WebServiceRef webServiceRef)
WebServiceRefAnnot since thewebServiceRef - - WebServiceRefWebServiceRefAnnotpublic static void attachHandlerChainAnnotation(TMFAnnotationComposite composite, java.lang.reflect.AnnotatedElement annotatedElement)
composite - - TMFAnnotationCompositeannotatedElement - - AnnotatedElementpublic static void attachSoapBindingAnnotation(TMAnnotationComposite composite, java.lang.reflect.AnnotatedElement annotatedElement)
composite - - TMAnnotationCompositeannotatedElement - - AnnotatedElementpublic static void attachWebServiceRefAnnotation(TMFAnnotationComposite composite, java.lang.reflect.AnnotatedElement annotatedElement)
composite - - TMFAnnotationCompositeannotatedElement - - AnnotatedElementpublic static void attachFieldDescriptionComposites(DescriptionBuilderComposite composite, java.util.List<FieldDescriptionComposite> fdcList)
public static void attachMethodDescriptionComposites(DescriptionBuilderComposite composite, java.util.List<MethodDescriptionComposite> mdcList)
public static void attachParameterDescriptionComposites(java.util.List<ParameterDescriptionComposite> pdcList, MethodDescriptionComposite mdc)
public static boolean isInherited(java.lang.reflect.Method method,
java.lang.String declaringClass)
method - - Methodbooleanpublic static java.lang.String getFullType(java.lang.reflect.ParameterizedType pt,
java.lang.String paramType)
String that represents the
full type of a parameterized variable.pt - - ParameterizedTypeparamType - - StringStringpublic static java.lang.String getType(java.lang.reflect.Type type,
java.lang.String paramType)
public static boolean hasXmlListAnnotation(java.lang.annotation.Annotation[] annotations)
Copyright © 2004-2025 The Apache Software Foundation. All Rights Reserved.