|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.modeshape.common.text.TokenStream.TokenFactory org.modeshape.common.text.TokenStream.CaseInsensitiveTokenFactory
public class TokenStream.CaseInsensitiveTokenFactory
Field Summary |
---|
Fields inherited from class org.modeshape.common.text.TokenStream.TokenFactory |
---|
tokens |
Constructor Summary | |
---|---|
TokenStream.CaseInsensitiveTokenFactory()
|
Method Summary | |
---|---|
void |
addToken(Position position,
int startIndex,
int endIndex,
int type)
Create a single- or multi-character token with the supplied type and with the characters in the range given by the starting and ending index in the character stream. |
Methods inherited from class org.modeshape.common.text.TokenStream.TokenFactory |
---|
addToken, addToken, getTokens |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TokenStream.CaseInsensitiveTokenFactory()
Method Detail |
---|
public void addToken(Position position, int startIndex, int endIndex, int type)
position
- the position (line and column numbers) of this new token; may not be nullstartIndex
- the index of the first character to appear in the token; must be a valid index in the streamendIndex
- the index just past the last character to appear in the token; must be a valid index in the streamtype
- the type of the tokenTokenStream.Tokens.addToken(Position,int, int, int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |