java.lang.Object
com.pnfsoftware.jeb.core.output.text.impl.TextMark
All Implemented Interfaces:
ITextMark

@Ser public class TextMark extends Object implements ITextMark
Standard implementation of a text mark.
  • Constructor Details

    • TextMark

      public TextMark(int offset, String name, Object object)
  • Method Details

    • getOffset

      public int getOffset()
      Description copied from interface: ITextMark
      Get the mark offset within its owner line.
      Specified by:
      getOffset in interface ITextMark
      Returns:
      the 0-based character offset
    • getName

      public String getName()
      Description copied from interface: ITextMark
      Get the mark name.
      Specified by:
      getName in interface ITextMark
      Returns:
      the mark name
    • getObject

      public Object getObject()
      Description copied from interface: ITextMark
      Get the optional object associated with this mark.
      Specified by:
      getObject in interface ITextMark
      Returns:
      the attached object, or null if none