org.apache.cocoon.forms.binding
Class GroupJXPathBindingBuilder

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

public class GroupJXPathBindingBuilder
extends JXPathBindingBuilderBase

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


 <fb:group id="widget-id" path="xpath-expression"
     direction="load|save" lenient="true|false" >
   <fb:field id="sub-widget-id" path="relative-xpath" />
 </fb:group>
 

Version:
$Id: GroupJXPathBindingBuilder.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
GroupJXPathBindingBuilder()
           
 
Method Summary
 JXPathBindingBase buildBinding(Element bindingElm, 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
getCommonAttributes, mergeCommonAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupJXPathBindingBuilder

public GroupJXPathBindingBuilder()
Method Detail

buildBinding

public JXPathBindingBase buildBinding(Element bindingElm,
                                      JXPathBindingManager.Assistant assistant)
                               throws BindingException
Description copied from interface: JXPathBindingBuilder
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.

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


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