Class WebServiceClientAnnot
java.lang.Object
org.apache.axis2.jaxws.description.builder.WebServiceClientAnnot
- All Implemented Interfaces:
Annotation
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 WebServiceClientAnnotstatic WebServiceClientAnnotcreateWebServiceClientAnnotImpl(String name, String targetNamespace, String wsdlLocation) name()voidvoidsetTargetNamespace(String targetNamespace) voidsetWsdlLocation(String wsdlLocation) toString()Convenience method for unit testing.
-
Method Details
-
createWebServiceClientAnnotImpl
-
createWebServiceClientAnnotImpl
public static WebServiceClientAnnot createWebServiceClientAnnotImpl(String name, String targetNamespace, String wsdlLocation) -
createFromAnnotation
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.
-
createFromAnnotation
public 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.
-
name
- Returns:
- Returns the name.
-
targetNamespace
- Returns:
- Returns the targetNamespace.
-
wsdlLocation
- Returns:
- Returns the wsdlLocation.
-
setName
- Parameters:
name- The name to set.
-
setTargetNamespace
- Parameters:
targetNamespace- The targetNamespace to set.
-
setWsdlLocation
- Parameters:
wsdlLocation- The wsdlLocation to set.
-
annotationType
- Specified by:
annotationTypein interfaceAnnotation
-
toString
Convenience method for unit testing. We will print all of the data members here.- Specified by:
toStringin interfaceAnnotation- Overrides:
toStringin classObject
-