|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.forms.binding.AbstractCustomBinding
public abstract class AbstractCustomBinding
AbstractCustomBinding
| Constructor Summary | |
|---|---|
AbstractCustomBinding()
|
|
| Method Summary | |
|---|---|
protected abstract void |
doLoad(Widget frmModel,
org.apache.commons.jxpath.JXPathContext context)
|
protected abstract void |
doSave(Widget frmModel,
org.apache.commons.jxpath.JXPathContext context)
|
Binding |
getClass(String id)
Gets a binding class. |
Library |
getEnclosingLibrary()
returns the local library for this tree of bindings |
String |
getId()
Returns binding definition id. |
String |
getXpath()
|
boolean |
isValid()
checks for deep validity of this binding tree (taking into accound included libraries) |
void |
loadFormFromModel(Widget frmModel,
Object objModel)
Binding service method called upon loading. |
void |
saveFormToModel(Widget frmModel,
Object objModel)
Binding service method called upon saving. |
void |
setEnclosingLibrary(Library lib)
sets the library this binding is a part of |
void |
setParent(Binding binding)
Sets parent binding. |
void |
setXpath(String path)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractCustomBinding()
| Method Detail |
|---|
public void setXpath(String path)
public String getXpath()
public void setParent(Binding binding)
setParent in interface Bindingbinding - Parent of this binding.public String getId()
getId in interface Bindingpublic Binding getClass(String id)
Binding
getClass in interface Bindingid - Id of binding class to get.public boolean isValid()
Binding
isValid in interface Bindingpublic Library getEnclosingLibrary()
Binding
getEnclosingLibrary in interface Bindingpublic void setEnclosingLibrary(Library lib)
Binding
setEnclosingLibrary in interface Binding
public final void loadFormFromModel(Widget frmModel,
Object objModel)
throws BindingException
doLoad(Widget, JXPathContext)
loadFormFromModel in interface BindingfrmModel - objModel -
BindingException
public final void saveFormToModel(Widget frmModel,
Object objModel)
throws BindingException
doSave(Widget, JXPathContext)
saveFormToModel in interface BindingfrmModel - objModel -
BindingException
protected abstract void doLoad(Widget frmModel,
org.apache.commons.jxpath.JXPathContext context)
throws Exception
frmModel - context -
Exception
protected abstract void doSave(Widget frmModel,
org.apache.commons.jxpath.JXPathContext context)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||