| 
 | |||||||||
| 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.Token
public abstract class Token
Abstract class to encapsulate lexical tokens from a PDF file. Tokens include numbers, strings, names, delimiters (the open and close markers for dictionaries and arrays), and streams. There are a variety of subclasses for specific kinds of tokens.
| Constructor Summary | |
|---|---|
| Token()Superclass constructor | |
| Method Summary | |
|---|---|
|  boolean | isPdfACompliant()Returns trueif this token is within PDF/A implementation
  limits. | 
|  boolean | isSimpleToken()Returns trueif the token is one which the Parser
  treats as a unitary object. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Token()
| Method Detail | 
|---|
public boolean isSimpleToken()
true if the token is one which the Parser
  treats as a unitary object.  Everything but arrays and dictionaries
  is considered a "simple" token for our purposes.
public boolean isPdfACompliant()
true if this token is within PDF/A implementation
  limits. Always returns true unless overridden.
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||