com.lowagie.text.rtf.parser.destinations
public final class RtfDestinationMgr extends Object
RtfDestinationMgr manages destination objects for the parser
Since: 2.0.8
| Field Summary | |
|---|---|
| static HashMap | destinationObjects
Destination objects.
|
| static HashMap | destinations
CtrlWord <-> Destination map object.
|
| static String | DESTINATION_DOCUMENT
String representation of document destination. |
| static String | DESTINATION_NULL
String representation of null destination. |
| static boolean | ignoreUnknownDestinations |
| static RtfDestinationMgr | instance |
| static Object | lock |
| static RtfParser | rtfParser |
| Constructor Summary | |
|---|---|
| RtfDestinationMgr()
Hidden default constructor becuase | |
| Method Summary | |
|---|---|
| static boolean | addDestination(String destination, Object[] args) |
| static boolean | addListener(String destination, RtfDestinationListener listener)
Adds a RtfDestinationListener to the appropriate RtfDestination.
|
| static RtfDestination | getDestination(String destination) |
| static RtfDestinationMgr | getInstance() |
| static RtfDestinationMgr | getInstance(RtfParser parser) |
| static boolean | removeListener(String destination, RtfDestinationListener listener)
Removes a RtfDestinationListener from the appropriate RtfDestination.
|
| static void | setParser(RtfParser parser) |
RtfDestinationListener to the appropriate RtfDestination.
Parameters: destination the destination string for the listener listener the new RtfDestinationListener.
RtfDestinationListener from the appropriate RtfDestination.
Parameters: destination the destination string for the listener listener the RtfCtrlWordListener that has to be removed.