NextApp Echo
App Container 1.0.5

nextapp.echoservlet.html
Class ScriptElement

java.lang.Object
  extended bynextapp.echoservlet.html.Element
      extended bynextapp.echoservlet.html.ScriptElement
All Implemented Interfaces:
Renderable, java.io.Serializable

public class ScriptElement
extends Element

An HTML element that contains JavaScript code.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class nextapp.echoservlet.html.Element
 
Fields inherited from interface nextapp.echoservlet.html.Renderable
INDENT_STRING
 
Constructor Summary
ScriptElement()
          Creates a new script element.
 
Method Summary
 void add(Script script)
          Adds a script block to the element.
 
Methods inherited from class nextapp.echoservlet.html.Element
add, add, addAttribute, addAttribute, addAttribute, addElement, addElement, addElementContent, addElementContent, addHtml, addHtml, addText, addText, addText, getAttribute, getName, indexOf, isSticky, render, render, setClosingTagRequired, setSticky, setWhitespaceRelevant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptElement

public ScriptElement()
Creates a new script element.

Method Detail

add

public void add(Script script)
Adds a script block to the element.

Parameters:
script - The script to be added.

NextApp Echo
App Container 1.0.5