public class StructureTree
extends java.lang.Object
StructureElement
Constructor and Description |
---|
StructureTree(PdfModule module,
java.io.RandomAccessFile raf,
Parser parser)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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. |
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 usedPdfException
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)