# Uses of Interface
org.apache.lucene.analysis.tokenattributes.CharTermAttribute

Packages that use CharTermAttribute
Package
Description
org.apache.lucene.analysis.standard
Fast, general-purpose grammar-based tokenizer `StandardTokenizer` implements the Word Break rules from the Unicode Text Segmentation algorithm, as specified in Unicode Standard Annex #29.
org.apache.lucene.analysis.tokenattributes
General-purpose attributes for text analysis.

## Uses of CharTermAttribute in org.apache.lucene.analysis.standard

Methods in org.apache.lucene.analysis.standard with parameters of type CharTermAttribute
Modifier and Type
Method
Description
`final void`
StandardTokenizerImpl.`getText(CharTermAttribute t)`
Fills CharTermAttribute with the current token text.

## Uses of CharTermAttribute in org.apache.lucene.analysis.tokenattributes

Classes in org.apache.lucene.analysis.tokenattributes that implement CharTermAttribute
Modifier and Type
Class
Description
`class`
`CharTermAttributeImpl`
Default implementation of `CharTermAttribute`.
`class`
`PackedTokenAttributeImpl`
Default implementation of the common attributes used by Lucene: `CharTermAttribute` `TypeAttribute` `PositionIncrementAttribute` `PositionLengthAttribute` `OffsetAttribute` `TermFrequencyAttribute`
Methods in org.apache.lucene.analysis.tokenattributes that return CharTermAttribute
Modifier and Type
Method
Description
`CharTermAttribute`
CharTermAttribute.`append(char c)`
`CharTermAttribute`
CharTermAttribute.`append(CharSequence csq)`
`CharTermAttribute`
CharTermAttribute.`append(CharSequence csq, int start, int end)`
`CharTermAttribute`
CharTermAttribute.`append(String s)`
Appends the specified `String` to this character sequence.
`CharTermAttribute`
CharTermAttribute.`append(StringBuilder sb)`
Appends the specified `StringBuilder` to this character sequence.
`CharTermAttribute`
CharTermAttribute.`append(CharTermAttribute termAtt)`
Appends the contents of the other `CharTermAttribute` to this character sequence.
`final CharTermAttribute`
CharTermAttributeImpl.`append(char c)`
`final CharTermAttribute`
CharTermAttributeImpl.`append(CharSequence csq)`
`final CharTermAttribute`
CharTermAttributeImpl.`append(CharSequence csq, int start, int end)`
`final CharTermAttribute`
CharTermAttributeImpl.`append(String s)`
`final CharTermAttribute`
CharTermAttributeImpl.`append(StringBuilder s)`
`final CharTermAttribute`
CharTermAttributeImpl.`append(CharTermAttribute ta)`
`CharTermAttribute`
CharTermAttribute.`setEmpty()`
Sets the length of the termBuffer to zero.
`final CharTermAttribute`
CharTermAttributeImpl.`setEmpty()`
`CharTermAttribute`
CharTermAttribute.`setLength(int length)`
Set number of valid characters (length of the term) in the termBuffer array.
`final CharTermAttribute`
CharTermAttributeImpl.`setLength(int length)`
Methods in org.apache.lucene.analysis.tokenattributes with parameters of type CharTermAttribute
Modifier and Type
Method
Description
`CharTermAttribute`
CharTermAttribute.`append(CharTermAttribute termAtt)`
Appends the contents of the other `CharTermAttribute` to this character sequence.
`final CharTermAttribute`
CharTermAttributeImpl.`append(CharTermAttribute ta)`