|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--edu.harvard.hul.ois.jhove.module.pdf.PdfProfile
|
+--edu.harvard.hul.ois.jhove.module.pdf.AProfile
PDF profile checker for PDF/A-1 documents. See ISO draft ISO/TC171/SC2, "Document Imaging Applications Application Issues". Revised to reflect the November 11, 2004 draft. With the new terminology, this profile is specific to PDF/A-1; there may be additional standards in the PDF/A family later on. "PDF/A" means "PDF/A-1" in the documentation of this code. There are two levels of conformance, called Level A and Level B. We report these as two different profiles. To accomplish this, we use AProfileLevelA, linked to an instance of this, which simply checks if this profile established Level A compliance.
| Field Summary |
| Fields inherited from class edu.harvard.hul.ois.jhove.module.pdf.PdfProfile |
_module, _parser, _profileText, _raf |
| Constructor Summary | |
AProfile(PdfModule module)
Constructor. |
|
| Method Summary | |
protected boolean |
formObjectOK(PdfDictionary xo)
Checks if a Form xobject is valid. |
protected boolean |
imageObjectOK(PdfDictionary xo)
Checks if a single image XObject fits the profile |
protected boolean |
satisfiesLevelA()
Returns true if the document was found to be Level A conformant. |
boolean |
satisfiesThisProfile()
Returns true if the document satisfies the profile
at Level B or better. |
void |
setTaggedProfile(TaggedProfile tpr)
Calling setTaggedProfile links this AProfile to a TaggedProfile. |
protected boolean |
xObjectOK(PdfDictionary xo)
Checks a single XObject for xObjectsOK. |
| Methods inherited from class edu.harvard.hul.ois.jhove.module.pdf.PdfProfile |
getText, hasFilters, isAlreadyOK, satisfiesProfile, xObjectsOK |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AProfile(PdfModule module)
module - The module under which we are checking the profile.| Method Detail |
public void setTaggedProfile(TaggedProfile tpr)
public boolean satisfiesThisProfile()
true if the document satisfies the profile
at Level B or better. Also sets the level A flag to the
appropriate value, so that satisfiesLevelA can subsequently
be called.
satisfiesThisProfile in class PdfProfileprotected boolean satisfiesLevelA()
satisfiesThisProfile has been called, and
is intended for use by the Level A profiler.
protected boolean xObjectOK(PdfDictionary xo)
true.
xObjectOK in class PdfProfileprotected boolean formObjectOK(PdfDictionary xo)
protected boolean imageObjectOK(PdfDictionary xo)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||