public interface ElementRenderer
ElementGroupManager.createDefaultElementRenderer()
Modifier and Type | Method and Description |
---|---|
void |
render(java.lang.Object userObj,
java.lang.Object value,
org.w3c.dom.Element elem,
boolean isNew)
Renders as markup the specified value into the specified element, usually
as a text node.
|
void |
unrender(java.lang.Object userObj,
org.w3c.dom.Element elem)
Unrenders the markup used to render previously.
|
void render(java.lang.Object userObj, java.lang.Object value, org.w3c.dom.Element elem, boolean isNew)
Default implementation renders the specified value inside the first text node with some text (not only spaces, tabs or line feeds) found below the specified element.
userObj
- a context object used to provide contextual information. Default implementation ignores it.value
- the value to render.elem
- the element to render the value into.isNew
- true if this is the first time the markup is rendered. Default implementation ignores this parameter.void unrender(java.lang.Object userObj, org.w3c.dom.Element elem)
Default implementation does nothing.
userObj
- a context object used to provide contextual information. Default implementation ignores it.elem
- the element to render the value into.Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.