001: /* Generated By:JavaCC: Do not edit this line. HTMLParserConstants.java */
002: // package com.tchibo.misc.lucene;
003: package vqwiki.utils.lucene;
004:
005: /**
006: * TODO: Document this interface.
007: *
008: * @version $Id: HTMLParserConstants.java 234 2003-04-15 23:11:06Z garethc $
009: */
010: public interface HTMLParserConstants {
011:
012: /**
013: * TODO: Document this field.
014: */
015: int EOF = 0;
016: /**
017: * TODO: Document this field.
018: */
019: int TagName = 1;
020: /**
021: * TODO: Document this field.
022: */
023: int DeclName = 2;
024: /**
025: * TODO: Document this field.
026: */
027: int Comment1 = 3;
028: /**
029: * TODO: Document this field.
030: */
031: int Comment2 = 4;
032: /**
033: * TODO: Document this field.
034: */
035: int Word = 5;
036: /**
037: * TODO: Document this field.
038: */
039: int LET = 6;
040: /**
041: * TODO: Document this field.
042: */
043: int NUM = 7;
044: /**
045: * TODO: Document this field.
046: */
047: int Entity = 8;
048: /**
049: * TODO: Document this field.
050: */
051: int Space = 9;
052: /**
053: * TODO: Document this field.
054: */
055: int SP = 10;
056: /**
057: * TODO: Document this field.
058: */
059: int Punct = 11;
060: /**
061: * TODO: Document this field.
062: */
063: int ArgName = 12;
064: /**
065: * TODO: Document this field.
066: */
067: int ArgEquals = 13;
068: /**
069: * TODO: Document this field.
070: */
071: int TagEnd = 14;
072: /**
073: * TODO: Document this field.
074: */
075: int ArgValue = 15;
076: /**
077: * TODO: Document this field.
078: */
079: int ArgQuote1 = 16;
080: /**
081: * TODO: Document this field.
082: */
083: int ArgQuote2 = 17;
084: /**
085: * TODO: Document this field.
086: */
087: int Quote1Text = 19;
088: /**
089: * TODO: Document this field.
090: */
091: int CloseQuote1 = 20;
092: /**
093: * TODO: Document this field.
094: */
095: int Quote2Text = 21;
096: /**
097: * TODO: Document this field.
098: */
099: int CloseQuote2 = 22;
100: /**
101: * TODO: Document this field.
102: */
103: int CommentText1 = 23;
104: /**
105: * TODO: Document this field.
106: */
107: int CommentEnd1 = 24;
108: /**
109: * TODO: Document this field.
110: */
111: int CommentText2 = 25;
112: /**
113: * TODO: Document this field.
114: */
115: int CommentEnd2 = 26;
116:
117: /**
118: * TODO: Document this field.
119: */
120: int DEFAULT = 0;
121: /**
122: * TODO: Document this field.
123: */
124: int WithinTag = 1;
125: /**
126: * TODO: Document this field.
127: */
128: int AfterEquals = 2;
129: /**
130: * TODO: Document this field.
131: */
132: int WithinQuote1 = 3;
133: /**
134: * TODO: Document this field.
135: */
136: int WithinQuote2 = 4;
137: /**
138: * TODO: Document this field.
139: */
140: int WithinComment1 = 5;
141: /**
142: * TODO: Document this field.
143: */
144: int WithinComment2 = 6;
145:
146: /**
147: * TODO: Document this field.
148: */
149: String[] tokenImage = { "<EOF>", "<TagName>", "<DeclName>",
150: "\"<!--\"", "\"<!\"", "<Word>", "<LET>", "<NUM>",
151: "<Entity>", "<Space>", "<SP>", "<Punct>", "<ArgName>",
152: "\"=\"", "<TagEnd>", "<ArgValue>", "\"\\\'\"", "\"\\\"\"",
153: "<token of kind 18>", "<Quote1Text>", "<CloseQuote1>",
154: "<Quote2Text>", "<CloseQuote2>", "<CommentText1>",
155: "\"-->\"", "<CommentText2>", "\">\"", };
156:
157: }
|