org.apache.struts2.views.velocity.components
类 AbstractDirective
java.lang.Object
org.apache.velocity.runtime.directive.Directive
org.apache.struts2.views.velocity.components.AbstractDirective
- 所有已实现的接口:
- Cloneable, org.apache.velocity.runtime.directive.DirectiveConstants
- 直接已知子类:
- ActionDirective, ActionErrorDirective, ActionMessageDirective, AnchorDirective, BeanDirective, CheckBoxDirective, CheckBoxListDirective, ComboBoxDirective, ComponentDirective, DateDirective, DivDirective, DoubleSelectDirective, FieldErrorDirective, FileDirective, FormDirective, HeadDirective, HiddenDirective, I18nDirective, IncludeDirective, InputTransferSelectDirective, LabelDirective, OptGroupDirective, OptionTransferSelectDirective, ParamDirective, PasswordDirective, PropertyDirective, PushDirective, RadioDirective, ResetDirective, SelectDirective, SetDirective, SubmitDirective, TextAreaDirective, TextDirective, TextFieldDirective, TokenDirective, UpDownSelectDirective, URLDirective
public abstract class AbstractDirective
- extends org.apache.velocity.runtime.directive.Directive
从接口 org.apache.velocity.runtime.directive.DirectiveConstants 继承的字段 |
BLOCK, LINE |
方法摘要 |
abstract String |
getBeanName()
|
String |
getName()
|
int |
getType()
All components, unless otherwise stated, are LINE-level directives. |
boolean |
render(org.apache.velocity.context.InternalContextAdapter ctx,
Writer writer,
org.apache.velocity.runtime.parser.node.Node node)
|
从类 org.apache.velocity.runtime.directive.Directive 继承的方法 |
getColumn, getLine, getTemplateName, init, setLocation, setLocation |
AbstractDirective
public AbstractDirective()
getName
public String getName()
- 指定者:
- 类
org.apache.velocity.runtime.directive.Directive
中的 getName
getBeanName
public abstract String getBeanName()
getType
public int getType()
- All components, unless otherwise stated, are LINE-level directives.
- 指定者:
- 类
org.apache.velocity.runtime.directive.Directive
中的 getType
render
public boolean render(org.apache.velocity.context.InternalContextAdapter ctx,
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
- 指定者:
- 类
org.apache.velocity.runtime.directive.Directive
中的 render
- 抛出:
IOException
org.apache.velocity.exception.ResourceNotFoundException
org.apache.velocity.exception.ParseErrorException
org.apache.velocity.exception.MethodInvocationException