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