| java.lang.Object org.apache.cocoon.woody.binding.JXPathBindingBase
All known Subclasses: org.apache.cocoon.woody.binding.RepeaterJXPathBinding, org.apache.cocoon.woody.binding.InsertNodeJXPathBinding, org.apache.cocoon.woody.binding.InsertBeanJXPathBinding, org.apache.cocoon.woody.binding.UniqueFieldJXPathBinding, org.apache.cocoon.woody.binding.SimpleRepeaterJXPathBinding, org.apache.cocoon.woody.binding.SetAttributeJXPathBinding, org.apache.cocoon.woody.binding.ComposedJXPathBindingBase, org.apache.cocoon.woody.binding.MultiValueJXPathBinding, org.apache.cocoon.woody.binding.ValueJXPathBinding, org.apache.cocoon.woody.binding.DeleteNodeJXPathBinding, org.apache.cocoon.woody.binding.TempRepeaterJXPathBinding, org.apache.cocoon.woody.binding.JavaScriptJXPathBinding,
JXPathBindingBase | abstract public class JXPathBindingBase implements Binding,LogEnabled(Code) | | Provides a base class for hooking up Binding implementations that use the
Jakarta Commons
JXPath package.
version: CVS $Id: JXPathBindingBase.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
abstract public void | doLoad(Widget frmModel, JXPathContext jxpc) Performs the actual load binding regardless of the configured value of the "direction" attribute. | abstract public void | doSave(Widget frmModel, JXPathContext jxpc) Performs the actual save binding regardless of the configured value of the "direction" attribute. | public void | enableLogging(Logger logger) Receives the Avalon logger to use. | public Binding | getClass(String id) | public String | getId() Returns binding definition id. | protected Logger | getLogger() | protected Widget | getWidget(Widget widget, String id) | final public void | loadFormFromModel(Widget frmModel, JXPathContext jxpc) Redefines the Binding action as working on a JXPathContext Type rather
then on generic objects. | final public void | loadFormFromModel(Widget frmModel, Object objModel) Hooks up with the more generic Binding of any objectModel by wrapping
it up in a JXPathContext object and then transfering control over to
the new overloaded version of this method. | final public void | saveFormToModel(Widget frmModel, JXPathContext jxpc) Redefines the Binding action as working on a JXPathContext Type rather
then on generic objects. | public void | saveFormToModel(Widget frmModel, Object objModel) Hooks up with the more generic Binding of any objectModel by wrapping
it up in a JXPathContext object and then transfering control over to
the new overloaded version of this method. | public void | setParent(Binding binding) Sets parent binding. |
classes | protected Map classes(Code) | | Cache of class definitions
|
parent | protected Binding parent(Code) | | Parent binding of this binding.
|
doLoad | abstract public void doLoad(Widget frmModel, JXPathContext jxpc) throws BindingException(Code) | | Performs the actual load binding regardless of the configured value of the "direction" attribute.
Abstract method that subclasses need to implement for specific activity.
|
doSave | abstract public void doSave(Widget frmModel, JXPathContext jxpc) throws BindingException(Code) | | Performs the actual save binding regardless of the configured value of the "direction" attribute.
Abstract method that subclasses need to implement for specific activity.
|
enableLogging | public void enableLogging(Logger logger)(Code) | | Receives the Avalon logger to use.
Subclasses should always start with super.enableLogging(logger)
in possible overriding versions.
|
getId | public String getId()(Code) | | Returns binding definition id.
|
getLogger | protected Logger getLogger()(Code) | | |
loadFormFromModel | final public void loadFormFromModel(Widget frmModel, Object objModel) throws BindingException(Code) | | Hooks up with the more generic Binding of any objectModel by wrapping
it up in a JXPathContext object and then transfering control over to
the new overloaded version of this method.
|
saveFormToModel | public void saveFormToModel(Widget frmModel, Object objModel) throws BindingException(Code) | | Hooks up with the more generic Binding of any objectModel by wrapping
it up in a JXPathContext object and then transfering control over to
the new overloaded version of this method.
|
setParent | public void setParent(Binding binding)(Code) | | Sets parent binding.
|
|
|