Class TextNode

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private char[] data
      Most Writers will convert strings to char[] so we might as well store it as a char[] to begin with; small performance optimization.
    • Constructor Summary

      Constructors 
      Constructor Description
      TextNode​(java.lang.String text, int lineNumber)  
    • Field Detail

      • data

        private final char[] data
        Most Writers will convert strings to char[] so we might as well store it as a char[] to begin with; small performance optimization.
    • Constructor Detail

      • TextNode

        public TextNode​(java.lang.String text,
                        int lineNumber)