@FunctionalInterface public interface Render
RenderManager.register(Render)| Modifier and Type | Method and Description |
|---|---|
default String[] |
mappings()
映射
|
default boolean |
matched(Context ctx,
String mime)
是否匹配
|
default String |
name()
名字
|
void |
render(Object data,
Context ctx)
渲染
|
default String |
renderAndReturn(Object data,
Context ctx)
渲染并返回(默认不实现)
|
Copyright © 2025. All rights reserved.