notio
Class UnimplementedMacro

java.lang.Object
  |
  +--notio.UnimplementedMacro

public class UnimplementedMacro
extends java.lang.Object
implements Macro, java.io.Serializable

Class used to create a dummy for unimplemented macros.

See Also:
Serialized Form

Constructor Summary
UnimplementedMacro(java.lang.String newName)
          Constructs an dummy macro with the specified name.
 
Method Summary
 java.lang.Object[] executeMacro(java.lang.Object[] args)
          UnimplementedMacros are dummy macros that do nothing when implemented.
 java.lang.String getName()
          Returns the name of the macro.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnimplementedMacro

public UnimplementedMacro(java.lang.String newName)
Constructs an dummy macro with the specified name.
Parameters:
newName - the name by which this macro is known.
Method Detail

getName

public java.lang.String getName()
Returns the name of the macro.
Specified by:
getName in interface Macro
Returns:
the name of the macro.

executeMacro

public java.lang.Object[] executeMacro(java.lang.Object[] args)
UnimplementedMacros are dummy macros that do nothing when implemented. Perhaps they should throw an UnimplementedOperationException exception?
Specified by:
executeMacro in interface Macro
Parameters:
args - these are completely ignored.
Returns:
null since this macro doesn't do anything.


Copyright 1998-1999 Finnegan Southey