Class ScriptBlock

    • Constructor Detail

      • ScriptBlock

        public ScriptBlock()
        Create a new instance.
    • Method Detail

      • addScript

        public void addScript​(Script script)
        Add a new script to the end of this block
      • removeScript

        public void removeScript​(Script script)
        Removes a script from this block
      • getScriptList

        public List getScriptList()
        Gets the child scripts that make up this block. This list is live so that it can be modified if requried
      • trimWhitespace

        public void trimWhitespace()
        Trim the body of the script. In this case, trim all elements, removing any that are empty text.