| 
 | |||||||||
| 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.StructureTree
public class StructureTree
Class for PDF document structure tree. See section 9.6, "Logical Structure," of PDF Reference, Version 1.4, for an explanation of the document structure.
StructureElement| Field Summary | |
|---|---|
| protected  java.util.logging.Logger | _loggerLogger for this class. | 
| Constructor Summary | |
|---|---|
| StructureTree(PdfModule module,
              java.io.RandomAccessFile raf,
              Parser parser)Constructor. | |
| StructureTree(PdfModule module,
              java.io.RandomAccessFile raf,
              Parser parser,
              boolean tranzhent)Constructor with transient flag. | |
| Method Summary | |
|---|---|
|  java.lang.String | dereferenceStructType(java.lang.String st)Dereference a name in the role map. | 
|  PdfModule | getModule()Returns the module associated with this object. | 
|  boolean | isPresent()Returns trueif and only if the document
  structure exists. | 
| protected  boolean | isTransient() | 
|  boolean | isValid()Returns trueif and only if no errors were
   detected. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected java.util.logging.Logger _logger
| Constructor Detail | 
|---|
public StructureTree(PdfModule module,
                     java.io.RandomAccessFile raf,
                     Parser parser)
              throws PdfException
module - The PdfModule under which we're operatingraf - The document file objectparser - The Parser being used
PdfException
public StructureTree(PdfModule module,
                     java.io.RandomAccessFile raf,
                     Parser parser,
                     boolean tranzhent)
              throws PdfException
PdfException| Method Detail | 
|---|
public boolean isPresent()
true if and only if the document
  structure exists.
public boolean isValid()
true if and only if no errors were
   detected.
public PdfModule getModule()
protected boolean isTransient()
public java.lang.String dereferenceStructType(java.lang.String st)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||