# Class: com.pnfsoftware.jeb.core.output.text.impl.Anchor

A simple implementation of an anchor.

## Constructor: Anchor
- parameter: `id`, type: `long`
- parameter: `lineindex`, type: `int`

Description: Create an anchor.
parameter: id: anchor identifier, positive or null
parameter: lineindex: the index of the first line \(relative to the document part this anchor            belongs to\)

## Method: getIdentifier
- return type: `long`


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


## Method: setIdentifier
- parameter: `id`, type: `long`


## Method: setLineIndex
- parameter: `index`, type: `int`


## Method: toString
- return type: `java.lang.String`


