org.apache.cocoon.forms.binding
Class ValueJXPathBindingBuilder

java.lang.Object
  extended byorg.apache.cocoon.forms.binding.JXPathBindingBuilderBase
      extended byorg.apache.cocoon.forms.binding.ValueJXPathBindingBuilder
All Implemented Interfaces:
JXPathBindingBuilder

public class ValueJXPathBindingBuilder
extends JXPathBindingBuilderBase

ValueJXPathBindingBuilder provides a helper class for the Factory implemented in JXPathBindingManager that helps construct the actual ValueJXPathBinding out of the configuration in the provided configElement which looks like:


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

Version:
$Id: ValueJXPathBindingBuilder.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Nested Class Summary
 
Nested classes inherited from class org.apache.cocoon.forms.binding.JXPathBindingBuilderBase
JXPathBindingBuilderBase.CommonAttributes
 
Constructor Summary
ValueJXPathBindingBuilder()
           
 
Method Summary
 JXPathBindingBase buildBinding(Element bindingElm, JXPathBindingManager.Assistant assistant)
          Creates an instance of ValueJXPathBinding based on the attributes and nested configuration of the provided bindingElm.
 
Methods inherited from class org.apache.cocoon.forms.binding.JXPathBindingBuilderBase
getCommonAttributes, mergeCommonAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueJXPathBindingBuilder

public ValueJXPathBindingBuilder()
Method Detail

buildBinding

public JXPathBindingBase buildBinding(Element bindingElm,
                                      JXPathBindingManager.Assistant assistant)
                               throws BindingException
Creates an instance of ValueJXPathBinding based on the attributes and nested configuration of the provided bindingElm.

Parameters:
bindingElm -
assistant -
Returns:
JXPathBindingBase
Throws:
BindingException


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.