java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.output.text.impl.Anchor |
A simple implementation of an anchor.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Anchor(long id, int lineindex)
Create an anchor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
long |
getIdentifier()
Get the anchor identifier.
| ||||||||||
int |
getLineIndex()
Get the line index, within the document part, of the first line (the anchor line) of the
anchored chunk.
| ||||||||||
void | setIdentifier(long id) | ||||||||||
void | setLineIndex(int index) | ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pnfsoftware.jeb.core.output.text.IAnchor
|
Create an anchor.
id | anchor identifier, positive or null |
---|---|
lineindex | the index of the first line (relative to the document part this anchor belongs to) |
Get the anchor identifier. The identifier is a zero+ index number.
Get the line index, within the document part, of the first line (the anchor line) of the anchored chunk.