Class CodeAnchor
java.lang.Object
com.pnfsoftware.jeb.core.output.code.CodeAnchor
- All Implemented Interfaces:
IAnchor
Named anchors for code documents. Such anchors are created via
CodeDocumentPart.registerAnchor(String)
. They are limited to a 32-bit addressing space.-
Method Details
-
getIdentifier
public long getIdentifier()Description copied from interface:IAnchor
Get the anchor identifier. The identifier is a zero+ index number.- Specified by:
getIdentifier
in interfaceIAnchor
- Returns:
- the identifier
-
getLineIndex
public int getLineIndex()Description copied from interface:IAnchor
Get the line index, within the document part, of the first line (the anchor line) of the anchored chunk.- Specified by:
getLineIndex
in interfaceIAnchor
- Returns:
- the identifier
-
getName
Get the name of this anchor.- Returns:
- the anchor name
-
toString
-