org.sandev.basics.util
Interface UIRenderOperand

All Known Subinterfaces:
UIRenderInput, UIRenderOutput, UIRenderOutputDirect, UIRenderOutputStream, UIRenderOutputString

public interface UIRenderOperand

A relatively opaque class representing what a UIFormAdaptor needs to enable output rendering or input reconstruction.

Users typically list, edit, or query SAND application data through SANDForms which can be represented over a variety of display technologies. While these displays vary widely, they share the concept of rendering and reconstruction contexts. These are represented abstractly through the UIRenderOperand interfaces, to enable factoring of technology independent display logic.

Input is commonly processed as a Map of parameter/value pairs. Output varies more widely. Where an intermediate representational language (such as XML) is used, output is typically streamed and then transformed. Where the presentation is direct (as in many GUI implementations), transformation typically occurs during direct display rendering. The UIRenderOperand interfaces reflect these common scenarios without dictating which must be used, and allowing for additional interface classes to be added as needed.

Most rendering requires some form of initialization, so this base class defines a common init method. What should be passed to init varies with the UIFormAdaptor being used.


Method Summary
 void init(java.lang.Object context)
          Initialize this operand with the object it needs to do its work.
 

Method Detail

init

public void init(java.lang.Object context)
Initialize this operand with the object it needs to do its work. See the UIFormAdaptor implementations for what this object should be.