| org.apache.cocoon.forms.binding.Binding
All known Subclasses: org.apache.cocoon.forms.binding.AbstractCustomBinding, org.apache.cocoon.forms.binding.JXPathBindingBase,
Binding | public interface Binding (Code) | | Binding declares the methods to 'bind' (i.e. 'load' and 'save')
information elements from some back-end model (2nd argument) to and from
a existing Cocoon Form Widget.
version: $Id: Binding.java 450255 2006-09-26 23:48:43Z vgritsenko $ |
getClass | Binding getClass(String id)(Code) | | Gets a binding class.
Parameters: id - Id of binding class to get. |
getEnclosingLibrary | Library getEnclosingLibrary()(Code) | | returns the local library for this tree of bindings
|
isValid | boolean isValid()(Code) | | checks for deep validity of this binding tree (taking into accound included libraries)
|
loadFormFromModel | void loadFormFromModel(Widget frmModel, Object objModel) throws BindingException(Code) | | Loads the information-elements from the objModel to the frmModel.
Parameters: frmModel - Parameters: objModel - |
saveFormToModel | void saveFormToModel(Widget frmModel, Object objModel) throws BindingException(Code) | | Saves the infortmation-elements to the objModel from the frmModel.
Parameters: frmModel - Parameters: objModel - |
setEnclosingLibrary | void setEnclosingLibrary(Library lib)(Code) | | sets the library this binding is a part of
|
setParent | void setParent(Binding binding)(Code) | | Sets parent binding.
Parameters: binding - Parent of this binding. |
|
|