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
 
构造方法摘要
AbstractDirective()
           
 
方法摘要
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
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

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