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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TokenStream.CaseInsensitiveToken(int startIndex, int endIndex, int type, Position position)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected String` | `matchString()`
    `TokenStream.Token` | `withType(int typeMask)` Bitmask ORed with existing type value.

    - ### Methods inherited from class org.modeshape.common.text.TokenStream.CaseSensitiveToken

      `endIndex, length, matches, matches, matches, position, startIndex, toString, type, value`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### TokenStream.CaseInsensitiveToken

          public TokenStream.CaseInsensitiveToken(int startIndex,
                                          int endIndex,
                                          int type,
                                          Position position)

  - ### Method Detail

    - #### matchString

          protected String matchString()

      Overrides:
        `matchString` in class `TokenStream.CaseSensitiveToken`

    - #### withType

          public TokenStream.Token withType(int typeMask)

      Description copied from interface: `TokenStream.Token`
      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

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.