org.apache.cocoon.forms.binding
Class MultiValueJXPathBindingBuilder

java.lang.Object
  extended byorg.apache.cocoon.forms.binding.JXPathBindingBuilderBase
      extended byorg.apache.cocoon.forms.binding.MultiValueJXPathBindingBuilder
All Implemented Interfaces:
LogEnabled

public class MultiValueJXPathBindingBuilder
extends JXPathBindingBuilderBase

A simple multi field binding that will replace (i.e. delete then re-add all) its content.


 <fb:multi-value id="widget-id"
   parent-path="xpath-expression"
   row-path="xpath-expression">
   <!-- optional child binding to be executed upon 'save' of changed value -->
   <fb:on-update>
     <!-- any childbinding -->
   </fb:on-update>
 </fb:multi-value>
 

Version:
$Id: MultiValueJXPathBindingBuilder.java 326838 2005-10-20 06:26:53Z sylvain $

Nested Class Summary
 
Nested classes inherited from class org.apache.cocoon.forms.binding.JXPathBindingBuilderBase
JXPathBindingBuilderBase.CommonAttributes
 
Constructor Summary
MultiValueJXPathBindingBuilder()
           
 
Method Summary
 JXPathBindingBase buildBinding(Element bindingElem, JXPathBindingManager.Assistant assistant)
          Builds a configured binding object based on the configuration as described in the bindingElement.
 
Methods inherited from class org.apache.cocoon.forms.binding.JXPathBindingBuilderBase
enableLogging, getCommonAttributes, getLogger, mergeCommonAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiValueJXPathBindingBuilder

public MultiValueJXPathBindingBuilder()
Method Detail

buildBinding

public JXPathBindingBase buildBinding(Element bindingElem,
                                      JXPathBindingManager.Assistant assistant)
                               throws BindingException
Description copied from class: JXPathBindingBuilderBase
Builds a configured binding object based on the configuration as described in the bindingElement. The BuilderMap can be used to find appropriate builders for possible subBinders.

Specified by:
buildBinding in class JXPathBindingBuilderBase
Parameters:
bindingElem -
assistant -
Returns:
JXPathBindingBase
Throws:
BindingException


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.