org.acm.seguin.pretty
Class Tokenizer

java.lang.Object
  extended by org.acm.seguin.pretty.Tokenizer
Direct Known Subclasses:
JavadocTokenizer, XDocletTokenizer

public class Tokenizer
extends java.lang.Object

Parses a XDoclet javadoc comment tag

Since:
JRefactory 2.7.02
Author:
Mike Atkinson

Field Summary
protected  java.lang.StringBuffer buffer
          Description of the Field
protected  int index
          Description of the Field
protected  int last
          Description of the Field
static int NEWLINE
          Represents newline
static int SPACE
          Represents spaces
protected  java.lang.String value
          Description of the Field
static int WORD
          Represents a word
 
Constructor Summary
Tokenizer(java.lang.String init)
          Constructor for the JavadocTokenizer object
 
Method Summary
static boolean hasContent(java.lang.String value)
          Description of the Method
 boolean hasNext()
          Description of the Method
protected  void loadWord()
          Loads a particular word.
 net.sourceforge.jrefactory.parser.Token next()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buffer

protected java.lang.StringBuffer buffer
Description of the Field


index

protected int index
Description of the Field


last

protected int last
Description of the Field


value

protected java.lang.String value
Description of the Field


SPACE

public static final int SPACE
Represents spaces

See Also:
Constant Field Values

NEWLINE

public static final int NEWLINE
Represents newline

See Also:
Constant Field Values

WORD

public static final int WORD
Represents a word

See Also:
Constant Field Values
Constructor Detail

Tokenizer

public Tokenizer(java.lang.String init)
Constructor for the JavadocTokenizer object

Method Detail

hasNext

public boolean hasNext()
Description of the Method

Returns:
Description of the Returned Value

next

public net.sourceforge.jrefactory.parser.Token next()
Description of the Method

Returns:
Description of the Returned Value

loadWord

protected void loadWord()
Loads a particular word.


hasContent

public static boolean hasContent(java.lang.String value)
Description of the Method

Returns:
Description of the Return Value