org.jboss.seam.databinding
Interface DataBinder<Out extends Annotation,Type,WrapperType>

Type Parameters:
Out - the annotation type
Type - the bound type
WrapperType - the wrapper type
All Known Implementing Classes:
DataModelBinder

public interface DataBinder<Out extends Annotation,Type,WrapperType>

Allows some "bound type" to be exposed to the user interface via a "wrapper type".

Author:
Gavin King

Method Summary
 Object getSelection(Out out, WrapperType wrapper)
           
 String getVariableName(Out out)
           
 ScopeType getVariableScope(Out out)
           
 Type getWrappedData(Out out, WrapperType wrapper)
           
 boolean isDirty(Out out, WrapperType wrapper, Type value)
           
 WrapperType wrap(Out out, Type value)
           
 

Method Detail

getVariableName

String getVariableName(Out out)

getVariableScope

ScopeType getVariableScope(Out out)

wrap

WrapperType wrap(Out out,
                 Type value)

getWrappedData

Type getWrappedData(Out out,
                    WrapperType wrapper)

getSelection

Object getSelection(Out out,
                    WrapperType wrapper)

isDirty

boolean isDirty(Out out,
                WrapperType wrapper,
                Type value)