|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pz.platypus.plugin.html.HtmlCommandTable
public class HtmlCommandTable
Contains all the commands used in the PDF plugin, keyed by command root. Class is based substantially on org.pz.Platypus.CommandTable
Field Summary | |
---|---|
private java.util.HashMap<java.lang.String,IOutputCommand> |
commandTable
the hashtable into which the commands are loaded |
Constructor Summary | |
---|---|
HtmlCommandTable()
|
Method Summary | |
---|---|
(package private) void |
add(IOutputCommand entry)
add a OutputCommandable item to the hash table, using its root as the key to the entry |
IOutputCommand |
getCommand(java.lang.String root)
Lookup a command by its root |
int |
getSize()
How many entries in the table |
void |
load(GDD gdd)
Load the commands and symbols into the command table. |
(package private) void |
loadCommands()
load commands in to the command table |
(package private) void |
loadSymbols(GDD gdd)
load the symbols and special characters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.HashMap<java.lang.String,IOutputCommand> commandTable
Constructor Detail |
---|
public HtmlCommandTable()
Method Detail |
---|
public void load(GDD gdd)
gdd
- GDDvoid loadCommands()
void loadSymbols(GDD gdd)
gdd
- the global document datavoid add(IOutputCommand entry)
entry
- to be added (either a command or a symbol)public IOutputCommand getCommand(java.lang.String root)
root
- command root (portion ending in the first | : or ] character
public int getSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |