nextapp.echoservlet.html
Class FastComponentUpdateScriptElement

java.lang.Object
  extended by nextapp.echoservlet.html.Element
      extended by nextapp.echoservlet.html.FastComponentUpdateScriptElement
All Implemented Interfaces:
java.io.Serializable, Renderable

public class FastComponentUpdateScriptElement
extends Element

An HTML element that contains JavaScript code.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface nextapp.echoservlet.html.Renderable
INDENT_STRING
 
Constructor Summary
FastComponentUpdateScriptElement(FCRenderer updateManager, Connection conn, InstancePeer instancePeer)
          Creates a new script element.
 
Method Summary
 void render(java.io.PrintWriter pw)
          Renders this element and its children to a PrintWriter.
 void render(java.io.PrintWriter pw, int depth, boolean parentWhitespaceRelevant)
          Renders this element and its children to a PrintWriter.
 
Methods inherited from class nextapp.echoservlet.html.Element
add, add, addAttribute, addAttribute, addAttribute, addElement, addElement, addElementContent, addElementContent, addHtml, addHtml, addText, addText, addText, allocate, allocate, getAttribute, getContents, getCreationCount, getName, indexOf, isSticky, releaseElements, removeAttribute, renderAsStyleAttribute, reset, setClosingTagRequired, setSticky, setWhitespaceRelevant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastComponentUpdateScriptElement

public FastComponentUpdateScriptElement(FCRenderer updateManager,
                                        Connection conn,
                                        InstancePeer instancePeer)
Creates a new script element.

Method Detail

render

public void render(java.io.PrintWriter pw)
Description copied from class: Element
Renders this element and its children to a PrintWriter.

Overrides:
render in class Element
Parameters:
pw - The print writer to render the element to.

render

public void render(java.io.PrintWriter pw,
                   int depth,
                   boolean parentWhitespaceRelevant)
Description copied from class: Element
Renders this element and its children to a PrintWriter. The element will be indented to the specified depth, and its children will be indented to the specified depth + 1. If white space is relevant (whitespaceRelevant==true), then no white space will be left between this element's opening and closing tags.

Specified by:
render in interface Renderable
Overrides:
render in class Element
Parameters:
pw - The print writer to render the element to.
depth - The indentation depth to indent the element to.
parentWhitespaceRelevant - A flag indicating whether the parent element had the WhitespaceRelevant property set.