reader.lexer.html
Class Lexeme

java.lang.Object
  extended by reader.lexer.html.Lexeme

public class Lexeme
extends java.lang.Object

This class represents a single token of information in a file.


Nested Class Summary
static class Lexeme.Type
          These are known used tags for an HTML document.
 
Constructor Summary
Lexeme(Lexeme.Type t)
          Convenience Constructor. Same as Lexeme(t,null).
Lexeme(Lexeme.Type t, java.lang.String s)
          Constructs a new Lexeme.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lexeme

public Lexeme(Lexeme.Type t)
Convenience Constructor. Same as Lexeme(t,null).

Parameters:
t - The type of the Lexeme.

Lexeme

public Lexeme(Lexeme.Type t,
              java.lang.String s)
Constructs a new Lexeme.

Parameters:
t - The Type of the object.
s - The String associated with certain Types.