Package liqp.nodes

Class AtomNode

java.lang.Object
liqp.nodes.AtomNode
All Implemented Interfaces:
LNode

public class AtomNode extends Object implements LNode
  • Field Details

    • EMPTY

      public static final AtomNode EMPTY
    • BLANK

      public static final AtomNode BLANK
  • Constructor Details

    • AtomNode

      public AtomNode(Object value)
  • Method Details

    • isEmpty

      public static boolean isEmpty(Object o)
    • isBlank

      public static boolean isBlank(Object o)
    • render

      public Object render(TemplateContext context)
      Description copied from interface: LNode
      Renders this AST.
      Specified by:
      render in interface LNode
      Parameters:
      context - the context (variables) with which this node should be rendered.
      Returns:
      an Object denoting the rendered AST.