public class StructureTree extends Object
StructureElement
Modifier and Type | Field and Description |
---|---|
protected Logger |
_logger
Logger for this class.
|
Constructor and Description |
---|
StructureTree(PdfModule module,
RandomAccessFile raf,
Parser parser)
Constructor.
|
StructureTree(PdfModule module,
RandomAccessFile raf,
Parser parser,
boolean tranzhent)
Constructor with transient flag.
|
Modifier and Type | Method and Description |
---|---|
String |
dereferenceStructType(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. |
protected boolean |
isTransient() |
boolean |
isValid()
Returns
true if and only if no errors were
detected. |
protected Logger _logger
public StructureTree(PdfModule module, RandomAccessFile raf, Parser parser) throws PdfException
module
- The PdfModule under which we're operatingraf
- The document file objectparser
- The Parser being usedPdfException
public StructureTree(PdfModule module, RandomAccessFile raf, Parser parser, boolean tranzhent) throws PdfException
PdfException
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 String dereferenceStructType(String st)
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.