public class SeizeDirective extends AbstractDirective
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
KEY_SEIZES |
| 构造器和说明 |
|---|
SeizeDirective() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getSeize(org.apache.velocity.context.InternalContextAdapter context,
org.apache.velocity.runtime.parser.node.Node node)
获取占位值
|
static List<Object> |
getSeizes(org.apache.velocity.context.Context context) |
int |
getType() |
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 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 Object getSeize(org.apache.velocity.context.InternalContextAdapter context, org.apache.velocity.runtime.parser.node.Node node)
context - node - Copyright © 2024. All rights reserved.