| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
<!--NewPage--> |
| 3 |
<HTML> |
| 4 |
<HEAD> |
| 5 |
<!-- Generated by javadoc (build 1.4.2_08) on Sat Apr 22 18:57:23 PDT 2006 --> |
| 6 |
<TITLE> |
| 7 |
BeanPropertyDescriptor (Axis API) |
| 8 |
</TITLE> |
| 9 |
|
| 10 |
<META NAME="keywords" CONTENT="org.apache.axis.utils.BeanPropertyDescriptor class"> |
| 11 |
|
| 12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
| 13 |
|
| 14 |
<SCRIPT type="text/javascript"> |
| 15 |
function windowTitle() |
| 16 |
{ |
| 17 |
parent.document.title="BeanPropertyDescriptor (Axis API)"; |
| 18 |
} |
| 19 |
</SCRIPT> |
| 20 |
|
| 21 |
</HEAD> |
| 22 |
|
| 23 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
| 24 |
|
| 25 |
|
| 26 |
<!-- ========= START OF TOP NAVBAR ======= --> |
| 27 |
<A NAME="navbar_top"><!-- --></A> |
| 28 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| 29 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 30 |
<TR> |
| 31 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 32 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
| 33 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 34 |
<TR ALIGN="center" VALIGN="top"> |
| 35 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 36 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 37 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BeanPropertyDescriptor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 39 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 40 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 42 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 43 |
</TR> |
| 44 |
</TABLE> |
| 45 |
</TD> |
| 46 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 47 |
</EM> |
| 48 |
</TD> |
| 49 |
</TR> |
| 50 |
|
| 51 |
<TR> |
| 52 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 53 |
<A HREF="../../../../org/apache/axis/utils/ArrayUtil.NonConvertable.html" title="class in org.apache.axis.utils"><B>PREV CLASS</B></A> |
| 54 |
<A HREF="../../../../org/apache/axis/utils/BeanUtils.html" title="class in org.apache.axis.utils"><B>NEXT CLASS</B></A></FONT></TD> |
| 55 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 56 |
<A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> |
| 57 |
<A HREF="BeanPropertyDescriptor.html" target="_top"><B>NO FRAMES</B></A> |
| 58 |
<SCRIPT type="text/javascript"> |
| 59 |
<!-- |
| 60 |
if(window==top) { |
| 61 |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 62 |
} |
| 63 |
//--> |
| 64 |
</SCRIPT> |
| 65 |
<NOSCRIPT> |
| 66 |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 67 |
</NOSCRIPT> |
| 68 |
|
| 69 |
</FONT></TD> |
| 70 |
</TR> |
| 71 |
<TR> |
| 72 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 73 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 74 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 75 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 76 |
</TR> |
| 77 |
</TABLE> |
| 78 |
<A NAME="skip-navbar_top"></A> |
| 79 |
<!-- ========= END OF TOP NAVBAR ========= --> |
| 80 |
|
| 81 |
<HR> |
| 82 |
<!-- ======== START OF CLASS DATA ======== --> |
| 83 |
<H2> |
| 84 |
<FONT SIZE="-1"> |
| 85 |
org.apache.axis.utils</FONT> |
| 86 |
<BR> |
| 87 |
Class BeanPropertyDescriptor</H2> |
| 88 |
<PRE> |
| 89 |
java.lang.Object |
| 90 |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.axis.utils.BeanPropertyDescriptor</B> |
| 91 |
</PRE> |
| 92 |
<DL> |
| 93 |
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/axis/utils/FieldPropertyDescriptor.html" title="class in org.apache.axis.utils">FieldPropertyDescriptor</A></DD> |
| 94 |
</DL> |
| 95 |
<HR> |
| 96 |
<DL> |
| 97 |
<DT>public class <B>BeanPropertyDescriptor</B><DT>extends java.lang.Object</DL> |
| 98 |
|
| 99 |
<P> |
| 100 |
This class represents a field/property in a value type (a class with either |
| 101 |
bean-style getters/setters or public fields). |
| 102 |
|
| 103 |
It is essentially a thin wrapper around the PropertyDescriptor from the |
| 104 |
JavaBean utilities. We wrap it with this class so that we can create |
| 105 |
the subclass FieldPropertyDescriptor and access public fields (who |
| 106 |
wouldn't have PropertyDescriptors normally) via the same interface. |
| 107 |
|
| 108 |
There are also some interesting tricks where indexed properties are |
| 109 |
concerned, mostly involving the fact that we manage the arrays here |
| 110 |
rather than relying on the value type class to do it itself. |
| 111 |
<P> |
| 112 |
|
| 113 |
<P> |
| 114 |
<DL> |
| 115 |
<DT><B>Author:</B></DT> |
| 116 |
<DD>Rich Scheuerle <[email protected]>, Glen Daniels ([email protected])</DD> |
| 117 |
</DL> |
| 118 |
<HR> |
| 119 |
|
| 120 |
<P> |
| 121 |
<!-- ======== NESTED CLASS SUMMARY ======== --> |
| 122 |
|
| 123 |
|
| 124 |
<!-- =========== FIELD SUMMARY =========== --> |
| 125 |
|
| 126 |
<A NAME="field_summary"><!-- --></A> |
| 127 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 128 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 129 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 130 |
<B>Field Summary</B></FONT></TD> |
| 131 |
</TR> |
| 132 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 133 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 134 |
<CODE>protected static org.apache.commons.logging.Log</CODE></FONT></TD> |
| 135 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#log">log</A></B></CODE> |
| 136 |
|
| 137 |
<BR> |
| 138 |
</TD> |
| 139 |
</TR> |
| 140 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 141 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 142 |
<CODE>protected java.beans.PropertyDescriptor</CODE></FONT></TD> |
| 143 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#myPD">myPD</A></B></CODE> |
| 144 |
|
| 145 |
<BR> |
| 146 |
</TD> |
| 147 |
</TR> |
| 148 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 149 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 150 |
<CODE>protected static java.lang.Object[]</CODE></FONT></TD> |
| 151 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#noArgs">noArgs</A></B></CODE> |
| 152 |
|
| 153 |
<BR> |
| 154 |
</TD> |
| 155 |
</TR> |
| 156 |
</TABLE> |
| 157 |
|
| 158 |
<!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| 159 |
|
| 160 |
<A NAME="constructor_summary"><!-- --></A> |
| 161 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 162 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 163 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 164 |
<B>Constructor Summary</B></FONT></TD> |
| 165 |
</TR> |
| 166 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 167 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 168 |
<CODE>protected </CODE></FONT></TD> |
| 169 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#BeanPropertyDescriptor()">BeanPropertyDescriptor</A></B>()</CODE> |
| 170 |
|
| 171 |
<BR> |
| 172 |
Protected constructor for use by our children</TD> |
| 173 |
</TR> |
| 174 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 175 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 176 |
<CODE> </CODE></FONT></TD> |
| 177 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#BeanPropertyDescriptor(java.beans.PropertyDescriptor)">BeanPropertyDescriptor</A></B>(java.beans.PropertyDescriptor pd)</CODE> |
| 178 |
|
| 179 |
<BR> |
| 180 |
Constructor (takes a PropertyDescriptor)</TD> |
| 181 |
</TR> |
| 182 |
</TABLE> |
| 183 |
|
| 184 |
<!-- ========== METHOD SUMMARY =========== --> |
| 185 |
|
| 186 |
<A NAME="method_summary"><!-- --></A> |
| 187 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 188 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 189 |
<TD COLSPAN=2><FONT SIZE="+2"> |
| 190 |
<B>Method Summary</B></FONT></TD> |
| 191 |
</TR> |
| 192 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 193 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 194 |
<CODE> java.lang.Object</CODE></FONT></TD> |
| 195 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#get(java.lang.Object)">get</A></B>(java.lang.Object obj)</CODE> |
| 196 |
|
| 197 |
<BR> |
| 198 |
Get the property value</TD> |
| 199 |
</TR> |
| 200 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 201 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 202 |
<CODE> java.lang.Object</CODE></FONT></TD> |
| 203 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#get(java.lang.Object, int)">get</A></B>(java.lang.Object obj, |
| 204 |
int i)</CODE> |
| 205 |
|
| 206 |
<BR> |
| 207 |
Get an indexed property</TD> |
| 208 |
</TR> |
| 209 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 210 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 211 |
<CODE> java.lang.Class</CODE></FONT></TD> |
| 212 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#getActualType()">getActualType</A></B>()</CODE> |
| 213 |
|
| 214 |
<BR> |
| 215 |
</TD> |
| 216 |
</TR> |
| 217 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 218 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 219 |
<CODE> java.lang.String</CODE></FONT></TD> |
| 220 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#getName()">getName</A></B>()</CODE> |
| 221 |
|
| 222 |
<BR> |
| 223 |
Get our property name.</TD> |
| 224 |
</TR> |
| 225 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 226 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 227 |
<CODE> java.lang.Class</CODE></FONT></TD> |
| 228 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#getType()">getType</A></B>()</CODE> |
| 229 |
|
| 230 |
<BR> |
| 231 |
Get the type of a property</TD> |
| 232 |
</TR> |
| 233 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 234 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 235 |
<CODE>protected void</CODE></FONT></TD> |
| 236 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#growArrayToSize(java.lang.Object, java.lang.Class, int)">growArrayToSize</A></B>(java.lang.Object obj, |
| 237 |
java.lang.Class componentType, |
| 238 |
int i)</CODE> |
| 239 |
|
| 240 |
<BR> |
| 241 |
Grow the array</TD> |
| 242 |
</TR> |
| 243 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 244 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 245 |
<CODE> boolean</CODE></FONT></TD> |
| 246 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#isArray()">isArray</A></B>()</CODE> |
| 247 |
|
| 248 |
<BR> |
| 249 |
Query if property is an array (excluded byte[]).</TD> |
| 250 |
</TR> |
| 251 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 252 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 253 |
<CODE> boolean</CODE></FONT></TD> |
| 254 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#isIndexed()">isIndexed</A></B>()</CODE> |
| 255 |
|
| 256 |
<BR> |
| 257 |
Query if property is indexed</TD> |
| 258 |
</TR> |
| 259 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 260 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 261 |
<CODE> boolean</CODE></FONT></TD> |
| 262 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#isIndexedOrArray()">isIndexedOrArray</A></B>()</CODE> |
| 263 |
|
| 264 |
<BR> |
| 265 |
Query if property is indexed or if it' an array.</TD> |
| 266 |
</TR> |
| 267 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 268 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 269 |
<CODE> boolean</CODE></FONT></TD> |
| 270 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#isReadable()">isReadable</A></B>()</CODE> |
| 271 |
|
| 272 |
<BR> |
| 273 |
Query if property is readable</TD> |
| 274 |
</TR> |
| 275 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 276 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 277 |
<CODE> boolean</CODE></FONT></TD> |
| 278 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#isWriteable()">isWriteable</A></B>()</CODE> |
| 279 |
|
| 280 |
<BR> |
| 281 |
Query if property is writeable</TD> |
| 282 |
</TR> |
| 283 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 284 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 285 |
<CODE> void</CODE></FONT></TD> |
| 286 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#set(java.lang.Object, int, java.lang.Object)">set</A></B>(java.lang.Object obj, |
| 287 |
int i, |
| 288 |
java.lang.Object newValue)</CODE> |
| 289 |
|
| 290 |
<BR> |
| 291 |
Set an indexed property value</TD> |
| 292 |
</TR> |
| 293 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 294 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 295 |
<CODE> void</CODE></FONT></TD> |
| 296 |
<TD><CODE><B><A HREF="../../../../org/apache/axis/utils/BeanPropertyDescriptor.html#set(java.lang.Object, java.lang.Object)">set</A></B>(java.lang.Object obj, |
| 297 |
java.lang.Object newValue)</CODE> |
| 298 |
|
| 299 |
<BR> |
| 300 |
Set the property value</TD> |
| 301 |
</TR> |
| 302 |
</TABLE> |
| 303 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| 304 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 305 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 306 |
<TD><B>Methods inherited from class java.lang.Object</B></TD> |
| 307 |
</TR> |
| 308 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 309 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| 310 |
</TR> |
| 311 |
</TABLE> |
| 312 |
|
| 313 |
<P> |
| 314 |
|
| 315 |
<!-- ============ FIELD DETAIL =========== --> |
| 316 |
|
| 317 |
<A NAME="field_detail"><!-- --></A> |
| 318 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 319 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 320 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 321 |
<B>Field Detail</B></FONT></TD> |
| 322 |
</TR> |
| 323 |
</TABLE> |
| 324 |
|
| 325 |
<A NAME="log"><!-- --></A><H3> |
| 326 |
log</H3> |
| 327 |
<PRE> |
| 328 |
protected static org.apache.commons.logging.Log <B>log</B></PRE> |
| 329 |
<DL> |
| 330 |
<DL> |
| 331 |
</DL> |
| 332 |
</DL> |
| 333 |
<HR> |
| 334 |
|
| 335 |
<A NAME="myPD"><!-- --></A><H3> |
| 336 |
myPD</H3> |
| 337 |
<PRE> |
| 338 |
protected java.beans.PropertyDescriptor <B>myPD</B></PRE> |
| 339 |
<DL> |
| 340 |
<DL> |
| 341 |
</DL> |
| 342 |
</DL> |
| 343 |
<HR> |
| 344 |
|
| 345 |
<A NAME="noArgs"><!-- --></A><H3> |
| 346 |
noArgs</H3> |
| 347 |
<PRE> |
| 348 |
protected static final java.lang.Object[] <B>noArgs</B></PRE> |
| 349 |
<DL> |
| 350 |
<DL> |
| 351 |
</DL> |
| 352 |
</DL> |
| 353 |
|
| 354 |
<!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 355 |
|
| 356 |
<A NAME="constructor_detail"><!-- --></A> |
| 357 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 358 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 359 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 360 |
<B>Constructor Detail</B></FONT></TD> |
| 361 |
</TR> |
| 362 |
</TABLE> |
| 363 |
|
| 364 |
<A NAME="BeanPropertyDescriptor(java.beans.PropertyDescriptor)"><!-- --></A><H3> |
| 365 |
BeanPropertyDescriptor</H3> |
| 366 |
<PRE> |
| 367 |
public <B>BeanPropertyDescriptor</B>(java.beans.PropertyDescriptor pd)</PRE> |
| 368 |
<DL> |
| 369 |
<DD>Constructor (takes a PropertyDescriptor) |
| 370 |
<P> |
| 371 |
<DT><B>Parameters:</B><DD><CODE>pd</CODE> - </DL> |
| 372 |
<HR> |
| 373 |
|
| 374 |
<A NAME="BeanPropertyDescriptor()"><!-- --></A><H3> |
| 375 |
BeanPropertyDescriptor</H3> |
| 376 |
<PRE> |
| 377 |
protected <B>BeanPropertyDescriptor</B>()</PRE> |
| 378 |
<DL> |
| 379 |
<DD>Protected constructor for use by our children |
| 380 |
<P> |
| 381 |
</DL> |
| 382 |
|
| 383 |
<!-- ============ METHOD DETAIL ========== --> |
| 384 |
|
| 385 |
<A NAME="method_detail"><!-- --></A> |
| 386 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 387 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 388 |
<TD COLSPAN=1><FONT SIZE="+2"> |
| 389 |
<B>Method Detail</B></FONT></TD> |
| 390 |
</TR> |
| 391 |
</TABLE> |
| 392 |
|
| 393 |
<A NAME="getName()"><!-- --></A><H3> |
| 394 |
getName</H3> |
| 395 |
<PRE> |
| 396 |
public java.lang.String <B>getName</B>()</PRE> |
| 397 |
<DL> |
| 398 |
<DD>Get our property name. |
| 399 |
<P> |
| 400 |
<DD><DL> |
| 401 |
</DL> |
| 402 |
</DD> |
| 403 |
</DL> |
| 404 |
<HR> |
| 405 |
|
| 406 |
<A NAME="isReadable()"><!-- --></A><H3> |
| 407 |
isReadable</H3> |
| 408 |
<PRE> |
| 409 |
public boolean <B>isReadable</B>()</PRE> |
| 410 |
<DL> |
| 411 |
<DD>Query if property is readable |
| 412 |
<P> |
| 413 |
<DD><DL> |
| 414 |
|
| 415 |
<DT><B>Returns:</B><DD>true if readable</DL> |
| 416 |
</DD> |
| 417 |
</DL> |
| 418 |
<HR> |
| 419 |
|
| 420 |
<A NAME="isWriteable()"><!-- --></A><H3> |
| 421 |
isWriteable</H3> |
| 422 |
<PRE> |
| 423 |
public boolean <B>isWriteable</B>()</PRE> |
| 424 |
<DL> |
| 425 |
<DD>Query if property is writeable |
| 426 |
<P> |
| 427 |
<DD><DL> |
| 428 |
|
| 429 |
<DT><B>Returns:</B><DD>true if writeable</DL> |
| 430 |
</DD> |
| 431 |
</DL> |
| 432 |
<HR> |
| 433 |
|
| 434 |
<A NAME="isIndexed()"><!-- --></A><H3> |
| 435 |
isIndexed</H3> |
| 436 |
<PRE> |
| 437 |
public boolean <B>isIndexed</B>()</PRE> |
| 438 |
<DL> |
| 439 |
<DD>Query if property is indexed |
| 440 |
<P> |
| 441 |
<DD><DL> |
| 442 |
|
| 443 |
<DT><B>Returns:</B><DD>true if indexed methods exist</DL> |
| 444 |
</DD> |
| 445 |
</DL> |
| 446 |
<HR> |
| 447 |
|
| 448 |
<A NAME="isIndexedOrArray()"><!-- --></A><H3> |
| 449 |
isIndexedOrArray</H3> |
| 450 |
<PRE> |
| 451 |
public boolean <B>isIndexedOrArray</B>()</PRE> |
| 452 |
<DL> |
| 453 |
<DD>Query if property is indexed or if it' an array. |
| 454 |
<P> |
| 455 |
<DD><DL> |
| 456 |
|
| 457 |
<DT><B>Returns:</B><DD>true if indexed methods exist or if it's an array</DL> |
| 458 |
</DD> |
| 459 |
</DL> |
| 460 |
<HR> |
| 461 |
|
| 462 |
<A NAME="isArray()"><!-- --></A><H3> |
| 463 |
isArray</H3> |
| 464 |
<PRE> |
| 465 |
public boolean <B>isArray</B>()</PRE> |
| 466 |
<DL> |
| 467 |
<DD>Query if property is an array (excluded byte[]). |
| 468 |
<P> |
| 469 |
<DD><DL> |
| 470 |
|
| 471 |
<DT><B>Returns:</B><DD>true if it's an array (excluded byte[])</DL> |
| 472 |
</DD> |
| 473 |
</DL> |
| 474 |
<HR> |
| 475 |
|
| 476 |
<A NAME="get(java.lang.Object)"><!-- --></A><H3> |
| 477 |
get</H3> |
| 478 |
<PRE> |
| 479 |
public java.lang.Object <B>get</B>(java.lang.Object obj) |
| 480 |
throws java.lang.reflect.InvocationTargetException, |
| 481 |
java.lang.IllegalAccessException</PRE> |
| 482 |
<DL> |
| 483 |
<DD>Get the property value |
| 484 |
<P> |
| 485 |
<DD><DL> |
| 486 |
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - is the object |
| 487 |
<DT><B>Returns:</B><DD>the entire propery value |
| 488 |
<DT><B>Throws:</B> |
| 489 |
<DD><CODE>java.lang.reflect.InvocationTargetException</CODE> |
| 490 |
<DD><CODE>java.lang.IllegalAccessException</CODE></DL> |
| 491 |
</DD> |
| 492 |
</DL> |
| 493 |
<HR> |
| 494 |
|
| 495 |
<A NAME="set(java.lang.Object, java.lang.Object)"><!-- --></A><H3> |
| 496 |
set</H3> |
| 497 |
<PRE> |
| 498 |
public void <B>set</B>(java.lang.Object obj, |
| 499 |
java.lang.Object newValue) |
| 500 |
throws java.lang.reflect.InvocationTargetException, |
| 501 |
java.lang.IllegalAccessException</PRE> |
| 502 |
<DL> |
| 503 |
<DD>Set the property value |
| 504 |
<P> |
| 505 |
<DD><DL> |
| 506 |
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - is the object<DD><CODE>newValue</CODE> - is the new value |
| 507 |
<DT><B>Throws:</B> |
| 508 |
<DD><CODE>java.lang.reflect.InvocationTargetException</CODE> |
| 509 |
<DD><CODE>java.lang.IllegalAccessException</CODE></DL> |
| 510 |
</DD> |
| 511 |
</DL> |
| 512 |
<HR> |
| 513 |
|
| 514 |
<A NAME="get(java.lang.Object, int)"><!-- --></A><H3> |
| 515 |
get</H3> |
| 516 |
<PRE> |
| 517 |
public java.lang.Object <B>get</B>(java.lang.Object obj, |
| 518 |
int i) |
| 519 |
throws java.lang.reflect.InvocationTargetException, |
| 520 |
java.lang.IllegalAccessException</PRE> |
| 521 |
<DL> |
| 522 |
<DD>Get an indexed property |
| 523 |
<P> |
| 524 |
<DD><DL> |
| 525 |
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - is the object<DD><CODE>i</CODE> - the index |
| 526 |
<DT><B>Returns:</B><DD>the object at the indicated index |
| 527 |
<DT><B>Throws:</B> |
| 528 |
<DD><CODE>java.lang.reflect.InvocationTargetException</CODE> |
| 529 |
<DD><CODE>java.lang.IllegalAccessException</CODE></DL> |
| 530 |
</DD> |
| 531 |
</DL> |
| 532 |
<HR> |
| 533 |
|
| 534 |
<A NAME="set(java.lang.Object, int, java.lang.Object)"><!-- --></A><H3> |
| 535 |
set</H3> |
| 536 |
<PRE> |
| 537 |
public void <B>set</B>(java.lang.Object obj, |
| 538 |
int i, |
| 539 |
java.lang.Object newValue) |
| 540 |
throws java.lang.reflect.InvocationTargetException, |
| 541 |
java.lang.IllegalAccessException</PRE> |
| 542 |
<DL> |
| 543 |
<DD>Set an indexed property value |
| 544 |
<P> |
| 545 |
<DD><DL> |
| 546 |
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - is the object<DD><CODE>i</CODE> - the index<DD><CODE>newValue</CODE> - is the new value |
| 547 |
<DT><B>Throws:</B> |
| 548 |
<DD><CODE>java.lang.reflect.InvocationTargetException</CODE> |
| 549 |
<DD><CODE>java.lang.IllegalAccessException</CODE></DL> |
| 550 |
</DD> |
| 551 |
</DL> |
| 552 |
<HR> |
| 553 |
|
| 554 |
<A NAME="growArrayToSize(java.lang.Object, java.lang.Class, int)"><!-- --></A><H3> |
| 555 |
growArrayToSize</H3> |
| 556 |
<PRE> |
| 557 |
protected void <B>growArrayToSize</B>(java.lang.Object obj, |
| 558 |
java.lang.Class componentType, |
| 559 |
int i) |
| 560 |
throws java.lang.reflect.InvocationTargetException, |
| 561 |
java.lang.IllegalAccessException</PRE> |
| 562 |
<DL> |
| 563 |
<DD>Grow the array |
| 564 |
<P> |
| 565 |
<DD><DL> |
| 566 |
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - <DD><CODE>componentType</CODE> - <DD><CODE>i</CODE> - |
| 567 |
<DT><B>Throws:</B> |
| 568 |
<DD><CODE>java.lang.reflect.InvocationTargetException</CODE> |
| 569 |
<DD><CODE>java.lang.IllegalAccessException</CODE></DL> |
| 570 |
</DD> |
| 571 |
</DL> |
| 572 |
<HR> |
| 573 |
|
| 574 |
<A NAME="getType()"><!-- --></A><H3> |
| 575 |
getType</H3> |
| 576 |
<PRE> |
| 577 |
public java.lang.Class <B>getType</B>()</PRE> |
| 578 |
<DL> |
| 579 |
<DD>Get the type of a property |
| 580 |
<P> |
| 581 |
<DD><DL> |
| 582 |
|
| 583 |
<DT><B>Returns:</B><DD>the type of the property</DL> |
| 584 |
</DD> |
| 585 |
</DL> |
| 586 |
<HR> |
| 587 |
|
| 588 |
<A NAME="getActualType()"><!-- --></A><H3> |
| 589 |
getActualType</H3> |
| 590 |
<PRE> |
| 591 |
public java.lang.Class <B>getActualType</B>()</PRE> |
| 592 |
<DL> |
| 593 |
<DD><DL> |
| 594 |
</DL> |
| 595 |
</DD> |
| 596 |
</DL> |
| 597 |
<!-- ========= END OF CLASS DATA ========= --> |
| 598 |
<HR> |
| 599 |
|
| 600 |
|
| 601 |
<!-- ======= START OF BOTTOM NAVBAR ====== --> |
| 602 |
<A NAME="navbar_bottom"><!-- --></A> |
| 603 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 604 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 605 |
<TR> |
| 606 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 607 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
| 608 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 609 |
<TR ALIGN="center" VALIGN="top"> |
| 610 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 611 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 612 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 613 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BeanPropertyDescriptor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 614 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 615 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 616 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 617 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 618 |
</TR> |
| 619 |
</TABLE> |
| 620 |
</TD> |
| 621 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 622 |
</EM> |
| 623 |
</TD> |
| 624 |
</TR> |
| 625 |
|
| 626 |
<TR> |
| 627 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 628 |
<A HREF="../../../../org/apache/axis/utils/ArrayUtil.NonConvertable.html" title="class in org.apache.axis.utils"><B>PREV CLASS</B></A> |
| 629 |
<A HREF="../../../../org/apache/axis/utils/BeanUtils.html" title="class in org.apache.axis.utils"><B>NEXT CLASS</B></A></FONT></TD> |
| 630 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 631 |
<A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> |
| 632 |
<A HREF="BeanPropertyDescriptor.html" target="_top"><B>NO FRAMES</B></A> |
| 633 |
<SCRIPT type="text/javascript"> |
| 634 |
<!-- |
| 635 |
if(window==top) { |
| 636 |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 637 |
} |
| 638 |
//--> |
| 639 |
</SCRIPT> |
| 640 |
<NOSCRIPT> |
| 641 |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 642 |
</NOSCRIPT> |
| 643 |
|
| 644 |
</FONT></TD> |
| 645 |
</TR> |
| 646 |
<TR> |
| 647 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 648 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 649 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 650 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 651 |
</TR> |
| 652 |
</TABLE> |
| 653 |
<A NAME="skip-navbar_bottom"></A> |
| 654 |
<!-- ======== END OF BOTTOM NAVBAR ======= --> |
| 655 |
|
| 656 |
<HR> |
| 657 |
Copyright © 2005 Apache Web Services Project. All Rights Reserved. |
| 658 |
</BODY> |
| 659 |
</HTML> |