| <!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.4.2_08) on Sat Apr 22 18:56:45 PDT 2006 --> |
| <TITLE> |
| TypeDesc (Axis API) |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.apache.axis.description.TypeDesc class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="TypeDesc (Axis API)"; |
| } |
| </SCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| |
| |
| <!-- ========= 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=3 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/TypeDesc.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-all.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"> |
| <A HREF="../../../../org/apache/axis/description/ParameterDesc.html" title="class in org.apache.axis.description"><B>PREV CLASS</B></A> |
| NEXT CLASS</FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="TypeDesc.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <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.apache.axis.description</FONT> |
| <BR> |
| Class TypeDesc</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.axis.description.TypeDesc</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT>public class <B>TypeDesc</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL> |
| |
| <P> |
| A TypeDesc represents a Java<->XML data binding. It is essentially |
| a collection of FieldDescs describing how to map each field in a Java |
| class to XML. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Author:</B></DT> |
| <DD>Glen Daniels (gdaniels@apache.org)</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.apache.axis.description.TypeDesc">Serialized Form</A></DL> |
| <HR> |
| |
| <P> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| |
| |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static org.apache.commons.logging.Log</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#log">log</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.Class[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#noClasses">noClasses</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static java.lang.Object[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#noObjects">noObjects</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#TypeDesc(java.lang.Class)">TypeDesc</A></B>(java.lang.Class javaClass)</CODE> |
| |
| <BR> |
| Creates a new <code>TypeDesc</code> instance.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#TypeDesc(java.lang.Class, boolean)">TypeDesc</A></B>(java.lang.Class javaClass, |
| boolean canSearchParents)</CODE> |
| |
| <BR> |
| Creates a new <code>TypeDesc</code> instance.</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"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#addFieldDesc(org.apache.axis.description.FieldDesc)">addFieldDesc</A></B>(<A HREF="../../../../org/apache/axis/description/FieldDesc.html" title="class in org.apache.axis.description">FieldDesc</A> field)</CODE> |
| |
| <BR> |
| Add a new FieldDesc, keeping the convenience fields in sync.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html" title="class in org.apache.axis.utils">BeanPropertyDescriptor</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#getAnyContentDescriptor()">getAnyContentDescriptor</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html" title="class in org.apache.axis.utils">BeanPropertyDescriptor</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#getAnyDesc()">getAnyDesc</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#getAttributeNameForField(java.lang.String)">getAttributeNameForField</A></B>(java.lang.String fieldName)</CODE> |
| |
| <BR> |
| Get the QName associated with this field, but only if it's |
| marked as an attribute.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#getElementNameForField(java.lang.String)">getElementNameForField</A></B>(java.lang.String fieldName)</CODE> |
| |
| <BR> |
| Get the QName associated with this field, but only if it's |
| marked as an element.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/axis/description/FieldDesc.html" title="class in org.apache.axis.description">FieldDesc</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#getFieldByName(java.lang.String)">getFieldByName</A></B>(java.lang.String name)</CODE> |
| |
| <BR> |
| Get a FieldDesc by field name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#getFieldNameForAttribute(javax.xml.namespace.QName)">getFieldNameForAttribute</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> qname)</CODE> |
| |
| <BR> |
| Get the field name associated with this QName, but only if it's |
| marked as an attribute.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#getFieldNameForElement(javax.xml.namespace.QName, boolean)">getFieldNameForElement</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> qname, |
| boolean ignoreNS)</CODE> |
| |
| <BR> |
| Get the field name associated with this QName, but only if it's |
| marked as an element.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/axis/description/FieldDesc.html" title="class in org.apache.axis.description">FieldDesc</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#getFields()">getFields</A></B>()</CODE> |
| |
| <BR> |
| Obtain the current array of FieldDescs</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/axis/description/FieldDesc.html" title="class in org.apache.axis.description">FieldDesc</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#getFields(boolean)">getFields</A></B>(boolean searchParents)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.util.Map</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#getPropertyDescriptorMap()">getPropertyDescriptorMap</A></B>()</CODE> |
| |
| <BR> |
| Get/Cache the property descriptor map</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html" title="class in org.apache.axis.utils">BeanPropertyDescriptor</A>[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#getPropertyDescriptors()">getPropertyDescriptors</A></B>()</CODE> |
| |
| <BR> |
| Get/Cache the property descriptors</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>static <A HREF="../../../../org/apache/axis/description/TypeDesc.html" title="class in org.apache.axis.description">TypeDesc</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#getTypeDescForClass(java.lang.Class)">getTypeDescForClass</A></B>(java.lang.Class cls)</CODE> |
| |
| <BR> |
| Static function for centralizing access to type metadata for a |
| given class.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#getXmlType()">getXmlType</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#hasAttributes()">hasAttributes</A></B>()</CODE> |
| |
| <BR> |
| Do we have any FieldDescs marked as attributes?</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/apache/axis/description/TypeDesc.html#registerTypeDescForClass(java.lang.Class, org.apache.axis.description.TypeDesc)">registerTypeDescForClass</A></B>(java.lang.Class cls, |
| <A HREF="../../../../org/apache/axis/description/TypeDesc.html" title="class in org.apache.axis.description">TypeDesc</A> td)</CODE> |
| |
| <BR> |
| Static function to explicitly register a type description for |
| a given class.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#setFields(org.apache.axis.description.FieldDesc[])">setFields</A></B>(<A HREF="../../../../org/apache/axis/description/FieldDesc.html" title="class in org.apache.axis.description">FieldDesc</A>[] newFields)</CODE> |
| |
| <BR> |
| Replace the array of FieldDescs, making sure we keep our convenience |
| caches in sync.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/axis/description/TypeDesc.html#setXmlType(javax.xml.namespace.QName)">setXmlType</A></B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType)</CODE> |
| |
| <BR> |
| </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"> |
| <TD><B>Methods inherited from class java.lang.Object</B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="noClasses"><!-- --></A><H3> |
| noClasses</H3> |
| <PRE> |
| public static final java.lang.Class[] <B>noClasses</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="noObjects"><!-- --></A><H3> |
| noObjects</H3> |
| <PRE> |
| public static final java.lang.Object[] <B>noObjects</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="log"><!-- --></A><H3> |
| log</H3> |
| <PRE> |
| protected static org.apache.commons.logging.Log <B>log</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="TypeDesc(java.lang.Class)"><!-- --></A><H3> |
| TypeDesc</H3> |
| <PRE> |
| public <B>TypeDesc</B>(java.lang.Class javaClass)</PRE> |
| <DL> |
| <DD>Creates a new <code>TypeDesc</code> instance. The type desc can search |
| the metadata of its type'sparent classes. |
| <P> |
| <DT><B>Parameters:</B><DD><CODE>javaClass</CODE> - a <code>Class</code> value</DL> |
| <HR> |
| |
| <A NAME="TypeDesc(java.lang.Class, boolean)"><!-- --></A><H3> |
| TypeDesc</H3> |
| <PRE> |
| public <B>TypeDesc</B>(java.lang.Class javaClass, |
| boolean canSearchParents)</PRE> |
| <DL> |
| <DD>Creates a new <code>TypeDesc</code> instance. |
| <P> |
| <DT><B>Parameters:</B><DD><CODE>javaClass</CODE> - a <code>Class</code> value<DD><CODE>canSearchParents</CODE> - whether the type desc can search the metadata of |
| its type's parent classes.</DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="registerTypeDescForClass(java.lang.Class, org.apache.axis.description.TypeDesc)"><!-- --></A><H3> |
| registerTypeDescForClass</H3> |
| <PRE> |
| public static void <B>registerTypeDescForClass</B>(java.lang.Class cls, |
| <A HREF="../../../../org/apache/axis/description/TypeDesc.html" title="class in org.apache.axis.description">TypeDesc</A> td)</PRE> |
| <DL> |
| <DD>Static function to explicitly register a type description for |
| a given class. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>cls</CODE> - the Class we're registering metadata about<DD><CODE>td</CODE> - the TypeDesc containing the metadata</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTypeDescForClass(java.lang.Class)"><!-- --></A><H3> |
| getTypeDescForClass</H3> |
| <PRE> |
| public static <A HREF="../../../../org/apache/axis/description/TypeDesc.html" title="class in org.apache.axis.description">TypeDesc</A> <B>getTypeDescForClass</B>(java.lang.Class cls)</PRE> |
| <DL> |
| <DD>Static function for centralizing access to type metadata for a |
| given class. |
| |
| This checks for a static getTypeDesc() method on the |
| class or _Helper class. |
| Eventually we may extend this to provide for external |
| metadata config (via files sitting in the classpath, etc). |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAnyDesc()"><!-- --></A><H3> |
| getAnyDesc</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html" title="class in org.apache.axis.utils">BeanPropertyDescriptor</A> <B>getAnyDesc</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFields()"><!-- --></A><H3> |
| getFields</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/axis/description/FieldDesc.html" title="class in org.apache.axis.description">FieldDesc</A>[] <B>getFields</B>()</PRE> |
| <DL> |
| <DD>Obtain the current array of FieldDescs |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFields(boolean)"><!-- --></A><H3> |
| getFields</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/axis/description/FieldDesc.html" title="class in org.apache.axis.description">FieldDesc</A>[] <B>getFields</B>(boolean searchParents)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setFields(org.apache.axis.description.FieldDesc[])"><!-- --></A><H3> |
| setFields</H3> |
| <PRE> |
| public void <B>setFields</B>(<A HREF="../../../../org/apache/axis/description/FieldDesc.html" title="class in org.apache.axis.description">FieldDesc</A>[] newFields)</PRE> |
| <DL> |
| <DD>Replace the array of FieldDescs, making sure we keep our convenience |
| caches in sync. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="addFieldDesc(org.apache.axis.description.FieldDesc)"><!-- --></A><H3> |
| addFieldDesc</H3> |
| <PRE> |
| public void <B>addFieldDesc</B>(<A HREF="../../../../org/apache/axis/description/FieldDesc.html" title="class in org.apache.axis.description">FieldDesc</A> field)</PRE> |
| <DL> |
| <DD>Add a new FieldDesc, keeping the convenience fields in sync. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getElementNameForField(java.lang.String)"><!-- --></A><H3> |
| getElementNameForField</H3> |
| <PRE> |
| public <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getElementNameForField</B>(java.lang.String fieldName)</PRE> |
| <DL> |
| <DD>Get the QName associated with this field, but only if it's |
| marked as an element. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAttributeNameForField(java.lang.String)"><!-- --></A><H3> |
| getAttributeNameForField</H3> |
| <PRE> |
| public <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getAttributeNameForField</B>(java.lang.String fieldName)</PRE> |
| <DL> |
| <DD>Get the QName associated with this field, but only if it's |
| marked as an attribute. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFieldNameForElement(javax.xml.namespace.QName, boolean)"><!-- --></A><H3> |
| getFieldNameForElement</H3> |
| <PRE> |
| public java.lang.String <B>getFieldNameForElement</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> qname, |
| boolean ignoreNS)</PRE> |
| <DL> |
| <DD>Get the field name associated with this QName, but only if it's |
| marked as an element. |
| |
| If the "ignoreNS" argument is true, just compare localNames. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFieldNameForAttribute(javax.xml.namespace.QName)"><!-- --></A><H3> |
| getFieldNameForAttribute</H3> |
| <PRE> |
| public java.lang.String <B>getFieldNameForAttribute</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> qname)</PRE> |
| <DL> |
| <DD>Get the field name associated with this QName, but only if it's |
| marked as an attribute. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFieldByName(java.lang.String)"><!-- --></A><H3> |
| getFieldByName</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/axis/description/FieldDesc.html" title="class in org.apache.axis.description">FieldDesc</A> <B>getFieldByName</B>(java.lang.String name)</PRE> |
| <DL> |
| <DD>Get a FieldDesc by field name. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="hasAttributes()"><!-- --></A><H3> |
| hasAttributes</H3> |
| <PRE> |
| public boolean <B>hasAttributes</B>()</PRE> |
| <DL> |
| <DD>Do we have any FieldDescs marked as attributes? |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getXmlType()"><!-- --></A><H3> |
| getXmlType</H3> |
| <PRE> |
| public <A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>getXmlType</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setXmlType(javax.xml.namespace.QName)"><!-- --></A><H3> |
| setXmlType</H3> |
| <PRE> |
| public void <B>setXmlType</B>(<A HREF="../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPropertyDescriptors()"><!-- --></A><H3> |
| getPropertyDescriptors</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html" title="class in org.apache.axis.utils">BeanPropertyDescriptor</A>[] <B>getPropertyDescriptors</B>()</PRE> |
| <DL> |
| <DD>Get/Cache the property descriptors |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>PropertyDescriptor</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAnyContentDescriptor()"><!-- --></A><H3> |
| getAnyContentDescriptor</H3> |
| <PRE> |
| public <A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html" title="class in org.apache.axis.utils">BeanPropertyDescriptor</A> <B>getAnyContentDescriptor</B>()</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPropertyDescriptorMap()"><!-- --></A><H3> |
| getPropertyDescriptorMap</H3> |
| <PRE> |
| public java.util.Map <B>getPropertyDescriptorMap</B>()</PRE> |
| <DL> |
| <DD>Get/Cache the property descriptor map |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>Map with key=propertyName, value=descriptor</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=3 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/TypeDesc.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-all.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"> |
| <A HREF="../../../../org/apache/axis/description/ParameterDesc.html" title="class in org.apache.axis.description"><B>PREV CLASS</B></A> |
| NEXT CLASS</FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="TypeDesc.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <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> |
| Copyright © 2005 Apache Web Services Project. All Rights Reserved. |
| </BODY> |
| </HTML> |