# Interface: com.pnfsoftware.jeb.core.output.text.ITextItem
- Super interfaces: `com.pnfsoftware.jeb.core.output.IItem`

A text item is used to identify a particular sequence of characters within the string of an  ITextDocumentPart. This interface is not directly useful. Derived interfaces  [IVisualTextItem](com.pnfsoftware.jeb.core.output.text.IVisualTextItem.md) and [IActionableTextItem](com.pnfsoftware.jeb.core.output.text.IActionableTextItem.md) are used to associate class IDs \(eg, for  coloring\) and item IDs \(eg, to make items actionable\) to text items.

## Abstract Method: getLength
- return type: `int`

Description: Get item length within a line.
return: the item character count

## Abstract Method: getLine
- return type: `com.pnfsoftware.jeb.core.output.text.ILine`

Description: Get the line that contains this item.
return: the line, or null if the item does not belong to any line

## Abstract Method: getOffset
- return type: `int`

Description: Get the item offset within a line.
return: the item offset

## Abstract Method: getOffsetEnd
- return type: `int`

Description: Get the item end offset \(exclusive\) within a line.
return: the exclusive end offset

## Abstract Method: getText
- return type: `java.lang.String`

Description: Get the text of the item.
return: the text covered by this item

