|
|||||||||
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
Constructor Summary | |
---|---|
StructureTree(PdfModule module,
java.io.RandomAccessFile raf,
Parser parser)
Constructor. |
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 true if and only if the document
structure exists. |
boolean |
isValid()
Returns true if 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 |
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
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()
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 |