org.apache.cocoon.forms.binding
Class CaseJXPathBindingBuilder
java.lang.Object
org.apache.cocoon.forms.binding.JXPathBindingBuilderBase
org.apache.cocoon.forms.binding.CaseJXPathBindingBuilder
- All Implemented Interfaces:
- LogEnabled
- public class CaseJXPathBindingBuilder
- extends JXPathBindingBuilderBase
CaseJXPathBindingBuilder provides a helper class for the Factory
implemented in JXPathBindingManager
that helps construct the
actual CaseJXPathBinding
out of the configuration in the
provided configElement which looks like:
<fb:case id="widget-id" path="xpath-expression"
direction="load|save" lenient="true|false" >
<fb:field id="sub-widget-id" path="relative-xpath" />
</fb:case>
- Version:
- $Id: CaseJXPathBindingBuilder.java 289538 2005-09-16 13:46:22Z sylvain $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaseJXPathBindingBuilder
public CaseJXPathBindingBuilder()
buildBinding
public JXPathBindingBase buildBinding(Element bindingElm,
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:
bindingElm
- assistant
-
- Returns:
- JXPathBindingBase
- Throws:
BindingException
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.