com.taursys.xml.render
Class AttributeTextFieldRenderer

java.lang.Object
  extended bycom.taursys.xml.render.AbstractRenderer
      extended bycom.taursys.xml.render.VisibleRenderer
          extended bycom.taursys.xml.render.TextFieldRenderer
              extended bycom.taursys.xml.render.AttributeTextFieldRenderer

Deprecated. The AttributeTextFieldRender is no longer used. Attributes are now rendered using an AttributeRenderer.

public class AttributeTextFieldRenderer
extends TextFieldRenderer

Subcomponent which can render a value from a TextField to an Attribute of a DOM Element.


Field Summary
 
Fields inherited from class com.taursys.xml.render.AbstractRenderer
id, parentDocumentAdapter
 
Constructor Summary
AttributeTextFieldRenderer(TextField textField)
          Deprecated. Constructs a new TextFieldRender for the given TextField.
 
Method Summary
 void render()
          Deprecated. Renders the TextField to an Attribute of an Element in a Document.
 
Methods inherited from class com.taursys.xml.render.VisibleRenderer
renderContents
 
Methods inherited from class com.taursys.xml.render.AbstractRenderer
getComponent, getComponentNode, getDocument, getParentNode, getSiblingNode, init, isRemoved, removeSelf, restoreSelf, setRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeTextFieldRenderer

public AttributeTextFieldRenderer(TextField textField)
Deprecated. 
Constructs a new TextFieldRender for the given TextField.

Parameters:
textField - which this renderer belongs to
Method Detail

render

public void render()
            throws RenderException
Deprecated. 
Renders the TextField to an Attribute of an Element in a Document. This component accesses the given textField's parent to obtain the DocumentAdapter. It also accesses the given field's id, attributeName and model. It uses the DocumentAdapter's setElementText to render the model's text value to the Element indicated by the id.

Overrides:
render in class AbstractRenderer
Throws:
RenderException - if any problem occurs during rendering


Copyright © 2007 Martin T Phelan. All Rights Reserved.