com.borland.primetime.editor
Class NullScanner

java.lang.Object
  |
  +--com.borland.primetime.editor.NullScanner
All Implemented Interfaces:
Scanner

public class NullScanner
extends java.lang.Object
implements Scanner

This is the Scanner class to use when syntax highlighting is not needed and not wanted.

See Also:
Scanner

Constructor Summary
NullScanner()
          Creates a scanner that doesn't do anything.
 
Method Summary
 void parse(javax.swing.event.DocumentEvent e)
          the parse method is called externally to start the scanner.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullScanner

public NullScanner()
Creates a scanner that doesn't do anything.
Method Detail

parse

public void parse(javax.swing.event.DocumentEvent e)
the parse method is called externally to start the scanner. This implementation overrides it to do nothing, so no scanning is performed.
Specified by:
parse in interface Scanner
Parameters:
e - - the DocumentEvent that triggered this parse.