/[debian]/libjempbox-java/branches/upstream/current/docs/javadoc/org/jempbox/xmp/Thumbnail.html
ViewVC logotype

Contents of /libjempbox-java/branches/upstream/current/docs/javadoc/org/jempbox/xmp/Thumbnail.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 427 - (show annotations)
Fri Nov 17 21:04:18 2006 UTC (14 years, 8 months ago) by gregoa
File MIME type: text/html
File size: 23306 byte(s)
[svn-inject] Installing original source of libjempbox-java
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_07) on Wed Apr 19 20:38:26 EDT 2006 -->
6 <TITLE>
7 Thumbnail (JempBox-0.1.0-dev API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="org.jempbox.xmp.Thumbnail 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="Thumbnail (JempBox-0.1.0-dev 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>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Thumbnail.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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 &nbsp;<A HREF="../../../org/jempbox/xmp/ResourceRef.html" title="class in org.jempbox.xmp"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;<A HREF="../../../org/jempbox/xmp/XMPMetadata.html" title="class in org.jempbox.xmp"><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> &nbsp;
57 &nbsp;<A HREF="Thumbnail.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
58 &nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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.jempbox.xmp</FONT>
86 <BR>
87 Class Thumbnail</H2>
88 <PRE>
89 <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
90 <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>org.jempbox.xmp.Thumbnail</B>
91 </PRE>
92 <HR>
93 <DL>
94 <DT>public class <B>Thumbnail</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
95
96 <P>
97 This class represents a thumbnail datatype.
98 <P>
99
100 <P>
101 <DL>
102 <DT><B>Version:</B></DT>
103 <DD>$Revision: 1.1 $</DD>
104 <DT><B>Author:</B></DT>
105 <DD>Ben Litchfield (ben@benlitchfield.com)</DD>
106 </DL>
107 <HR>
108
109 <P>
110 <!-- ======== NESTED CLASS SUMMARY ======== -->
111
112
113 <!-- =========== FIELD SUMMARY =========== -->
114
115 <A NAME="field_summary"><!-- --></A>
116 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
117 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
118 <TD COLSPAN=2><FONT SIZE="+2">
119 <B>Field Summary</B></FONT></TD>
120 </TR>
121 <TR BGCOLOR="white" CLASS="TableRowColor">
122 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
124 <TD><CODE><B><A HREF="../../../org/jempbox/xmp/Thumbnail.html#FORMAT_JPEG">FORMAT_JPEG</A></B></CODE>
125
126 <BR>
127 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A supported thumnail format.</TD>
128 </TR>
129 <TR BGCOLOR="white" CLASS="TableRowColor">
130 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
131 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Element.html" title="class or interface in org.w3c.dom">Element</A></CODE></FONT></TD>
132 <TD><CODE><B><A HREF="../../../org/jempbox/xmp/Thumbnail.html#parent">parent</A></B></CODE>
133
134 <BR>
135 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The DOM representation of this object.</TD>
136 </TR>
137 </TABLE>
138 &nbsp;
139 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
140
141 <A NAME="constructor_summary"><!-- --></A>
142 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
143 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
144 <TD COLSPAN=2><FONT SIZE="+2">
145 <B>Constructor Summary</B></FONT></TD>
146 </TR>
147 <TR BGCOLOR="white" CLASS="TableRowColor">
148 <TD><CODE><B><A HREF="../../../org/jempbox/xmp/Thumbnail.html#Thumbnail(org.w3c.dom.Element)">Thumbnail</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Element.html" title="class or interface in org.w3c.dom">Element</A>&nbsp;parentElement)</CODE>
149
150 <BR>
151 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a thumnail based on a parent property set.</TD>
152 </TR>
153 <TR BGCOLOR="white" CLASS="TableRowColor">
154 <TD><CODE><B><A HREF="../../../org/jempbox/xmp/Thumbnail.html#Thumbnail(org.jempbox.xmp.XMPMetadata)">Thumbnail</A></B>(<A HREF="../../../org/jempbox/xmp/XMPMetadata.html" title="class in org.jempbox.xmp">XMPMetadata</A>&nbsp;metadata)</CODE>
155
156 <BR>
157 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new thumbnail element.</TD>
158 </TR>
159 </TABLE>
160 &nbsp;
161 <!-- ========== METHOD SUMMARY =========== -->
162
163 <A NAME="method_summary"><!-- --></A>
164 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
165 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
166 <TD COLSPAN=2><FONT SIZE="+2">
167 <B>Method Summary</B></FONT></TD>
168 </TR>
169 <TR BGCOLOR="white" CLASS="TableRowColor">
170 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Element.html" title="class or interface in org.w3c.dom">Element</A></CODE></FONT></TD>
172 <TD><CODE><B><A HREF="../../../org/jempbox/xmp/Thumbnail.html#getElement()">getElement</A></B>()</CODE>
173
174 <BR>
175 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the underlying XML element.</TD>
176 </TR>
177 <TR BGCOLOR="white" CLASS="TableRowColor">
178 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
180 <TD><CODE><B><A HREF="../../../org/jempbox/xmp/Thumbnail.html#getFormat()">getFormat</A></B>()</CODE>
181
182 <BR>
183 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the format of the thumbnail. </TD>
184 </TR>
185 <TR BGCOLOR="white" CLASS="TableRowColor">
186 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A></CODE></FONT></TD>
188 <TD><CODE><B><A HREF="../../../org/jempbox/xmp/Thumbnail.html#getHeight()">getHeight</A></B>()</CODE>
189
190 <BR>
191 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the height of the image in pixels.</TD>
192 </TR>
193 <TR BGCOLOR="white" CLASS="TableRowColor">
194 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
196 <TD><CODE><B><A HREF="../../../org/jempbox/xmp/Thumbnail.html#getImage()">getImage</A></B>()</CODE>
197
198 <BR>
199 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the image data in base 64 encoding.</TD>
200 </TR>
201 <TR BGCOLOR="white" CLASS="TableRowColor">
202 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A></CODE></FONT></TD>
204 <TD><CODE><B><A HREF="../../../org/jempbox/xmp/Thumbnail.html#getWidth()">getWidth</A></B>()</CODE>
205
206 <BR>
207 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the width of the image in pixels.</TD>
208 </TR>
209 <TR BGCOLOR="white" CLASS="TableRowColor">
210 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211 <CODE>&nbsp;void</CODE></FONT></TD>
212 <TD><CODE><B><A HREF="../../../org/jempbox/xmp/Thumbnail.html#setFormat(java.lang.String)">setFormat</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;format)</CODE>
213
214 <BR>
215 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the format of the thumbnail, currently only JPEG is supported. </TD>
216 </TR>
217 <TR BGCOLOR="white" CLASS="TableRowColor">
218 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219 <CODE>&nbsp;void</CODE></FONT></TD>
220 <TD><CODE><B><A HREF="../../../org/jempbox/xmp/Thumbnail.html#setHeight(java.lang.Integer)">setHeight</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A>&nbsp;height)</CODE>
221
222 <BR>
223 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the height of the element.</TD>
224 </TR>
225 <TR BGCOLOR="white" CLASS="TableRowColor">
226 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
227 <CODE>&nbsp;void</CODE></FONT></TD>
228 <TD><CODE><B><A HREF="../../../org/jempbox/xmp/Thumbnail.html#setImage(java.lang.String)">setImage</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;image)</CODE>
229
230 <BR>
231 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the image data in base 64 encoding.</TD>
232 </TR>
233 <TR BGCOLOR="white" CLASS="TableRowColor">
234 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
235 <CODE>&nbsp;void</CODE></FONT></TD>
236 <TD><CODE><B><A HREF="../../../org/jempbox/xmp/Thumbnail.html#setWidth(java.lang.Integer)">setWidth</A></B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A>&nbsp;width)</CODE>
237
238 <BR>
239 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the width of the element.</TD>
240 </TR>
241 </TABLE>
242 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
243 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
244 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
245 <TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD>
246 </TR>
247 <TR BGCOLOR="white" CLASS="TableRowColor">
248 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
249 </TR>
250 </TABLE>
251 &nbsp;
252 <P>
253
254 <!-- ============ FIELD DETAIL =========== -->
255
256 <A NAME="field_detail"><!-- --></A>
257 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
258 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
259 <TD COLSPAN=1><FONT SIZE="+2">
260 <B>Field Detail</B></FONT></TD>
261 </TR>
262 </TABLE>
263
264 <A NAME="FORMAT_JPEG"><!-- --></A><H3>
265 FORMAT_JPEG</H3>
266 <PRE>
267 public static final <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>FORMAT_JPEG</B></PRE>
268 <DL>
269 <DD>A supported thumnail format.
270 <P>
271 <DL>
272 <DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jempbox.xmp.Thumbnail.FORMAT_JPEG">Constant Field Values</A></DL>
273 </DL>
274 <HR>
275
276 <A NAME="parent"><!-- --></A><H3>
277 parent</H3>
278 <PRE>
279 protected <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Element.html" title="class or interface in org.w3c.dom">Element</A> <B>parent</B></PRE>
280 <DL>
281 <DD>The DOM representation of this object.
282 <P>
283 <DL>
284 </DL>
285 </DL>
286
287 <!-- ========= CONSTRUCTOR DETAIL ======== -->
288
289 <A NAME="constructor_detail"><!-- --></A>
290 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
291 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
292 <TD COLSPAN=1><FONT SIZE="+2">
293 <B>Constructor Detail</B></FONT></TD>
294 </TR>
295 </TABLE>
296
297 <A NAME="Thumbnail(org.jempbox.xmp.XMPMetadata)"><!-- --></A><H3>
298 Thumbnail</H3>
299 <PRE>
300 public <B>Thumbnail</B>(<A HREF="../../../org/jempbox/xmp/XMPMetadata.html" title="class in org.jempbox.xmp">XMPMetadata</A>&nbsp;metadata)</PRE>
301 <DL>
302 <DD>Create a new thumbnail element.
303 <P>
304 <DT><B>Parameters:</B><DD><CODE>metadata</CODE> - The metadata document that his thumbnail will be part of.</DL>
305 <HR>
306
307 <A NAME="Thumbnail(org.w3c.dom.Element)"><!-- --></A><H3>
308 Thumbnail</H3>
309 <PRE>
310 public <B>Thumbnail</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Element.html" title="class or interface in org.w3c.dom">Element</A>&nbsp;parentElement)</PRE>
311 <DL>
312 <DD>Create a thumnail based on a parent property set.
313 <P>
314 <DT><B>Parameters:</B><DD><CODE>parentElement</CODE> - The parent element that will store the thumbnail properties.</DL>
315
316 <!-- ============ METHOD DETAIL ========== -->
317
318 <A NAME="method_detail"><!-- --></A>
319 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
320 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
321 <TD COLSPAN=1><FONT SIZE="+2">
322 <B>Method Detail</B></FONT></TD>
323 </TR>
324 </TABLE>
325
326 <A NAME="getElement()"><!-- --></A><H3>
327 getElement</H3>
328 <PRE>
329 public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/Element.html" title="class or interface in org.w3c.dom">Element</A> <B>getElement</B>()</PRE>
330 <DL>
331 <DD>Get the underlying XML element.
332 <P>
333 <DD><DL>
334
335 <DT><B>Returns:</B><DD>The XML element that this object represents.</DL>
336 </DD>
337 </DL>
338 <HR>
339
340 <A NAME="getHeight()"><!-- --></A><H3>
341 getHeight</H3>
342 <PRE>
343 public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A> <B>getHeight</B>()</PRE>
344 <DL>
345 <DD>Get the height of the image in pixels.
346 <P>
347 <DD><DL>
348
349 <DT><B>Returns:</B><DD>The height of the image in pixels.
350 <DT><B>Throws:</B>
351 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/NumberFormatException.html" title="class or interface in java.lang">NumberFormatException</A></CODE> - If there is an error creating the Integer.</DL>
352 </DD>
353 </DL>
354 <HR>
355
356 <A NAME="setHeight(java.lang.Integer)"><!-- --></A><H3>
357 setHeight</H3>
358 <PRE>
359 public void <B>setHeight</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A>&nbsp;height)</PRE>
360 <DL>
361 <DD>Set the height of the element.
362 <P>
363 <DD><DL>
364 <DT><B>Parameters:</B><DD><CODE>height</CODE> - The updated height of the element.</DL>
365 </DD>
366 </DL>
367 <HR>
368
369 <A NAME="getWidth()"><!-- --></A><H3>
370 getWidth</H3>
371 <PRE>
372 public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A> <B>getWidth</B>()</PRE>
373 <DL>
374 <DD>Get the width of the image in pixels.
375 <P>
376 <DD><DL>
377
378 <DT><B>Returns:</B><DD>The width of the image in pixels.
379 <DT><B>Throws:</B>
380 <DD><CODE><A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/NumberFormatException.html" title="class or interface in java.lang">NumberFormatException</A></CODE> - If there is an error creating the Integer.</DL>
381 </DD>
382 </DL>
383 <HR>
384
385 <A NAME="setWidth(java.lang.Integer)"><!-- --></A><H3>
386 setWidth</H3>
387 <PRE>
388 public void <B>setWidth</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Integer.html" title="class or interface in java.lang">Integer</A>&nbsp;width)</PRE>
389 <DL>
390 <DD>Set the width of the element.
391 <P>
392 <DD><DL>
393 <DT><B>Parameters:</B><DD><CODE>width</CODE> - The updated width of the element.</DL>
394 </DD>
395 </DL>
396 <HR>
397
398 <A NAME="setFormat(java.lang.String)"><!-- --></A><H3>
399 setFormat</H3>
400 <PRE>
401 public void <B>setFormat</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;format)</PRE>
402 <DL>
403 <DD>Set the format of the thumbnail, currently only JPEG is supported. See FORMAT_XXX constants.
404 <P>
405 <DD><DL>
406 <DT><B>Parameters:</B><DD><CODE>format</CODE> - The image format.</DL>
407 </DD>
408 </DL>
409 <HR>
410
411 <A NAME="getFormat()"><!-- --></A><H3>
412 getFormat</H3>
413 <PRE>
414 public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getFormat</B>()</PRE>
415 <DL>
416 <DD>Get the format of the thumbnail. See FORMAT_XXX constants.
417 <P>
418 <DD><DL>
419
420 <DT><B>Returns:</B><DD>The image format.</DL>
421 </DD>
422 </DL>
423 <HR>
424
425 <A NAME="setImage(java.lang.String)"><!-- --></A><H3>
426 setImage</H3>
427 <PRE>
428 public void <B>setImage</B>(<A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;image)</PRE>
429 <DL>
430 <DD>Set the image data in base 64 encoding.
431 <P>
432 <DD><DL>
433 <DT><B>Parameters:</B><DD><CODE>image</CODE> - The image.</DL>
434 </DD>
435 </DL>
436 <HR>
437
438 <A NAME="getImage()"><!-- --></A><H3>
439 getImage</H3>
440 <PRE>
441 public <A HREF="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getImage</B>()</PRE>
442 <DL>
443 <DD>Get the image data in base 64 encoding.
444 <P>
445 <DD><DL>
446
447 <DT><B>Returns:</B><DD>The image data.</DL>
448 </DD>
449 </DL>
450 <!-- ========= END OF CLASS DATA ========= -->
451 <HR>
452
453
454 <!-- ======= START OF BOTTOM NAVBAR ====== -->
455 <A NAME="navbar_bottom"><!-- --></A>
456 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
457 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
458 <TR>
459 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
460 <A NAME="navbar_bottom_firstrow"><!-- --></A>
461 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
462 <TR ALIGN="center" VALIGN="top">
463 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
464 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
465 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
466 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Thumbnail.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
467 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
468 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
469 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
470 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
471 </TR>
472 </TABLE>
473 </TD>
474 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
475 </EM>
476 </TD>
477 </TR>
478
479 <TR>
480 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
481 &nbsp;<A HREF="../../../org/jempbox/xmp/ResourceRef.html" title="class in org.jempbox.xmp"><B>PREV CLASS</B></A>&nbsp;
482 &nbsp;<A HREF="../../../org/jempbox/xmp/XMPMetadata.html" title="class in org.jempbox.xmp"><B>NEXT CLASS</B></A></FONT></TD>
483 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
484 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
485 &nbsp;<A HREF="Thumbnail.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
486 &nbsp;<SCRIPT type="text/javascript">
487 <!--
488 if(window==top) {
489 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
490 }
491 //-->
492 </SCRIPT>
493 <NOSCRIPT>
494 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
495 </NOSCRIPT>
496
497 </FONT></TD>
498 </TR>
499 <TR>
500 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
501 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
502 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
503 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
504 </TR>
505 </TABLE>
506 <A NAME="skip-navbar_bottom"></A>
507 <!-- ======== END OF BOTTOM NAVBAR ======= -->
508
509 <HR>
510
511 </BODY>
512 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26