Package io.micronaut.views.soy
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.template.soy.jbcsrc.api.AdvisingAppendableappend(char c) com.google.template.soy.jbcsrc.api.AdvisingAppendableappend(CharSequence charSequence) com.google.template.soy.jbcsrc.api.AdvisingAppendableappend(CharSequence charSequence, int i, int i1) booleanvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.io.Writable
writeTo, writeTo, writeTo
-
Constructor Details
-
AppendableToWritable
public AppendableToWritable()
-
-
Method Details
-
append
- Specified by:
appendin interfacecom.google.template.soy.jbcsrc.api.AdvisingAppendable- Specified by:
appendin interfaceAppendable
-
append
public com.google.template.soy.jbcsrc.api.AdvisingAppendable append(CharSequence charSequence, int i, int i1) - Specified by:
appendin interfacecom.google.template.soy.jbcsrc.api.AdvisingAppendable- Specified by:
appendin interfaceAppendable
-
append
public com.google.template.soy.jbcsrc.api.AdvisingAppendable append(char c) - Specified by:
appendin interfacecom.google.template.soy.jbcsrc.api.AdvisingAppendable- Specified by:
appendin interfaceAppendable
-
softLimitReached
public boolean softLimitReached()- Specified by:
softLimitReachedin interfacecom.google.template.soy.jbcsrc.api.AdvisingAppendable
-
writeTo
- Specified by:
writeToin interfaceio.micronaut.core.io.Writable- Throws:
IOException
-