Class QuotedScalar


  • public class QuotedScalar
    extends Object
    • Field Detail

      • firstLineHasContinuation

        public boolean firstLineHasContinuation
    • Constructor Detail

      • QuotedScalar

        public QuotedScalar()
    • Method Detail

      • setFirstLine

        public void setFirstLine​(String line)
        Set the first quoted line and configure SnakeYaml dump options WARNING: type variable must already be set.
        Parameters:
        line -
      • addLine

        public void addLine​(Line line)
      • isEmpty

        public boolean isEmpty()
      • getTranslatableStrings

        public List<Line> getTranslatableStrings()
        Create a list of lines that represent TextUnits and skeleton (e.g., newlines) between them decode the strings based on the type
        Returns:
        list of translatable lines and skeleton.
      • getOriginalString

        public String getOriginalString()
        get original string with full indentation for skeleton
        Returns:
        originl string