Class TextInterval

java.lang.Object
org.apache.fop.complexscripts.bidi.TextInterval

class TextInterval extends Object

The TextInterval class is a utility class, the instances of which are used to record backpointers to associated nodes over sub-intervals of a delimited text range.

This work was originally authored by Glenn Adams (gadams@apache.org).

  • Field Details

    • fn

      private FONode fn
    • textStart

      private int textStart
    • start

      private int start
    • end

      private int end
    • level

      private int level
  • Constructor Details

    • TextInterval

      TextInterval(FONode fn, int start, int end)
    • TextInterval

      TextInterval(FONode fn, int textStart, int start, int end, int level)
  • Method Details

    • getNode

      FONode getNode()
    • getTextStart

      int getTextStart()
    • getStart

      int getStart()
    • getEnd

      int getEnd()
    • getLevel

      int getLevel()
    • setLevel

      void setLevel(int level)
    • length

      public int length()
    • getText

      public String getText()
    • assignTextLevels

      public void assignTextLevels()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object