| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.harvard.hul.ois.jhove.module.pdf.PdfProfile
edu.harvard.hul.ois.jhove.module.pdf.AProfile
public final class AProfile
PDF profile checker for PDF/A-1 documents. See 19005-1:2005(E), "Document Imaging Applications Application Issues". Revised to reflect the final standard. 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 trueif 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)
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 | ||||||||