org.apache.struts2.views.velocity.components
Class ComponentDirective

java.lang.Object
  extended by org.apache.velocity.runtime.directive.Directive
      extended by org.apache.struts2.views.velocity.components.AbstractDirective
          extended by 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

Field Summary
 
Fields inherited from class org.apache.velocity.runtime.directive.Directive
rsvc
 
Fields inherited from interface org.apache.velocity.runtime.directive.DirectiveConstants
BLOCK, LINE
 
Constructor Summary
ComponentDirective()
           
 
Method Summary
protected  Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res)
           
 String getBeanName()
           
 int getType()
          All components, unless otherwise stated, are LINE-level directives.
 
Methods inherited from class org.apache.struts2.views.velocity.components.AbstractDirective
createPropertyMap, getName, putProperty, render
 
Methods inherited from class org.apache.velocity.runtime.directive.Directive
getColumn, getLine, init, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentDirective

public ComponentDirective()
Method Detail

getBean

protected Component getBean(ValueStack stack,
                            HttpServletRequest req,
                            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-2009 Apache Software Foundation. All Rights Reserved.