1 17 18 19 20 package org.apache.lenya.lucene.html; 21 22 public interface HTMLParserConstants { 23 int EOF = 0; 24 int TagName = 1; 25 int DeclName = 2; 26 int Comment1 = 3; 27 int Comment2 = 4; 28 int Word = 5; 29 int LET = 6; 30 int NUM = 7; 31 int Entity = 8; 32 int Space = 9; 33 int SP = 10; 34 int Punct = 11; 35 int ArgName = 12; 36 int ArgEquals = 13; 37 int TagEnd = 14; 38 int ArgValue = 15; 39 int ArgQuote1 = 16; 40 int ArgQuote2 = 17; 41 int Quote1Text = 19; 42 int CloseQuote1 = 20; 43 int Quote2Text = 21; 44 int CloseQuote2 = 22; 45 int CommentText1 = 23; 46 int CommentEnd1 = 24; 47 int CommentText2 = 25; 48 int CommentEnd2 = 26; 49 int DEFAULT = 0; 50 int WithinTag = 1; 51 int AfterEquals = 2; 52 int WithinQuote1 = 3; 53 int WithinQuote2 = 4; 54 int WithinComment1 = 5; 55 int WithinComment2 = 6; 56 String [] tokenImage = { 57 "<EOF>", "<TagName>", "<DeclName>", "\"<!--\"", "\"<!\"", "<Word>", "<LET>", "<NUM>", 58 "<Entity>", "<Space>", "<SP>", "<Punct>", "<ArgName>", "\"=\"", "<TagEnd>", "<ArgValue>", 59 "\"\\\'\"", "\"\\\"\"", "<token of kind 18>", "<Quote1Text>", "<CloseQuote1>", 60 "<Quote2Text>", "<CloseQuote2>", "<CommentText1>", "\"-->\"", "<CommentText2>", "\">\"", 61 }; 62 } 63 | Popular Tags |