public class RenderDirective extends AbstractDirective
| 构造器和说明 |
|---|
RenderDirective() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getRenderContent(org.apache.velocity.context.InternalContextAdapter context,
org.apache.velocity.runtime.parser.node.Node node)
获取节点名
|
int |
getType() |
VelocityContext |
getWidgetContext(org.apache.velocity.context.InternalContextAdapter context,
org.apache.velocity.runtime.parser.node.Node node)
获取上下文
|
boolean |
render(org.apache.velocity.context.InternalContextAdapter context,
Writer writer,
org.apache.velocity.runtime.parser.node.Node node)
渲染指令
|
createPropertyMap, getEngine, getName, getProperty, getPropertyCount, setPropertypublic int getType()
getType 在类中 org.apache.velocity.runtime.directive.Directivepublic final boolean render(org.apache.velocity.context.InternalContextAdapter context,
Writer writer,
org.apache.velocity.runtime.parser.node.Node node)
throws IOException,
org.apache.velocity.exception.ResourceNotFoundException,
org.apache.velocity.exception.ParseErrorException,
org.apache.velocity.exception.MethodInvocationException
render 在类中 org.apache.velocity.runtime.directive.DirectiveIOExceptionorg.apache.velocity.exception.ResourceNotFoundExceptionorg.apache.velocity.exception.ParseErrorExceptionorg.apache.velocity.exception.MethodInvocationExceptionpublic final String getRenderContent(org.apache.velocity.context.InternalContextAdapter context, org.apache.velocity.runtime.parser.node.Node node)
context - node - public VelocityContext getWidgetContext(org.apache.velocity.context.InternalContextAdapter context, org.apache.velocity.runtime.parser.node.Node node)
context - node - Copyright © 2024. All rights reserved.