This project has retired. For details please refer to its
Attic page .
TreeModelJXPath (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.forms.binding
Class TreeModelJXPath
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.forms.binding.JXPathBindingBase
org.apache.cocoon.forms.binding.TreeModelJXPath
All Implemented Interfaces: LogEnabled , Binding
public class TreeModelJXPath extends JXPathBindingBase
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 CForms-form-widget specified in this object.
void
doSave (Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
Performs the actual save binding regardless of the configured value of the "direction" attribute.
String
getId ()
Returns binding definition id.
Methods inherited from class org.apache.cocoon.forms.binding.JXPathBindingBase
getClass , getCommonAtts , getEnclosingLibrary , getLocation , isValid , loadFormFromModel , loadFormFromModel , saveFormToModel , saveFormToModel , selectWidget , setEnclosingLibrary , setParent
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
TreeModelJXPath
public TreeModelJXPath (JXPathBindingBuilderBase.CommonAttributes commonAtts,
String widgetId,
String xpath)
Constructs FieldJXPathBinding.
getId
public String getId ()
Description copied from class: JXPathBindingBase
Returns binding definition id.
Specified by: getId
in interface Binding
Overrides: getId
in class JXPathBindingBase
doLoad
public void doLoad (Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
throws BindingException
Actively performs the binding from the ObjectModel wrapped in a jxpath
context to the CForms-form-widget specified in this object.
Specified by: doLoad
in class JXPathBindingBase
Throws:
BindingException
doSave
public void doSave (Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
throws BindingException
Description copied from class: JXPathBindingBase
Performs the actual save binding regardless of the configured value of the "direction" attribute.
Abstract method that subclasses need to implement for specific activity.
Specified by: doSave
in class JXPathBindingBase
Throws:
BindingException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.