nextapp.echoservlet.html
Class FastComponentUpdateScriptElement
java.lang.Object
nextapp.echoservlet.html.Element
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
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 |
FastComponentUpdateScriptElement
public FastComponentUpdateScriptElement(FCRenderer updateManager,
Connection conn,
InstancePeer instancePeer)
- Creates a new script element.
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.