comparison apache-xmlrpc-3.1.3/docs/apidocs/org/apache/xmlrpc/util/ReflectionUtil.html @ 151:db5f735fd2b4

add xml-rpc.jar
author e085711
date Sat, 10 Sep 2011 04:13:50 +0900
parents
children
comparison
equal deleted inserted replaced
147:a2b5149bbbe6 151:db5f735fd2b4
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.6.0_17) on Sat Feb 06 17:11:26 CET 2010 -->
6 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <TITLE>
8 ReflectionUtil (Apache XML-RPC 3.1.3 API)
9 </TITLE>
10
11 <META NAME="date" CONTENT="2010-02-06">
12
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
14
15 <SCRIPT type="text/javascript">
16 function windowTitle()
17 {
18 if (location.href.indexOf('is-external=true') == -1) {
19 parent.document.title="ReflectionUtil (Apache XML-RPC 3.1.3 API)";
20 }
21 }
22 </SCRIPT>
23 <NOSCRIPT>
24 </NOSCRIPT>
25
26 </HEAD>
27
28 <BODY BGCOLOR="white" onload="windowTitle();">
29 <HR>
30
31
32 <!-- ========= START OF TOP NAVBAR ======= -->
33 <A NAME="navbar_top"><!-- --></A>
34 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36 <TR>
37 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38 <A NAME="navbar_top_firstrow"><!-- --></A>
39 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40 <TR ALIGN="center" VALIGN="top">
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ReflectionUtil.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
49 </TR>
50 </TABLE>
51 </TD>
52 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
53 </EM>
54 </TD>
55 </TR>
56
57 <TR>
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59 &nbsp;<A HREF="../../../../org/apache/xmlrpc/util/LimitedInputStream.html" title="class in org.apache.xmlrpc.util"><B>PREV CLASS</B></A>&nbsp;
60 &nbsp;<A HREF="../../../../org/apache/xmlrpc/util/SAXParsers.html" title="class in org.apache.xmlrpc.util"><B>NEXT CLASS</B></A></FONT></TD>
61 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62 <A HREF="../../../../index.html?org/apache/xmlrpc/util/ReflectionUtil.html" target="_top"><B>FRAMES</B></A> &nbsp;
63 &nbsp;<A HREF="ReflectionUtil.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
64 &nbsp;<SCRIPT type="text/javascript">
65 <!--
66 if(window==top) {
67 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
68 }
69 //-->
70 </SCRIPT>
71 <NOSCRIPT>
72 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
73 </NOSCRIPT>
74
75
76 </FONT></TD>
77 </TR>
78 <TR>
79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
81 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
82 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
83 </TR>
84 </TABLE>
85 <A NAME="skip-navbar_top"></A>
86 <!-- ========= END OF TOP NAVBAR ========= -->
87
88 <HR>
89 <!-- ======== START OF CLASS DATA ======== -->
90 <H2>
91 <FONT SIZE="-1">
92 org.apache.xmlrpc.util</FONT>
93 <BR>
94 Class ReflectionUtil</H2>
95 <PRE>
96 java.lang.Object
97 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.xmlrpc.util.ReflectionUtil</B>
98 </PRE>
99 <HR>
100 <DL>
101 <DT><PRE>public class <B>ReflectionUtil</B><DT>extends java.lang.Object</DL>
102 </PRE>
103
104 <P>
105 A utility class for using reflection.
106 <P>
107
108 <P>
109 <HR>
110
111 <P>
112
113 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
114
115 <A NAME="constructor_summary"><!-- --></A>
116 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
117 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
118 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
119 <B>Constructor Summary</B></FONT></TH>
120 </TR>
121 <TR BGCOLOR="white" CLASS="TableRowColor">
122 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/util/ReflectionUtil.html#ReflectionUtil()">ReflectionUtil</A></B>()</CODE>
123
124 <BR>
125 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
126 </TR>
127 </TABLE>
128 &nbsp;
129 <!-- ========== METHOD SUMMARY =========== -->
130
131 <A NAME="method_summary"><!-- --></A>
132 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
133 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
134 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
135 <B>Method Summary</B></FONT></TH>
136 </TR>
137 <TR BGCOLOR="white" CLASS="TableRowColor">
138 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
139 <CODE>static&nbsp;boolean</CODE></FONT></TD>
140 <TD><CODE><B><A HREF="../../../../org/apache/xmlrpc/util/ReflectionUtil.html#setProperty(java.lang.Object, java.lang.String, java.lang.String)">setProperty</A></B>(java.lang.Object&nbsp;pObject,
141 java.lang.String&nbsp;pPropertyName,
142 java.lang.String&nbsp;pPropertyValue)</CODE>
143
144 <BR>
145 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method attempts to set a property value on a given object by calling a
146 matching setter.</TD>
147 </TR>
148 </TABLE>
149 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
150 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
151 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
152 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
153 </TR>
154 <TR BGCOLOR="white" CLASS="TableRowColor">
155 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
156 </TR>
157 </TABLE>
158 &nbsp;
159 <P>
160
161 <!-- ========= CONSTRUCTOR DETAIL ======== -->
162
163 <A NAME="constructor_detail"><!-- --></A>
164 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
165 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
166 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
167 <B>Constructor Detail</B></FONT></TH>
168 </TR>
169 </TABLE>
170
171 <A NAME="ReflectionUtil()"><!-- --></A><H3>
172 ReflectionUtil</H3>
173 <PRE>
174 public <B>ReflectionUtil</B>()</PRE>
175 <DL>
176 </DL>
177
178 <!-- ============ METHOD DETAIL ========== -->
179
180 <A NAME="method_detail"><!-- --></A>
181 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
182 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
183 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
184 <B>Method Detail</B></FONT></TH>
185 </TR>
186 </TABLE>
187
188 <A NAME="setProperty(java.lang.Object, java.lang.String, java.lang.String)"><!-- --></A><H3>
189 setProperty</H3>
190 <PRE>
191 public static boolean <B>setProperty</B>(java.lang.Object&nbsp;pObject,
192 java.lang.String&nbsp;pPropertyName,
193 java.lang.String&nbsp;pPropertyValue)
194 throws java.lang.IllegalAccessException,
195 java.lang.reflect.InvocationTargetException</PRE>
196 <DL>
197 <DD>This method attempts to set a property value on a given object by calling a
198 matching setter.
199 <P>
200 <DD><DL>
201 <DT><B>Parameters:</B><DD><CODE>pObject</CODE> - The object, on which a property is being set.<DD><CODE>pPropertyName</CODE> - The property name.<DD><CODE>pPropertyValue</CODE> - The property value.
202 <DT><B>Returns:</B><DD>Whether a matching setter was found. The value false indicates, that no such
203 setter exists.
204 <DT><B>Throws:</B>
205 <DD><CODE>java.lang.IllegalAccessException</CODE> - Setting the property value failed, because invoking
206 the setter raised an <CODE>IllegalAccessException</CODE>.
207 <DD><CODE>java.lang.reflect.InvocationTargetException</CODE> - Setting the property value failed, because invoking
208 the setter raised another exception.</DL>
209 </DD>
210 </DL>
211 <!-- ========= END OF CLASS DATA ========= -->
212 <HR>
213
214
215 <!-- ======= START OF BOTTOM NAVBAR ====== -->
216 <A NAME="navbar_bottom"><!-- --></A>
217 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
218 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
219 <TR>
220 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
221 <A NAME="navbar_bottom_firstrow"><!-- --></A>
222 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
223 <TR ALIGN="center" VALIGN="top">
224 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
225 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
226 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
227 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ReflectionUtil.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
228 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
229 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
230 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
231 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
232 </TR>
233 </TABLE>
234 </TD>
235 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
236 </EM>
237 </TD>
238 </TR>
239
240 <TR>
241 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
242 &nbsp;<A HREF="../../../../org/apache/xmlrpc/util/LimitedInputStream.html" title="class in org.apache.xmlrpc.util"><B>PREV CLASS</B></A>&nbsp;
243 &nbsp;<A HREF="../../../../org/apache/xmlrpc/util/SAXParsers.html" title="class in org.apache.xmlrpc.util"><B>NEXT CLASS</B></A></FONT></TD>
244 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
245 <A HREF="../../../../index.html?org/apache/xmlrpc/util/ReflectionUtil.html" target="_top"><B>FRAMES</B></A> &nbsp;
246 &nbsp;<A HREF="ReflectionUtil.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
247 &nbsp;<SCRIPT type="text/javascript">
248 <!--
249 if(window==top) {
250 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
251 }
252 //-->
253 </SCRIPT>
254 <NOSCRIPT>
255 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
256 </NOSCRIPT>
257
258
259 </FONT></TD>
260 </TR>
261 <TR>
262 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
263 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
264 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
265 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
266 </TR>
267 </TABLE>
268 <A NAME="skip-navbar_bottom"></A>
269 <!-- ======== END OF BOTTOM NAVBAR ======= -->
270
271 <HR>
272 Copyright &#169; 2001-2010 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
273 </BODY>
274 </HTML>