|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.rtf.parser.destinations.RtfDestinationMgr
public final class RtfDestinationMgr
RtfDestinationMgr
manages destination objects for the parser
Field Summary | |
---|---|
static java.lang.String |
DESTINATION_DOCUMENT
String representation of document destination. |
static java.lang.String |
DESTINATION_NULL
String representation of null destination. |
private static java.util.HashMap |
destinationObjects
Destination objects. |
private static java.util.HashMap |
destinations
CtrlWord <-> Destination map object. |
private static boolean |
ignoreUnknownDestinations
|
private static RtfDestinationMgr |
instance
|
private static java.lang.Object |
lock
|
private static RtfParser |
rtfParser
|
Constructor Summary | |
---|---|
private |
RtfDestinationMgr()
Hidden default constructor becuase |
Method Summary | |
---|---|
static boolean |
addDestination(java.lang.String destination,
java.lang.Object[] args)
|
static boolean |
addListener(java.lang.String destination,
RtfDestinationListener listener)
Adds a RtfDestinationListener to the appropriate RtfDestination . |
static RtfDestination |
getDestination(java.lang.String destination)
|
static RtfDestinationMgr |
getInstance()
|
static RtfDestinationMgr |
getInstance(RtfParser parser)
|
static boolean |
removeListener(java.lang.String destination,
RtfDestinationListener listener)
Removes a RtfDestinationListener from the appropriate RtfDestination . |
static void |
setParser(RtfParser parser)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static RtfDestinationMgr instance
private static java.lang.Object lock
private static java.util.HashMap destinations
private static java.util.HashMap destinationObjects
private static boolean ignoreUnknownDestinations
private static RtfParser rtfParser
public static final java.lang.String DESTINATION_NULL
public static final java.lang.String DESTINATION_DOCUMENT
Constructor Detail |
---|
private RtfDestinationMgr()
Method Detail |
---|
public static void setParser(RtfParser parser)
public static RtfDestinationMgr getInstance()
public static RtfDestinationMgr getInstance(RtfParser parser)
public static RtfDestination getDestination(java.lang.String destination)
public static boolean addDestination(java.lang.String destination, java.lang.Object[] args)
public static boolean addListener(java.lang.String destination, RtfDestinationListener listener)
RtfDestinationListener
to the appropriate RtfDestination
.
destination
- the destination string for the listenerlistener
- the new RtfDestinationListener.public static boolean removeListener(java.lang.String destination, RtfDestinationListener listener)
RtfDestinationListener
from the appropriate RtfDestination
.
destination
- the destination string for the listenerlistener
- the RtfCtrlWordListener that has to be removed.
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |