| org.itsnat.core.domutil.ElementRenderer
All known Subclasses: org.itsnat.impl.core.domutil.ElementRendererDefaultImpl,
Method Summary | |
public void | render(Object userObj, Object value, Element elem, boolean isNew) Renders as markup the specified value into the specified element, usually
as a text node.
Default implementation renders the specified value inside the first text node found below the
specified element.
Parameters: userObj - a context object used to provide contextual information. | public void | unrender(Object userObj, Element elem) Unrenders the markup used to render previously. |
render | public void render(Object userObj, Object value, Element elem, boolean isNew)(Code) | | Renders as markup the specified value into the specified element, usually
as a text node.
Default implementation renders the specified value inside the first text node found below the
specified element.
Parameters: userObj - a context object used to provide contextual information. Default implementation ignores it. Parameters: value - the value to render. Parameters: elem - the element to render the value into. Parameters: isNew - true if this is the first time the markup is rendered. Default implementation ignores this parameter. |
unrender | public void unrender(Object userObj, Element elem)(Code) | | Unrenders the markup used to render previously. This method is called before the markup
is removed.
Default implementation does nothing.
Parameters: userObj - a context object used to provide contextual information. Default implementation ignores it. Parameters: elem - the element to render the value into. |
|
|