org.apache.lucene.demo.html

Class HTMLParserTokenManager

Implemented Interfaces:
HTMLParserConstants

public class HTMLParserTokenManager
extends Object
implements HTMLParserConstants

Field Summary

protected char
curChar
PrintStream
debugStream
protected SimpleCharStream
input_stream
static int[]
jjnewLexState
static String[]
jjstrLiteralImages
static String[]
lexStateNames

Fields inherited from interface org.apache.lucene.demo.html.HTMLParserConstants

AfterEquals, ArgEquals, ArgName, ArgQuote1, ArgQuote2, ArgValue, CloseQuote1, CloseQuote2, Comment1, Comment2, CommentEnd1, CommentEnd2, CommentText1, CommentText2, DEFAULT, DeclName, EOF, Entity, HEX, LET, NUM, Punct, Quote1Text, Quote2Text, SP, ScriptEnd, ScriptStart, ScriptText, Space, TagEnd, TagName, WithinComment1, WithinComment2, WithinQuote1, WithinQuote2, WithinScript, WithinTag, Word, tokenImage

Constructor Summary

HTMLParserTokenManager(SimpleCharStream stream)
HTMLParserTokenManager(SimpleCharStream stream, int lexState)

Method Summary

void
ReInit(SimpleCharStream stream)
void
ReInit(SimpleCharStream stream, int lexState)
void
SwitchTo(int lexState)
Token
getNextToken()
protected Token
jjFillToken()
void
setDebugStream(PrintStream ds)

Field Details

curChar

protected char curChar

debugStream

public PrintStream debugStream

input_stream

protected SimpleCharStream input_stream

jjnewLexState

public static final int[] jjnewLexState

jjstrLiteralImages

public static final String[] jjstrLiteralImages

lexStateNames

public static final String[] lexStateNames

Constructor Details

HTMLParserTokenManager

public HTMLParserTokenManager(SimpleCharStream stream)

HTMLParserTokenManager

public HTMLParserTokenManager(SimpleCharStream stream,
                              int lexState)

Method Details

ReInit

public void ReInit(SimpleCharStream stream)

ReInit

public void ReInit(SimpleCharStream stream,
                   int lexState)

SwitchTo

public void SwitchTo(int lexState)

getNextToken

public Token getNextToken()

jjFillToken

protected Token jjFillToken()

setDebugStream

public void setDebugStream(PrintStream ds)

Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.