org.modeshape.common.text
Class TokenStream.CaseInsensitiveToken
java.lang.Object
org.modeshape.common.text.TokenStream.CaseSensitiveToken
org.modeshape.common.text.TokenStream.CaseInsensitiveToken
- All Implemented Interfaces:
- TokenStream.Token
- Enclosing class:
- TokenStream
@Immutable
protected class TokenStream.CaseInsensitiveToken
- extends TokenStream.CaseSensitiveToken
TokenStream.CaseInsensitiveToken
public TokenStream.CaseInsensitiveToken(int startIndex,
int endIndex,
int type,
Position position)
matchString
protected String matchString()
-
- Overrides:
matchString
in class TokenStream.CaseSensitiveToken
- See Also:
TokenStream.CaseSensitiveToken.matchString()
withType
public TokenStream.Token withType(int typeMask)
- Bitmask ORed with existing type value.
- Specified by:
withType
in interface TokenStream.Token
- Overrides:
withType
in class TokenStream.CaseSensitiveToken
- Returns:
- copy of Token with new type
- See Also:
TokenStream.Token.withType(int)
Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.