ilog.rules.brl

Class IlrBRLMarkerFixTextCorrection

  • java.lang.Object
    • ilog.rules.brl.IlrBRLMarkerFixTextCorrection


  • public class IlrBRLMarkerFixTextCorrection
    extends java.lang.Object
    This class handles text correction.
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrBRLMarkerFixTextCorrection(int offset, int length, java.lang.String replacementText)
      Creates a correction.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getLength()
      Returns the length of the text to be replaced by the correction.
      int getOffset()
      Returns The offset where the correction is to be applied.
      java.lang.String getReplacementText()
      Returns The replacement text.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IlrBRLMarkerFixTextCorrection

        public IlrBRLMarkerFixTextCorrection(int offset,
                                     int length,
                                     java.lang.String replacementText)
        Creates a correction.
        Parameters:
        offset - The offset where the correction must be applied.
        length - The length of the text to be replaced by the correction.
        replacementText - The replacement text.
    • Method Detail

      • getOffset

        public int getOffset()
        Returns The offset where the correction is to be applied.
        Returns:
        The offset where the correction is to be applied.
      • getLength

        public int getLength()
        Returns the length of the text to be replaced by the correction.
        Returns:
        The length of the text to be replaced by the correction.
      • getReplacementText

        public java.lang.String getReplacementText()
        Returns The replacement text.
        Returns:
        The replacement text.

© Copyright IBM Corp. 1987, 2017