org.apache.cocoon.woody.binding
Class ClassJXPathBindingBuilder
java.lang.Object
org.apache.cocoon.woody.binding.JXPathBindingBuilderBase
org.apache.cocoon.woody.binding.ClassJXPathBindingBuilder
- All Implemented Interfaces:
- LogEnabled
public class ClassJXPathBindingBuilder
- extends JXPathBindingBuilderBase
ClassJXPathBindingBuilder provides a helper class for the Factory
implemented in JXPathBindingManager
that helps construct the
actual ClassJXPathBinding
out of the configuration in the
provided configElement which looks like:
<wb:class id="widget-id">
<wb:field id="sub-widget-id" path="relative-xpath"
direction="load|save" lenient="true|false" />
</wb:class>
- Version:
- CVS $Id: ClassJXPathBindingBuilder.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Timothy Larson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassJXPathBindingBuilder
public ClassJXPathBindingBuilder()
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
- Returns:
- JXPathBindingBase
- Throws:
BindingException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.