| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.6.0_14) on Wed Apr 07 07:58:13 BST 2010 --> |
| <TITLE> |
| AnnotationFactory |
| </TITLE> |
| |
| <META NAME="date" CONTENT="2010-04-07"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="AnnotationFactory"; |
| } |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| <HR> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AnnotationFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| PREV CLASS |
| <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationGeneratorException.html" title="class in org.eclipse.jst.ws.jaxws.utils.annotations"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../index.html?org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationFactory.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AnnotationFactory.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.eclipse.jst.ws.jaxws.utils.annotations</FONT> |
| <BR> |
| Class AnnotationFactory</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by "><B>org.eclipse.jst.ws.jaxws.utils.annotations.AnnotationFactory</B> |
| </PRE> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>AnnotationFactory</B><DT>extends java.lang.Object</DL> |
| </PRE> |
| |
| <P> |
| Factory class containing common factory and utility methods Annotation processing. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Author:</B></DT> |
| <DD>Plamen Pavlov</DD> |
| </DL> |
| <HR> |
| |
| <P> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationFactory.html#AnnotationFactory()">AnnotationFactory</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IAnnotation.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IAnnotation</A><? extends org.eclipse.jdt.core.IJavaElement></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationFactory.html#createAnnotation(java.lang.String, org.eclipse.jdt.core.IJavaElement, java.util.Set)">createAnnotation</A></B>(java.lang.String annotationQName, |
| org.eclipse.jdt.core.IJavaElement appliedElement, |
| java.util.Set<<A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IParamValuePair.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IParamValuePair</A>> paramValuePairs)</CODE> |
| |
| <BR> |
| Creates <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IAnnotation.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IAnnotation</CODE></A> instance that references <code>appliedElement</code> java element</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> |
| <TR ALIGN="right" VALIGN=""> |
| <TD NOWRAP><FONT SIZE="-1"> |
| <CODE><T extends org.eclipse.jdt.core.IJavaElement> |
| <BR> |
| <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IAnnotation.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IAnnotation</A><T></CODE></FONT></TD> |
| </TR> |
| </TABLE> |
| </CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationFactory.html#createAnnotation(java.lang.String, java.util.Set, T)">createAnnotation</A></B>(java.lang.String annotationQName, |
| java.util.Set<<A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IParamValuePair.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IParamValuePair</A>> paramValuePairs, |
| T appliedElement)</CODE> |
| |
| <BR> |
| Creates complex Annotation, e.g.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IAnnotationInspector.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IAnnotationInspector</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationFactory.html#createAnnotationInspector(org.eclipse.jdt.core.IType)">createAnnotationInspector</A></B>(org.eclipse.jdt.core.IType type)</CODE> |
| |
| <BR> |
| Create instance of IAnnotationInspector for a specific IType.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationFactory.html#createArrayValue(java.util.Set)">createArrayValue</A></B>(java.util.Set<<A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A>> values)</CODE> |
| |
| <BR> |
| Creates <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A> instance using provided <code>values</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationFactory.html#createBooleanValue(boolean)">createBooleanValue</A></B>(boolean value)</CODE> |
| |
| <BR> |
| Creates <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A> instance out of <code>value</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationFactory.html#createClassValue(java.lang.String)">createClassValue</A></B>(java.lang.String value)</CODE> |
| |
| <BR> |
| Creates <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A> instance out of <code>value</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationFactory.html#createIntegerValue(java.lang.String)">createIntegerValue</A></B>(java.lang.String value)</CODE> |
| |
| <BR> |
| Creates <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A> instance out of <code>value</code>.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IParamValuePair.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IParamValuePair</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationFactory.html#createParamValuePairValue(java.lang.String, org.eclipse.jst.ws.jaxws.utils.annotations.IValue)">createParamValuePairValue</A></B>(java.lang.String param, |
| <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A> value)</CODE> |
| |
| <BR> |
| Creates param-value pair needed in complex Annotations.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationFactory.html#createQualifiedNameValue(java.lang.String)">createQualifiedNameValue</A></B>(java.lang.String qualifiedName)</CODE> |
| |
| <BR> |
| Creates <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A> instance using provided <code>qualifiedName</code> fully qualified name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationFactory.html#createStringValue(java.lang.String)">createStringValue</A></B>(java.lang.String value)</CODE> |
| |
| <BR> |
| Creates <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A> instance out of <code>value</code> content.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationFactory.html#removeAnnotations(org.eclipse.jdt.core.IJavaElement, java.util.Set)">removeAnnotations</A></B>(org.eclipse.jdt.core.IJavaElement javaElement, |
| java.util.Set<java.lang.String> annotations)</CODE> |
| |
| <BR> |
| Removes Annotations with names contained in <code>annotations</code> from <code>javaElement</code> and its children, if such exist.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationFactory.html#removeAnnotationsFromJavaElement(org.eclipse.jdt.core.IJavaElement)">removeAnnotationsFromJavaElement</A></B>(org.eclipse.jdt.core.IJavaElement javaElement)</CODE> |
| |
| <BR> |
| Removes all Annotations from <code>javaElement</code>.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="AnnotationFactory()"><!-- --></A><H3> |
| AnnotationFactory</H3> |
| <PRE> |
| public <B>AnnotationFactory</B>()</PRE> |
| <DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="createAnnotation(java.lang.String,java.util.Set,org.eclipse.jdt.core.IJavaElement)"><!-- --></A><A NAME="createAnnotation(java.lang.String, java.util.Set, T)"><!-- --></A><H3> |
| createAnnotation</H3> |
| <PRE> |
| public static <T extends org.eclipse.jdt.core.IJavaElement> <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IAnnotation.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IAnnotation</A><T> <B>createAnnotation</B>(java.lang.String annotationQName, |
| java.util.Set<<A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IParamValuePair.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IParamValuePair</A>> paramValuePairs, |
| T appliedElement)</PRE> |
| <DL> |
| <DD>Creates complex Annotation, e.g. Annotation of kind \@WebService(param1="value1", param2="value2"). |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>annotationQName</CODE> - <DD><CODE>paramValuePairs</CODE> - |
| <DT><B>Returns:</B><DD>Instantiated Annotation of type IComplexAnnotation. |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.NullPointerException</CODE> - in case <tt>annotationQName</tt> or <tt>paramValuePairs</tt> are null. |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - in case <tt>annotationQName</tt> is empty String.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createAnnotation(java.lang.String, org.eclipse.jdt.core.IJavaElement, java.util.Set)"><!-- --></A><H3> |
| createAnnotation</H3> |
| <PRE> |
| public static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IAnnotation.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IAnnotation</A><? extends org.eclipse.jdt.core.IJavaElement> <B>createAnnotation</B>(java.lang.String annotationQName, |
| org.eclipse.jdt.core.IJavaElement appliedElement, |
| java.util.Set<<A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IParamValuePair.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IParamValuePair</A>> paramValuePairs)</PRE> |
| <DL> |
| <DD>Creates <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IAnnotation.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IAnnotation</CODE></A> instance that references <code>appliedElement</code> java element |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>annotationQName</CODE> - the annotation name<DD><CODE>appliedElement</CODE> - the java element that this annotation is applied on<DD><CODE>paramValuePairs</CODE> - the annotation attributes |
| <DT><B>Returns:</B><DD><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IAnnotation.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IAnnotation</CODE></A> instance |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.NullPointerException</CODE> - in case some of params is <code>null</code> |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - in case <code>annotationQName</code> is empty string</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createParamValuePairValue(java.lang.String, org.eclipse.jst.ws.jaxws.utils.annotations.IValue)"><!-- --></A><H3> |
| createParamValuePairValue</H3> |
| <PRE> |
| public static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IParamValuePair.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IParamValuePair</A> <B>createParamValuePairValue</B>(java.lang.String param, |
| <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A> value)</PRE> |
| <DL> |
| <DD>Creates param-value pair needed in complex Annotations. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>param</CODE> - <DD><CODE>value</CODE> - |
| <DT><B>Returns:</B><DD>instance of IParamValuePair |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.NullPointerException</CODE> - in case <code>param</code> or <code>value</code> is <code>null</code>. |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - in case <code>param</code> parameter is empty String.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createArrayValue(java.util.Set)"><!-- --></A><H3> |
| createArrayValue</H3> |
| <PRE> |
| public static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A> <B>createArrayValue</B>(java.util.Set<<A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A>> values)</PRE> |
| <DL> |
| <DD>Creates <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A> instance using provided <code>values</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>values</CODE> - |
| <DT><B>Returns:</B><DD>instance of <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A> |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.NullPointerException</CODE> - in case <code>values</code> is null. |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - in case <code>values</code> is empty Set.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createBooleanValue(boolean)"><!-- --></A><H3> |
| createBooleanValue</H3> |
| <PRE> |
| public static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A> <B>createBooleanValue</B>(boolean value)</PRE> |
| <DL> |
| <DD>Creates <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A> instance out of <code>value</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>value</CODE> - |
| <DT><B>Returns:</B><DD>instance of <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createClassValue(java.lang.String)"><!-- --></A><H3> |
| createClassValue</H3> |
| <PRE> |
| public static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A> <B>createClassValue</B>(java.lang.String value)</PRE> |
| <DL> |
| <DD>Creates <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A> instance out of <code>value</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>value</CODE> - |
| <DT><B>Returns:</B><DD>instance of <CODE>String</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createIntegerValue(java.lang.String)"><!-- --></A><H3> |
| createIntegerValue</H3> |
| <PRE> |
| public static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A> <B>createIntegerValue</B>(java.lang.String value)</PRE> |
| <DL> |
| <DD>Creates <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A> instance out of <code>value</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>value</CODE> - |
| <DT><B>Returns:</B><DD>instance of <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createQualifiedNameValue(java.lang.String)"><!-- --></A><H3> |
| createQualifiedNameValue</H3> |
| <PRE> |
| public static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A> <B>createQualifiedNameValue</B>(java.lang.String qualifiedName)</PRE> |
| <DL> |
| <DD>Creates <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A> instance using provided <code>qualifiedName</code> fully qualified name. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>qualifiedName</CODE> - |
| <DT><B>Returns:</B><DD>instance of <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A> |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.NullPointerException</CODE> - in case <tt>qualifiedName</tt> is null. |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - in case <code>qualifiedName</code> is not in correct form e.g. could not be empty String, shold be qualified.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createStringValue(java.lang.String)"><!-- --></A><H3> |
| createStringValue</H3> |
| <PRE> |
| public static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IValue</A> <B>createStringValue</B>(java.lang.String value)</PRE> |
| <DL> |
| <DD>Creates <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A> instance out of <code>value</code> content. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>value</CODE> - |
| <DT><B>Returns:</B><DD>instance of <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IValue.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations"><CODE>IValue</CODE></A> |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.NullPointerException</CODE> - in case <tt>value</tt> is null.</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeAnnotationsFromJavaElement(org.eclipse.jdt.core.IJavaElement)"><!-- --></A><H3> |
| removeAnnotationsFromJavaElement</H3> |
| <PRE> |
| public static void <B>removeAnnotationsFromJavaElement</B>(org.eclipse.jdt.core.IJavaElement javaElement) |
| throws <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationGeneratorException.html" title="class in org.eclipse.jst.ws.jaxws.utils.annotations">AnnotationGeneratorException</A></PRE> |
| <DL> |
| <DD>Removes all Annotations from <code>javaElement</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>javaElement</CODE> - |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.NullPointerException</CODE> - if <tt>javaElement</tt> is null. |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - in case <code>javaElement</code> is not of the correct type. Supported types are: Itype, IMethod, IField, ITypeParameter |
| <DD><CODE><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationGeneratorException.html" title="class in org.eclipse.jst.ws.jaxws.utils.annotations">AnnotationGeneratorException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="removeAnnotations(org.eclipse.jdt.core.IJavaElement, java.util.Set)"><!-- --></A><H3> |
| removeAnnotations</H3> |
| <PRE> |
| public static void <B>removeAnnotations</B>(org.eclipse.jdt.core.IJavaElement javaElement, |
| java.util.Set<java.lang.String> annotations) |
| throws <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationGeneratorException.html" title="class in org.eclipse.jst.ws.jaxws.utils.annotations">AnnotationGeneratorException</A></PRE> |
| <DL> |
| <DD>Removes Annotations with names contained in <code>annotations</code> from <code>javaElement</code> and its children, if such exist. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>javaElement</CODE> - <DD><CODE>annotations</CODE> - |
| <DT><B>Throws:</B> |
| <DD><CODE>java.lang.NullPointerException</CODE> - if <tt>javaElement</tt> or <tt>annotations</tt> is null. |
| <DD><CODE>java.lang.IllegalArgumentException</CODE> - in case <code>javaElement</code> is not of the correct type. Supported types are: Itype, IMethod, IField, ITypeParameter |
| <DD><CODE><A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationGeneratorException.html" title="class in org.eclipse.jst.ws.jaxws.utils.annotations">AnnotationGeneratorException</A></CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="createAnnotationInspector(org.eclipse.jdt.core.IType)"><!-- --></A><H3> |
| createAnnotationInspector</H3> |
| <PRE> |
| public static <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/IAnnotationInspector.html" title="interface in org.eclipse.jst.ws.jaxws.utils.annotations">IAnnotationInspector</A> <B>createAnnotationInspector</B>(org.eclipse.jdt.core.IType type)</PRE> |
| <DL> |
| <DD>Create instance of IAnnotationInspector for a specific IType. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - - IType, which will be inspected. |
| <DT><B>Returns:</B><DD>IAnnotationInspector</DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AnnotationFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| PREV CLASS |
| <A HREF="../../../../../../../org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationGeneratorException.html" title="class in org.eclipse.jst.ws.jaxws.utils.annotations"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../../../index.html?org/eclipse/jst/ws/jaxws/utils/annotations/AnnotationFactory.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="AnnotationFactory.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| |
| </BODY> |
| </HTML> |