|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.woody.binding.JXPathBindingBase org.apache.cocoon.woody.binding.ComposedJXPathBindingBase
public class ComposedJXPathBindingBase
ComposedJXPathBindingBase provides a helper base class for subclassing
into specific JXPathBindingBase
implementations that have nested
child-bindings.
Field Summary |
---|
Fields inherited from class org.apache.cocoon.woody.binding.JXPathBindingBase |
---|
classes, parent |
Constructor Summary | |
---|---|
protected |
ComposedJXPathBindingBase(org.apache.cocoon.woody.binding.JXPathBindingBuilderBase.CommonAttributes commonAtts,
JXPathBindingBase[] childBindings)
Constructs ComposedJXPathBindingBase |
Method Summary | |
---|---|
void |
doLoad(Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
Actively performs the binding from the ObjectModel to the Woody-form by passing the task onto it's children. |
void |
doSave(Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
Actively performs the binding from the Woody-form to the ObjectModel by passing the task onto it's children. |
void |
enableLogging(Logger logger)
Receives the logger to use for logging activity, and hands it over to the nested children. |
JXPathBindingBase[] |
getChildBindings()
Returns child bindings. |
Binding |
getClass(String id)
Gets a binding class by id. |
Methods inherited from class org.apache.cocoon.woody.binding.JXPathBindingBase |
---|
getId, getLogger, getWidget, loadFormFromModel, loadFormFromModel, saveFormToModel, saveFormToModel, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ComposedJXPathBindingBase(org.apache.cocoon.woody.binding.JXPathBindingBuilderBase.CommonAttributes commonAtts, JXPathBindingBase[] childBindings)
childBindings
- sets the array of childBindingsMethod Detail |
---|
public void enableLogging(Logger logger)
enableLogging
in interface LogEnabled
enableLogging
in class JXPathBindingBase
public Binding getClass(String id)
getClass
in interface Binding
getClass
in class JXPathBindingBase
id
- Id of binding class to get.public JXPathBindingBase[] getChildBindings()
public void doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc) throws BindingException
doLoad
in class JXPathBindingBase
BindingException
public void doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc) throws BindingException
doSave
in class JXPathBindingBase
BindingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |