Class WebServiceClientAnnot
- java.lang.Object
- 
- org.apache.axis2.jaxws.description.builder.WebServiceClientAnnot
 
- 
- All Implemented Interfaces:
- Annotation
 
 public class WebServiceClientAnnot extends Object implements WebServiceClient 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<Annotation>annotationType()static WebServiceClientAnnotcreateFromAnnotation(Annotation annotation)Create an instance of this annotation using the values from the annotation instance passed in.static WebServiceClientAnnotcreateFromAnnotation(Annotation baseAnnotation, Annotation sparseAnnotation)Create a new instance of this annotation using the values from the two annotations passed in as arguments.static WebServiceClientAnnotcreateWebServiceClientAnnotImpl()static WebServiceClientAnnotcreateWebServiceClientAnnotImpl(String name, String targetNamespace, String wsdlLocation)Stringname()voidsetName(String name)voidsetTargetNamespace(String targetNamespace)voidsetWsdlLocation(String wsdlLocation)StringtargetNamespace()StringtoString()Convenience method for unit testing.StringwsdlLocation()- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.lang.annotation.Annotationequals, hashCode
 
- 
 
- 
- 
- 
Method Detail- 
createWebServiceClientAnnotImplpublic static WebServiceClientAnnot createWebServiceClientAnnotImpl() 
 - 
createWebServiceClientAnnotImplpublic static WebServiceClientAnnot createWebServiceClientAnnotImpl(String name, String targetNamespace, String wsdlLocation) 
 - 
createFromAnnotationpublic static WebServiceClientAnnot createFromAnnotation(Annotation annotation) Create an instance of this annotation using the values from the annotation instance passed in.- Parameters:
- annotation- Use the values to create a new instance of annotation. Note this could be an instance of the java annotation superclass as well.
- Returns:
- a new instance of this annotation or null if one could not be created with the annotation passed in.
 
 - 
createFromAnnotationpublic static WebServiceClientAnnot createFromAnnotation(Annotation baseAnnotation, Annotation sparseAnnotation) Create a new instance of this annotation using the values from the two annotations passed in as arguments. If either is null, the new annotation is created with the non-null annotation's values. If both are null, then no annotation is created. Non-empty values in the sparse annotation (if any) will override the values in the base annotation.- Parameters:
- baseAnnotation- Initial values to be used in creating the annotation. May be null.
- sparseAnnotation- Non-empty values (not null and not "") will override values in the base annotation.
- Returns:
- A new annotation created from the arguments, or null if one could not be created.
 
 - 
namepublic String name() - Returns:
- Returns the name.
 
 - 
targetNamespacepublic String targetNamespace() - Returns:
- Returns the targetNamespace.
 
 - 
wsdlLocationpublic String wsdlLocation() - Returns:
- Returns the wsdlLocation.
 
 - 
setNamepublic void setName(String name) - Parameters:
- name- The name to set.
 
 - 
setTargetNamespacepublic void setTargetNamespace(String targetNamespace) - Parameters:
- targetNamespace- The targetNamespace to set.
 
 - 
setWsdlLocationpublic void setWsdlLocation(String wsdlLocation) - Parameters:
- wsdlLocation- The wsdlLocation to set.
 
 - 
annotationTypepublic Class<Annotation> annotationType() - Specified by:
- annotationTypein interface- Annotation
 
 - 
toStringpublic String toString() Convenience method for unit testing. We will print all of the data members here.- Specified by:
- toStringin interface- Annotation
- Overrides:
- toStringin class- Object
 
 
- 
 
-