1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Sep 19 17:00:30 EDT 2003 -->
<TITLE>
TagFamily (JHOVE Documentation)
</TITLE>
<META NAME="keywords" CONTENT="edu.harvard.hul.ois.jhove.module.tiff.TagFamily,TagFamily class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
</HEAD>
<SCRIPT>
function asd()
{
parent.document.title="TagFamily (JHOVE Documentation)";
}
</SCRIPT>
<BODY BGCOLOR="white" onload="asd();">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<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="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="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/StandardIFDProperty.html"><B>PREV CLASS</B></A>
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffDefs.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="TagFamily.html" TARGET="_top"><B>NO FRAMES</B></A>
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../../allclasses-noframe.html" TARGET=""><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>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
edu.harvard.hul.ois.jhove.module.tiff</FONT>
<BR>
Class TagFamily</H2>
<PRE>
java.lang.Object
|
+--<B>edu.harvard.hul.ois.jhove.module.tiff.TagFamily</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/CoreTags.html">CoreTags</A>, <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/EPTags.html">EPTags</A>, <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/ExifIFDTags.html">ExifIFDTags</A>, <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/ExifTags.html">ExifTags</A>, <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/FTags.html">FTags</A>, <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/GeoTiffTags.html">GeoTiffTags</A>, <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/GPSIFDTags.html">GPSIFDTags</A>, <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/InterOpIFDTags.html">InterOpIFDTags</A>, <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/ITTags.html">ITTags</A></DD>
</DL>
<HR>
<DL>
<DT>public abstract class <B>TagFamily</B><DT>extends java.lang.Object</DL>
<P>
Subclasses of this abstract class encapsulate a set of TIFF tags,
providing accessor functions for their values. Any TiffIFD instance
should instantiate all the subclasses of TagFamily, enabling those
which are actually legitimate for the IFD by setting the
<code>enabled</code> parameter in the constructor.
<P>
<P>
<HR>
<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<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 boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#_enabled">_enabled</A></B></CODE>
<BR>
True if tag family enabled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffIFD.html">TiffIFD</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#_ifd">_ifd</A></B></CODE>
<BR>
TIFF IFD.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#_version">_version</A></B></CODE>
<BR>
TIFF version.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#UNDEFINED">UNDEFINED</A></B></CODE>
<BR>
Undefined initial value.</TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<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="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#TagFamily(edu.harvard.hul.ois.jhove.module.tiff.TiffIFD, boolean)">TagFamily</A></B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffIFD.html">TiffIFD</A> ifd,
boolean enabled)</CODE>
<BR>
TagFamily constructor.</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<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>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#checkCount(int, int, int)">checkCount</A></B>(int tag,
int nValues,
int minCount)</CODE>
<BR>
Check the tag entry count.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#checkType(int, int, int)">checkType</A></B>(int tag,
int fieldType,
int type)</CODE>
<BR>
Check the tag entry type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#checkType(int, int, int, int)">checkType</A></B>(int tag,
int fieldType,
int type1,
int type2)</CODE>
<BR>
Check the tag entry type.</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="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#isEnabled()">isEnabled</A></B>()</CODE>
<BR>
Returns <code>true</code> if this TagFamily object is
enabled.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected abstract boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#lookupTag(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffIFD, int, int, int, long, edu.harvard.hul.ois.jhove.RepInfo)">lookupTag</A></B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffIFD.html">TiffIFD</A> ifd,
int tag,
int fieldType,
int nValues,
long valueOffset,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/RepInfo.html">RepInfo</A> info)</CODE>
<BR>
Looks up a tag in a TagFamily object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#makeAscii(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)">makeAscii</A></B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)</CODE>
<BR>
Obtains a string value from a tag whose type is
ASCII or UNDEFINED.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#makeAsciiArray(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)">makeAsciiArray</A></B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)</CODE>
<BR>
Obtains a string array from a tag whose type is
ASCII or UNDEFINED.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected double[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#makeDoubleArray(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)">makeDoubleArray</A></B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)</CODE>
<BR>
Obtains a double array value from a tag whose type is
DOUBLE.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#makeInt(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)">makeInt</A></B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)</CODE>
<BR>
Obtains an integer value from a tag whose type is
integer-compatible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected int[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#makeIntArray(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)">makeIntArray</A></B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)</CODE>
<BR>
Obtains an integer array value from a tag whose type is
integer-compatible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#makeLong(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)">makeLong</A></B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)</CODE>
<BR>
Obtains a long value from a tag whose type is
integer-compatible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected long[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#makeLongArray(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)">makeLongArray</A></B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)</CODE>
<BR>
Obtains a long array value from a tag whose type is
integer-compatible.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/Rational.html">Rational</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#makeRational(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)">makeRational</A></B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)</CODE>
<BR>
Obtains a Rational value from a tag whose type is
RATIONAL.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/Rational.html">Rational</A>[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TagFamily.html#makeRationalArray(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)">makeRationalArray</A></B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)</CODE>
<BR>
Obtains a Rational array value from a tag whose type is
Rational.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<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" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="UNDEFINED"><!-- --></A><H3>
UNDEFINED</H3>
<PRE>
public static final int <B>UNDEFINED</B></PRE>
<DL>
<DD>Undefined initial value.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#edu.harvard.hul.ois.jhove.module.tiff.TagFamily.UNDEFINED">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="_enabled"><!-- --></A><H3>
_enabled</H3>
<PRE>
protected boolean <B>_enabled</B></PRE>
<DL>
<DD>True if tag family enabled.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="_ifd"><!-- --></A><H3>
_ifd</H3>
<PRE>
protected <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffIFD.html">TiffIFD</A> <B>_ifd</B></PRE>
<DL>
<DD>TIFF IFD.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="_version"><!-- --></A><H3>
_version</H3>
<PRE>
protected int <B>_version</B></PRE>
<DL>
<DD>TIFF version.
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="TagFamily(edu.harvard.hul.ois.jhove.module.tiff.TiffIFD, boolean)"><!-- --></A><H3>
TagFamily</H3>
<PRE>
public <B>TagFamily</B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffIFD.html">TiffIFD</A> ifd,
boolean enabled)</PRE>
<DL>
<DD>TagFamily constructor. Subclasses of TagFamily should
call this as a superclass constructor.
<P>
<DT><B>Parameters:</B><DD><CODE>ifd</CODE> - The IFD from which the tag came<DD><CODE>enabled</CODE> - <code>true</code> if we should make use of
this TagFamily subclass for the current IFD</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="checkCount(int, int, int)"><!-- --></A><H3>
checkCount</H3>
<PRE>
protected void <B>checkCount</B>(int tag,
int nValues,
int minCount)
throws <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffException.html">TiffException</A></PRE>
<DL>
<DD>Check the tag entry count.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tag</CODE> - Tag entry value<DD><CODE>nValues</CODE> - Tag entry count<DD><CODE>minCount</CODE> - Tag count
<DD><CODE><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffException.html">TiffException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="checkType(int, int, int)"><!-- --></A><H3>
checkType</H3>
<PRE>
protected void <B>checkType</B>(int tag,
int fieldType,
int type)
throws <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffException.html">TiffException</A></PRE>
<DL>
<DD>Check the tag entry type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tag</CODE> - Tag entry value<DD><CODE>fieldType</CODE> - Tag entry type<DD><CODE>type</CODE> - Tag type
<DD><CODE><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffException.html">TiffException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="checkType(int, int, int, int)"><!-- --></A><H3>
checkType</H3>
<PRE>
protected void <B>checkType</B>(int tag,
int fieldType,
int type1,
int type2)
throws <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffException.html">TiffException</A></PRE>
<DL>
<DD>Check the tag entry type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tag</CODE> - Tag entry value<DD><CODE>fieldType</CODE> - Tag entry type<DD><CODE>type1</CODE> - Tag type<DD><CODE>type2</CODE> - Alternate tag type
<DD><CODE><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffException.html">TiffException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="isEnabled()"><!-- --></A><H3>
isEnabled</H3>
<PRE>
public boolean <B>isEnabled</B>()</PRE>
<DL>
<DD>Returns <code>true</code> if this TagFamily object is
enabled.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="lookupTag(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffIFD, int, int, int, long, edu.harvard.hul.ois.jhove.RepInfo)"><!-- --></A><H3>
lookupTag</H3>
<PRE>
protected abstract boolean <B>lookupTag</B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffIFD.html">TiffIFD</A> ifd,
int tag,
int fieldType,
int nValues,
long valueOffset,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/RepInfo.html">RepInfo</A> info)
throws <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffException.html">TiffException</A></PRE>
<DL>
<DD>Looks up a tag in a TagFamily object. Sets instance variables
as necessary to record the tag, and may change the contents of
the info parameter. If a TagFamily object is
not enabled, its lookupTag method must not be called.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>module</CODE> - The TiffModule under which the tag is being read<DD><CODE>ifd</CODE> - The TiffIFD in which the tag was found<DD><CODE>tag</CODE> - The tag value for the tag being looked up<DD><CODE>fieldType</CODE> - The field type (using the TIFF type values)<DD><CODE>nValues</CODE> - The number of values indicated by the tag<DD><CODE>valueOffset</CODE> - The offset in the file to the value. If the
size of the data is 4 or less, this will be an
offset to the "offset" field itself.<DD><CODE>info</CODE> - The RepInfo object describing the current file
<DD><CODE><A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffException.html">TiffException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="makeAscii(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)"><!-- --></A><H3>
makeAscii</H3>
<PRE>
protected java.lang.String <B>makeAscii</B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)
throws java.io.IOException</PRE>
<DL>
<DD>Obtains a string value from a tag whose type is
ASCII or UNDEFINED. This should be used only with
tags which are expected to have a single string;
if it has more than one string (separated by nulls),
only the first will be returned.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>module</CODE> - The TiffModule under which we are
operating<DD><CODE>tiffTag</CODE> - The TiffTag from which we are extracting
the value<DD><CODE>valueOffset</CODE> - The offset to the data value. If the
value is contained in the tag,
this must be the offset to the datum
in the tag itself.
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="makeAsciiArray(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)"><!-- --></A><H3>
makeAsciiArray</H3>
<PRE>
protected java.lang.String[] <B>makeAsciiArray</B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)
throws java.io.IOException</PRE>
<DL>
<DD>Obtains a string array from a tag whose type is
ASCII or UNDEFINED. This should be used with
tags which may contain multiple, null-separated
strings.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>module</CODE> - The TiffModule under which we are
operating<DD><CODE>tiffTag</CODE> - The TiffTag from which we are extracting
the value<DD><CODE>valueOffset</CODE> - The offset to the data value. If the
value is contained in the tag,
this must be the offset to the datum
in the tag itself.
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="makeDoubleArray(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)"><!-- --></A><H3>
makeDoubleArray</H3>
<PRE>
protected double[] <B>makeDoubleArray</B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)
throws java.io.IOException</PRE>
<DL>
<DD>Obtains a double array value from a tag whose type is
DOUBLE. This should be used with
tags which may have multiple values.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>module</CODE> - The TiffModule under which we are
operating<DD><CODE>tiffTag</CODE> - The TiffTag from which we are extracting
the value<DD><CODE>valueOffset</CODE> - The offset to the data value.
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="makeInt(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)"><!-- --></A><H3>
makeInt</H3>
<PRE>
protected int <B>makeInt</B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)
throws java.io.IOException</PRE>
<DL>
<DD>Obtains an integer value from a tag whose type is
integer-compatible. This should be used only with
tags which are expected to have a single value;
if it has more than one value, only the first will
be returned.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>module</CODE> - The TiffModule under which we are
operating<DD><CODE>tiffTag</CODE> - The TiffTag from which we are extracting
the value<DD><CODE>valueOffset</CODE> - The offset to the data value. If the
value is contained in the tag,
this must be the offset to the datum
in the tag itself.
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="makeIntArray(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)"><!-- --></A><H3>
makeIntArray</H3>
<PRE>
protected int[] <B>makeIntArray</B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)
throws java.io.IOException</PRE>
<DL>
<DD>Obtains an integer array value from a tag whose type is
integer-compatible. This should be used with
tags which may have multiple values.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>module</CODE> - The TiffModule under which we are
operating<DD><CODE>tiffTag</CODE> - The TiffTag from which we are extracting
the value<DD><CODE>valueOffset</CODE> - The offset to the data value.
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="makeLong(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)"><!-- --></A><H3>
makeLong</H3>
<PRE>
protected long <B>makeLong</B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)
throws java.io.IOException</PRE>
<DL>
<DD>Obtains a long value from a tag whose type is
integer-compatible. This should be used only with
tags which are expected to have a single value;
if it has more than one value, only the first will
be returned.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>module</CODE> - The TiffModule under which we are
operating<DD><CODE>tiffTag</CODE> - The TiffTag from which we are extracting
the value<DD><CODE>valueOffset</CODE> - The offset to the data value. If the
value is contained in the tag,
this must be the offset to the datum
in the tag itself.
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="makeLongArray(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)"><!-- --></A><H3>
makeLongArray</H3>
<PRE>
protected long[] <B>makeLongArray</B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)
throws java.io.IOException</PRE>
<DL>
<DD>Obtains a long array value from a tag whose type is
integer-compatible. This should be used with
tags which may have multiple values.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>module</CODE> - The TiffModule under which we are
operating<DD><CODE>tiffTag</CODE> - The TiffTag from which we are extracting
the value<DD><CODE>valueOffset</CODE> - The offset to the data value.
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="makeRational(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)"><!-- --></A><H3>
makeRational</H3>
<PRE>
protected <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/Rational.html">Rational</A> <B>makeRational</B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)
throws java.io.IOException</PRE>
<DL>
<DD>Obtains a Rational value from a tag whose type is
RATIONAL. This should be used only with
tags which are expected to have a single value;
if it has more than one value, only the first will
be returned.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>module</CODE> - The TiffModule under which we are
operating<DD><CODE>tiffTag</CODE> - The TiffTag from which we are extracting
the value<DD><CODE>valueOffset</CODE> - The offset to the data value. If the
value is contained in the tag,
this must be the offset to the datum
in the tag itself.
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="makeRationalArray(edu.harvard.hul.ois.jhove.module.TiffModule, edu.harvard.hul.ois.jhove.module.tiff.TiffTag, long)"><!-- --></A><H3>
makeRationalArray</H3>
<PRE>
protected <A HREF="../../../../../../../edu/harvard/hul/ois/jhove/Rational.html">Rational</A>[] <B>makeRationalArray</B>(<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/TiffModule.html">TiffModule</A> module,
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffTag.html">TiffTag</A> tiffTag,
long valueOffset)
throws java.io.IOException</PRE>
<DL>
<DD>Obtains a Rational array value from a tag whose type is
Rational. This should be used with
tags which may have multiple values.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>module</CODE> - The TiffModule under which we are
operating<DD><CODE>tiffTag</CODE> - The TiffTag from which we are extracting
the value<DD><CODE>valueOffset</CODE> - The offset to the data value.
<DD><CODE>java.io.IOException</CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<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="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="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/StandardIFDProperty.html"><B>PREV CLASS</B></A>
<A HREF="../../../../../../../edu/harvard/hul/ois/jhove/module/tiff/TiffDefs.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="TagFamily.html" TARGET="_top"><B>NO FRAMES</B></A>
<SCRIPT>
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../../allclasses-noframe.html" TARGET=""><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>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
|