Class ModelTree.ModelNode.Link

java.lang.Object
org.apache.ofbiz.widget.model.ModelTree.ModelNode.Link
Enclosing class:
ModelTree.ModelNode

public static class ModelTree.ModelNode.Link extends Object
Models the <link> element.
See Also:
  • widget-tree.xsd
  • Constructor Details

  • Method Details

    • getEncode

      public boolean getEncode()
      Gets encode.
      Returns:
      the encode
    • getFullPath

      public boolean getFullPath()
      Gets full path.
      Returns:
      the full path
    • getId

      public String getId(Map<String,Object> context)
      Gets id.
      Parameters:
      context - the context
      Returns:
      the id
    • getImage

      public ModelTree.ModelNode.Image getImage()
      Gets image.
      Returns:
      the image
    • getLinkType

      public String getLinkType()
      Gets link type.
      Returns:
      the link type
    • getName

      public String getName(Map<String,Object> context)
      Gets name.
      Parameters:
      context - the context
      Returns:
      the name
    • getParameterMap

      public Map<String,String> getParameterMap(Map<String,Object> context)
      Gets parameter map.
      Parameters:
      context - the context
      Returns:
      the parameter map
    • getPrefix

      public String getPrefix(Map<String,Object> context)
      Gets prefix.
      Parameters:
      context - the context
      Returns:
      the prefix
    • getSecure

      public boolean getSecure()
      Gets secure.
      Returns:
      the secure
    • getStyle

      public String getStyle(Map<String,Object> context)
      Gets style.
      Parameters:
      context - the context
      Returns:
      the style
    • getTarget

      public String getTarget(Map<String,Object> context)
      Gets target.
      Parameters:
      context - the context
      Returns:
      the target
    • getTargetWindow

      public String getTargetWindow(Map<String,Object> context)
      Gets target window.
      Parameters:
      context - the context
      Returns:
      the target window
    • getText

      public String getText(Map<String,Object> context)
      Gets text.
      Parameters:
      context - the context
      Returns:
      the text
    • getTitle

      public String getTitle(Map<String,Object> context)
      Gets title.
      Parameters:
      context - the context
      Returns:
      the title
    • getUrlMode

      public String getUrlMode()
      Gets url mode.
      Returns:
      the url mode
    • renderLinkString

      public void renderLinkString(Appendable writer, Map<String,Object> context, TreeStringRenderer treeStringRenderer)
      Render link string.
      Parameters:
      writer - the writer
      context - the context
      treeStringRenderer - the tree string renderer
    • getIdExdr

      public FlexibleStringExpander getIdExdr()
      Gets id exdr.
      Returns:
      the id exdr
    • getNameExdr

      public FlexibleStringExpander getNameExdr()
      Gets name exdr.
      Returns:
      the name exdr
    • getParameterList

      public List<CommonWidgetModels.Parameter> getParameterList()
      Gets parameter list.
      Returns:
      the parameter list
    • getPrefixExdr

      public FlexibleStringExpander getPrefixExdr()
      Gets prefix exdr.
      Returns:
      the prefix exdr
    • getStyleExdr

      public FlexibleStringExpander getStyleExdr()
      Gets style exdr.
      Returns:
      the style exdr
    • getTargetExdr

      public FlexibleStringExpander getTargetExdr()
      Gets target exdr.
      Returns:
      the target exdr
    • getTargetWindowExdr

      public FlexibleStringExpander getTargetWindowExdr()
      Gets target window exdr.
      Returns:
      the target window exdr
    • getTextExdr

      public FlexibleStringExpander getTextExdr()
      Gets text exdr.
      Returns:
      the text exdr
    • getTitleExdr

      public FlexibleStringExpander getTitleExdr()
      Gets title exdr.
      Returns:
      the title exdr