Class TransliteratorParser.RuleBody

java.lang.Object
com.ibm.icu.text.TransliteratorParser.RuleBody
Direct Known Subclasses:
TransliteratorParser.RuleArray
Enclosing class:
TransliteratorParser

private abstract static class TransliteratorParser.RuleBody extends Object
A private abstract class representing the interface to rule source code that is broken up into lines. Handles the folding of lines terminated by a backslash. This folding is limited; it does not account for comments, quotes, or escapes, so its use to be limited.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) abstract String
    Subclass method to return the next line of the source.
    (package private) String
    Retrieve the next line of the source, or return null if none.
    (package private) abstract void
    Reset to the first line of the source.

    Methods inherited from class java.lang.Object

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

    • RuleBody

      private RuleBody()
  • Method Details

    • nextLine

      String nextLine()
      Retrieve the next line of the source, or return null if none. Folds lines terminated by a backslash into the next line, without regard for comments, quotes, or escapes.
    • reset

      abstract void reset()
      Reset to the first line of the source.
    • handleNextLine

      abstract String handleNextLine()
      Subclass method to return the next line of the source.