Class BlockToken

  • All Implemented Interfaces:
    Locatable

    public class BlockToken
    extends TemplateToken
    A block, used to enclose a chunk of template (including components) and control when or if the content is rendered.
    • Constructor Summary

      Constructors 
      Constructor Description
       id, Location location)  
    • Constructor Detail

      • BlockToken

        public  id,
                          Location location)
        Parameters:
        id - the id of the block, or null for an anonymous block
        location - of the block element
    • Method Detail

      • getId

        public  getId()
        Returns the block's template-unique id, or null if the block element did not specify an id.
      • toString

        public  toString()
        Overrides:
         in class