|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openpipeline.pipeline.docfilter.TagLexer
public final class TagLexer
| Field Summary | |
|---|---|
static int |
EOF
|
static int |
IDENTIFIER
|
static int |
QUOTEDSTRING
|
static String[] |
resultAsString
|
static int |
TOKEN
|
static int |
YYINITIAL
lexical states |
| Constructor Summary | |
|---|---|
TagLexer(InputStream in)
Creates a new scanner. |
|
TagLexer(Reader in)
Creates a new scanner There is also a java.io.InputStream version of this constructor. |
|
| Method Summary | |
|---|---|
void |
parse(HashMap hashMap)
Parse the input tag into name/value pairs and add to the HashMap. |
int |
yylex()
Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs. |
void |
yypushback(int number)
Pushes the specified amount of characters back into the input stream. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int YYINITIAL
public static final int EOF
public static final int IDENTIFIER
public static final int QUOTEDSTRING
public static final int TOKEN
public static final String[] resultAsString
| Constructor Detail |
|---|
public TagLexer(Reader in)
in - the java.io.Reader to read input from.public TagLexer(InputStream in)
in - the java.io.Inputstream to read input from.| Method Detail |
|---|
public void parse(HashMap hashMap)
throws IOException
IOExceptionpublic void yypushback(int number)
number - the number of characters to be read again.
This number must not be greater than yylength()!
public int yylex()
throws IOException
IOException - if any I/O-Error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||