nextapp.echoservlet.html
Class RebindingElement
java.lang.Object
nextapp.echoservlet.html.Element
nextapp.echoservlet.html.RebindingElement
- All Implemented Interfaces:
- java.io.Serializable, Renderable
public class RebindingElement
- extends Element
- See Also:
- Serialized Form
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, render, renderAsStyleAttribute, setClosingTagRequired, setSticky, setWhitespaceRelevant |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RebindingElement
public RebindingElement()
RebindingElement
public RebindingElement(java.lang.String name,
boolean closingTagRequired)
RebindingElement
public RebindingElement(java.lang.String name)
reset
protected void reset()
- Overrides:
reset
in class Element
isRender
public boolean isRender()
setRender
public void setRender(boolean renderChildren)
getBean
public java.lang.Object getBean()
setBean
public void setBean(java.lang.Object bean)
getComponent
public PropertyComponent getComponent()
setComponent
public void setComponent(PropertyComponent component)
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.