org.apache.axis2.jaxws.description.builder
Class WebServiceClientAnnot
java.lang.Object
org.apache.axis2.jaxws.description.builder.WebServiceClientAnnot
- All Implemented Interfaces:
- java.lang.annotation.Annotation, WebServiceClient
public class WebServiceClientAnnot
- extends java.lang.Object
- implements WebServiceClient
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.annotation.Annotation |
equals, hashCode |
createWebServiceClientAnnotImpl
public static WebServiceClientAnnot createWebServiceClientAnnotImpl()
createWebServiceClientAnnotImpl
public static WebServiceClientAnnot createWebServiceClientAnnotImpl(java.lang.String name,
java.lang.String targetNamespace,
java.lang.String wsdlLocation)
createFromAnnotation
public static WebServiceClientAnnot createFromAnnotation(java.lang.annotation.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.
createFromAnnotation
public static WebServiceClientAnnot createFromAnnotation(java.lang.annotation.Annotation baseAnnotation,
java.lang.annotation.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
public java.lang.String name()
- Returns:
- Returns the name.
targetNamespace
public java.lang.String targetNamespace()
- Returns:
- Returns the targetNamespace.
wsdlLocation
public java.lang.String wsdlLocation()
- Returns:
- Returns the wsdlLocation.
setName
public void setName(java.lang.String name)
- Parameters:
name
- The name to set.
setTargetNamespace
public void setTargetNamespace(java.lang.String targetNamespace)
- Parameters:
targetNamespace
- The targetNamespace to set.
setWsdlLocation
public void setWsdlLocation(java.lang.String wsdlLocation)
- Parameters:
wsdlLocation
- The wsdlLocation to set.
annotationType
public java.lang.Class<java.lang.annotation.Annotation> annotationType()
- Specified by:
annotationType
in interface java.lang.annotation.Annotation
toString
public java.lang.String toString()
- Convenience method for unit testing. We will print all of the
data members here.
- Specified by:
toString
in interface java.lang.annotation.Annotation
- Overrides:
toString
in class java.lang.Object
Copyright © 2007 Apache Web Services Project. All Rights Reserved.