CustomJXPathBindingBuilder provides a helper class for the Factory
implemented in
JXPathBindingManager that helps construct the
actual
CustomJXPathBinding out of the configuration in the
provided configElement which looks like one of the following:
1. No additional configuration requirements:
<fb:custom id="widget-id" path="xpath expression"
class="your.package.CustomBindingX" />
2. With custom configuration requirements:
<fb:custom id="widget-id" path="xpath expression"
builderclass="your.package.CustomBindingXBuilder"
factorymethod="makeBinding"
>
<fb:config custom-atts="someValue">
<!-- in here come the nested custom elements (recommended in own namespace)
that make up the custom config -->
</fb:config>
</fb:context>
version: $Id: CustomJXPathBindingBuilder.java 517733 2007-03-13 15:37:22Z vgritsenko $ |