org.jboss.seam.databinding
Interface DataBinder<Out extends java.lang.annotation.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 java.lang.annotation.Annotation,Type,WrapperType>

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

Author:
Gavin King

Method Summary
 java.lang.Object getSelection(Out out, WrapperType wrapper)
           
 java.lang.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

java.lang.String getVariableName(Out out)

getVariableScope

ScopeType getVariableScope(Out out)

wrap

WrapperType wrap(Out out,
                 Type value)

getWrappedData

Type getWrappedData(Out out,
                    WrapperType wrapper)

getSelection

java.lang.Object getSelection(Out out,
                              WrapperType wrapper)

isDirty

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


Copyright © 2011 Seam Framework. All Rights Reserved.