org.apache.cocoon.forms.binding
Class InsertNodeJXPathBindingBuilder

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

public class InsertNodeJXPathBindingBuilder
extends JXPathBindingBuilderBase

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


 <fb:insert-node>
   <!-- in here comes a template that will be inserted in the target
           document -->
 </fb:insert-node>
 

Version:
$Id: InsertNodeJXPathBindingBuilder.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
InsertNodeJXPathBindingBuilder()
           
 
Method Summary
 JXPathBindingBase buildBinding(Element bindingElm, JXPathBindingManager.Assistant assistant)
          Creates an instance of InsertNodeJXPathBinding configured with the nested template of the bindingElm.
 void setSourceResolver(SourceResolver sourceResolver)
           
 void setXpathProcessor(XPathProcessor pathProcessor)
           
 
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

InsertNodeJXPathBindingBuilder

public InsertNodeJXPathBindingBuilder()
Method Detail

buildBinding

public JXPathBindingBase buildBinding(Element bindingElm,
                                      JXPathBindingManager.Assistant assistant)
                               throws BindingException
Creates an instance of InsertNodeJXPathBinding configured with the nested template of the bindingElm.

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

setSourceResolver

public void setSourceResolver(SourceResolver sourceResolver)

setXpathProcessor

public void setXpathProcessor(XPathProcessor pathProcessor)


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