# Interface: com.pnfsoftware.jeb.core.output.text.ILine

Representation of a line within an [ITextDocumentPart](ITextDocumentPart). A line should not contain new line characters such as carriage\-return or line\-feed. A line may contain optional, non\-overlapping items that define regions of text onto which special meaning can be attached. 

 It is the responsibility of the implementor to make sure that lines do not contain CR/LF characters. 

 It is the responsibility of the implementor to make sure that items are non overlapping.

## Static Field: EMPTY_LINE
Type: `com.pnfsoftware.jeb.core.output.text.ILine`
Description: An empty line with no anchor

## Static Field: FLAG_DISABLED_LINE
Type: `int`

Constant value: `1`
Description: This flag indicates that the current line is "disabled". Clients rendering the line may interpret this flag in the way of their choosing; they may also ignore it.

## Method: getFlags
- return type: `int`

Description: Retrieve the flags for the entire line.
return: optional flags \(may be 0\)

## Method: getItems
- return type: `java.util.List<? extends com.pnfsoftware.jeb.core.output.text.ITextItem>`

Description: Get the list of text items within the current line. It is the responsibility of the implementor to make sure that items are non overlapping and are sorted.
return: a list, possibly empty, of text items

## Method: getMarks
- return type: `java.util.List<? extends com.pnfsoftware.jeb.core.output.text.ITextMark>`

Description: Get the list of marks for this line.
return: a list, possibly empty, of marks attached to the line

## Method: getText
- return type: `java.lang.CharSequence`

Description: Get the line text. It is the responsibility of the implementor to make sure that lines do not contain CR/LF characters.
return: the line

