org.apache.struts2.views.velocity.components
Class ComponentDirective
java.lang.Object
org.apache.velocity.runtime.directive.Directive
org.apache.struts2.views.velocity.components.AbstractDirective
org.apache.struts2.views.velocity.components.ComponentDirective
- All Implemented Interfaces:
- Cloneable, org.apache.velocity.runtime.directive.DirectiveConstants
public class ComponentDirective
- extends AbstractDirective
- See Also:
GenericUIBean
| Fields inherited from class org.apache.velocity.runtime.directive.Directive |
rsvc |
| Fields inherited from interface org.apache.velocity.runtime.directive.DirectiveConstants |
BLOCK, LINE |
|
Method Summary |
protected Component |
getBean(ValueStack stack,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
String |
getBeanName()
|
int |
getType()
All components, unless otherwise stated, are LINE-level directives. |
| Methods inherited from class org.apache.velocity.runtime.directive.Directive |
getColumn, getLine, getTemplateName, init, setLocation, setLocation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentDirective
public ComponentDirective()
getBean
protected Component getBean(ValueStack stack,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
- Specified by:
getBean in class AbstractDirective
getBeanName
public String getBeanName()
- Specified by:
getBeanName in class AbstractDirective
getType
public int getType()
- Description copied from class:
AbstractDirective
- All components, unless otherwise stated, are LINE-level directives.
- Overrides:
getType in class AbstractDirective
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.