Class RtfDestinationMgr
java.lang.Object
com.lowagie.text.rtf.parser.destinations.RtfDestinationMgr
RtfDestinationMgr manages destination objects for the parser- Since:
- 2.0.8
- Author:
- Howard Shank (hgshank@yahoo.com)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaddDestination(String destination, Object[] args) static booleanaddListener(String destination, RtfDestinationListener listener) Adds aRtfDestinationListenerto the appropriateRtfDestination.static RtfDestinationgetDestination(String destination) static RtfDestinationMgrstatic RtfDestinationMgrgetInstance(RtfParser parser) static booleanremoveListener(String destination, RtfDestinationListener listener) Removes aRtfDestinationListenerfrom the appropriateRtfDestination.static void
-
Field Details
-
DESTINATION_NULL
-
DESTINATION_DOCUMENT
String representation of document destination.- See Also:
-
-
Method Details
-
setParser
-
getInstance
-
getInstance
-
getDestination
-
addDestination
-
addListener
Adds aRtfDestinationListenerto the appropriateRtfDestination.- Parameters:
destination- the destination string for the listenerlistener- the new RtfDestinationListener.
-
removeListener
Removes aRtfDestinationListenerfrom the appropriateRtfDestination.- Parameters:
destination- the destination string for the listenerlistener- the RtfCtrlWordListener that has to be removed.
-