org.apache.cocoon.woody.binding
Class UniqueFieldJXPathBindingBuilder

java.lang.Object
  extended by org.apache.cocoon.woody.binding.JXPathBindingBuilderBase
      extended by org.apache.cocoon.woody.binding.UniqueFieldJXPathBindingBuilder
All Implemented Interfaces:
LogEnabled

public class UniqueFieldJXPathBindingBuilder
extends JXPathBindingBuilderBase

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


 <wb:unique-field id="widget-id" path="xpath-expression">
   <!-- optional convertor of these field -->
   <wd:convertor>
     <!-- any convertor -->
   </wd:convertor>
 </wb:unique-field>
 

Version:
CVS $Id: UniqueFieldJXPathBindingBuilder.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Constructor Summary
UniqueFieldJXPathBindingBuilder()
           
 
Method Summary
 JXPathBindingBase buildBinding(Element bindingElm, JXPathBindingManager.Assistant assistant)
          Creates an instance of UniqueFieldJXPathBinding based on the attributes and nested configuration of the provided bindingElm.
 
Methods inherited from class org.apache.cocoon.woody.binding.JXPathBindingBuilderBase
enableLogging, getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniqueFieldJXPathBindingBuilder

public UniqueFieldJXPathBindingBuilder()
Method Detail

buildBinding

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

Specified by:
buildBinding in class JXPathBindingBuilderBase
Returns:
JXPathBindingBase
Throws:
BindingException


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