Class AppendableToWritable

java.lang.Object
io.micronaut.views.soy.AppendableToWritable
All Implemented Interfaces:
com.google.template.soy.jbcsrc.api.AdvisingAppendable, io.micronaut.core.io.Streamable, io.micronaut.core.io.Writable, Appendable

public class AppendableToWritable extends Object implements io.micronaut.core.io.Writable, Appendable, com.google.template.soy.jbcsrc.api.AdvisingAppendable
Adapts Appendable to Writable for use when rendering Soy templates.
Since:
1.2.1
Author:
Sam Gammon (sam@bloombox.io)
  • Constructor Details

    • AppendableToWritable

      public AppendableToWritable()
  • Method Details

    • append

      public com.google.template.soy.jbcsrc.api.AdvisingAppendable append(CharSequence charSequence)
      Specified by:
      append in interface com.google.template.soy.jbcsrc.api.AdvisingAppendable
      Specified by:
      append in interface Appendable
    • append

      public com.google.template.soy.jbcsrc.api.AdvisingAppendable append(CharSequence charSequence, int i, int i1)
      Specified by:
      append in interface com.google.template.soy.jbcsrc.api.AdvisingAppendable
      Specified by:
      append in interface Appendable
    • append

      public com.google.template.soy.jbcsrc.api.AdvisingAppendable append(char c)
      Specified by:
      append in interface com.google.template.soy.jbcsrc.api.AdvisingAppendable
      Specified by:
      append in interface Appendable
    • softLimitReached

      public boolean softLimitReached()
      Specified by:
      softLimitReached in interface com.google.template.soy.jbcsrc.api.AdvisingAppendable
    • writeTo

      public void writeTo(Writer out) throws IOException
      Specified by:
      writeTo in interface io.micronaut.core.io.Writable
      Throws:
      IOException