Class AnchorDirective

java.lang.Object
org.apache.velocity.runtime.directive.Directive
org.apache.struts2.views.velocity.components.AbstractDirective
org.apache.struts2.views.velocity.components.AnchorDirective
All Implemented Interfaces:
Cloneable, org.apache.velocity.runtime.directive.DirectiveConstants

public class AnchorDirective extends AbstractDirective
See Also:
  • Anchor
  • Field Summary

    Fields inherited from class org.apache.velocity.runtime.directive.Directive

    log, rsvc

    Fields inherited from interface org.apache.velocity.runtime.directive.DirectiveConstants

    BLOCK, LINE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.struts2.components.Component
    getBean(com.opensymphony.xwork2.util.ValueStack stack, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)
     
     
    int
     

    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

    checkArgs, getColumn, getLine, getScopeName, getTemplate, getTemplateName, init, isScopeProvided, makeScope, postRender, preRender, setLocation, setLocation

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AnchorDirective

      public AnchorDirective()
  • Method Details

    • getBeanName

      public String getBeanName()
      Specified by:
      getBeanName in class AbstractDirective
    • getBean

      protected org.apache.struts2.components.Component getBean(com.opensymphony.xwork2.util.ValueStack stack, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)
      Specified by:
      getBean in class AbstractDirective
    • getType

      public int getType()
      Overrides:
      getType in class AbstractDirective
      Returns:
      All components, unless otherwise stated, are LINE-level directives.