|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.forms.binding.JXPathBindingBase
org.apache.cocoon.forms.binding.ComposedJXPathBindingBase
org.apache.cocoon.forms.binding.ContextJXPathBinding
ContextJXPathBinding provides an implementation of a Binding
that narrows the binding scope to some xpath-context on the target
objectModel to load and save from.
Field Summary |
Fields inherited from class org.apache.cocoon.forms.binding.JXPathBindingBase |
classes, parent |
Constructor Summary | |
ContextJXPathBinding(JXPathBindingBuilderBase.CommonAttributes commonAtts,
String contextPath,
JXPathBindingBase[] childBindings)
Constructs ContextJXPathBinding for the specified xpath sub-context |
|
ContextJXPathBinding(JXPathBindingBuilderBase.CommonAttributes commonAtts,
String contextPath,
String factoryClassName,
JXPathBindingBase[] childBindings)
Constructs ContextJXPathBinding for the specified xpath sub-context and optional JXPath factory class. |
Method Summary | |
void |
doLoad(Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
Actively performs the binding from the ObjectModel wrapped in a jxpath context to the CocoonForm. |
void |
doSave(Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
Actively performs the binding from the CocoonForm to the ObjectModel wrapped in a jxpath context. |
String |
getFactoryClassName()
|
String |
getXPath()
To allow child classes to know which path they bind to |
String |
toString()
|
Methods inherited from class org.apache.cocoon.forms.binding.ComposedJXPathBindingBase |
enableLogging, getChildBindings, getClass |
Methods inherited from class org.apache.cocoon.forms.binding.JXPathBindingBase |
getCommonAtts, getId, getLocalLibrary, getLocation, getLogger, isValid, loadFormFromModel, loadFormFromModel, saveFormToModel, saveFormToModel, selectWidget, setLocalLibary, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ContextJXPathBinding(JXPathBindingBuilderBase.CommonAttributes commonAtts, String contextPath, JXPathBindingBase[] childBindings)
public ContextJXPathBinding(JXPathBindingBuilderBase.CommonAttributes commonAtts, String contextPath, String factoryClassName, JXPathBindingBase[] childBindings)
Method Detail |
public String getFactoryClassName()
public void doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc) throws BindingException
doLoad
in class ComposedJXPathBindingBase
BindingException
public void doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc) throws BindingException
doSave
in class ComposedJXPathBindingBase
BindingException
public String getXPath()
getXPath
in class ComposedJXPathBindingBase
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |