Lines Matching refs:CommandMap

45  * The commands are found using a CommandMap. <p>
56 * The DataHandler keeps track of the current CommandMap that it uses to
59 * Each instance of a DataHandler may have a CommandMap associated with
60 * it using the <code>setCommandMap</code> method. If a CommandMap was
62 * method in CommandMap and uses the value it returns. See
63 * <i>CommandMap</i> for more information. <p>
69 * @see javax.activation.CommandMap
90 // Keep track of the CommandMap
91 private CommandMap currentCommandMap = null;
148 * Return the CommandMap for this instance of DataHandler.
150 private synchronized CommandMap getCommandMap() {
154 return CommandMap.getDefaultCommandMap();
435 * Set the CommandMap for use by this DataHandler.
436 * Setting it to <code>null</code> causes the CommandMap to revert
437 * to the CommandMap returned by the
438 * <code>CommandMap.getDefaultCommandMap</code> method.
439 * Changing the CommandMap, or setting it to <code>null</code>,
440 * clears out any data cached from the previous CommandMap.
442 * @param commandMap the CommandMap to use in this DataHandler
444 * @see javax.activation.CommandMap#setDefaultCommandMap
446 public synchronized void setCommandMap(CommandMap commandMap) {
459 * in the CommandMap associated with this instance of DataHandler.
463 * installed CommandMap chooses the appropriate commands.
467 * @see javax.activation.CommandMap#getPreferredCommands
483 * of the CommandMap associated with this DataHandler.
487 * @see javax.activation.CommandMap#getAllCommands
498 * defined by the CommandMap installed in this DataHandler. The
501 * of the CommandMap associated with this DataHandler.
506 * @see javax.activation.CommandMap#getCommand
577 * 2) if a CommandMap is set, use it <p>
578 * 3) use the default CommandMap <p>