| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.taursys.xml.render.AbstractRenderer
com.taursys.xml.render.VisibleRenderer
com.taursys.xml.render.DocumentElementRenderer
DocumentElementRendere renders a DocumentElement.
 In response to a RenderEvent, it simply shows or hides the
 Document Element and, if visible, dispatches a RenderEvent to
 the children of the DocumentElement.
 
In response to a RecycleEvent, it simply makes the Document
 Element visible, and dispatches a RecycleEvent to
 the children of the DocumentElement.
 
| Field Summary | 
| Fields inherited from class com.taursys.xml.render.AbstractRenderer | 
id, parentDocumentAdapter | 
| Constructor Summary | |
DocumentElementRenderer(DocumentElement de)
Constructs a new DocumentElementRenderer  | 
|
| Method Summary | |
 void | 
recycle()
Recycles this component by restoring the Document element to a default state.  | 
protected  void | 
renderContents()
Renders the DocumentElement by simply invoking the DocumentElement's renderDispatcher to dispatch the RenderEvent to the children.  | 
| Methods inherited from class com.taursys.xml.render.AbstractRenderer | 
getComponent, getComponentNode, getDocument, getParentNode, getSiblingNode, init, isRemoved, removeSelf, render, restoreSelf, setRemoved | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public DocumentElementRenderer(DocumentElement de)
| Method Detail | 
public void recycle()
             throws RecycleException
If a Document element was left invisible, and the Document changed, then the invisible component would become dereferenced.
RecycleException - if problem occurs during recycling.
protected void renderContents()
                       throws RenderException
renderContents in class VisibleRendererRenderException - if any problem occurs during rendering
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||