@Deprecated public class StringSerializerRender extends Object implements org.noear.solon.core.handle.Render
| Constructor and Description |
|---|
StringSerializerRender(boolean typed,
EntitySerializer<String> serializer)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.noear.solon.core.serialize.Serializer<String> |
getSerializer()
Deprecated.
获取序列化器
|
boolean |
isTyped()
Deprecated.
是否类型化的
|
boolean |
matched(org.noear.solon.core.handle.Context ctx,
String mime)
Deprecated.
匹配检测
|
String |
name()
Deprecated.
获取渲染器名字
|
protected void |
output(org.noear.solon.core.handle.Context ctx,
Object data,
String text)
Deprecated.
输出
|
void |
render(Object data,
org.noear.solon.core.handle.Context ctx)
Deprecated.
渲染
|
String |
renderAndReturn(Object data,
org.noear.solon.core.handle.Context ctx)
Deprecated.
渲染并返回
|
public StringSerializerRender(boolean typed,
EntitySerializer<String> serializer)
public boolean isTyped()
public org.noear.solon.core.serialize.Serializer<String> getSerializer()
public String name()
name in interface org.noear.solon.core.handle.Renderpublic boolean matched(org.noear.solon.core.handle.Context ctx,
String mime)
matched in interface org.noear.solon.core.handle.Renderpublic String renderAndReturn(Object data, org.noear.solon.core.handle.Context ctx) throws Throwable
renderAndReturn in interface org.noear.solon.core.handle.Renderdata - 数据ctx - 上下文Throwablepublic void render(Object data, org.noear.solon.core.handle.Context ctx) throws Throwable
render in interface org.noear.solon.core.handle.Renderdata - 数据ctx - 上下文ThrowableCopyright © 2025. All rights reserved.