Interface Block


  • public interface Block
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean addAttribute​(java.lang.String value)  
      boolean addAttribute​(java.lang.String name, int value)  
      boolean addAttribute​(java.lang.String name, java.lang.String value)
      Adds an attribute to the block, possibly referenced by a name
      Block newBlock​(java.lang.String name)
      Adds a Block to the current block
      Block newBlock​(java.lang.String name, java.lang.String id)  
    • Method Detail

      • newBlock

        Block newBlock​(java.lang.String name)
        Adds a Block to the current block
      • newBlock

        Block newBlock​(java.lang.String name,
                       java.lang.String id)
      • addAttribute

        boolean addAttribute​(java.lang.String name,
                             java.lang.String value)
        Adds an attribute to the block, possibly referenced by a name
      • addAttribute

        boolean addAttribute​(java.lang.String name,
                             int value)
      • addAttribute

        boolean addAttribute​(java.lang.String value)