org.apache.cocoon.woody.binding
Class JXPathBindingBuilderBase

java.lang.Object
  extended by org.apache.cocoon.woody.binding.JXPathBindingBuilderBase
All Implemented Interfaces:
LogEnabled
Direct Known Subclasses:
AggregateJXPathBindingBuilder, CaseJXPathBindingBuilder, ClassJXPathBindingBuilder, ContextJXPathBindingBuilder, DeleteNodeJXPathBindingBuilder, InsertBeanJXPathBindingBuilder, InsertNodeJXPathBindingBuilder, JavaScriptJXPathBindingBuilder, MultiValueJXPathBindingBuilder, NewJXPathBindingBuilder, RepeaterJXPathBindingBuilder, SetAttributeJXPathBindingBuilder, SimpleRepeaterJXPathBindingBuilder, StructJXPathBindingBuilder, TempRepeaterJXPathBindingBuilder, UnionJXPathBindingBuilder, UniqueFieldJXPathBindingBuilder, ValueJXPathBindingBuilder

public abstract class JXPathBindingBuilderBase
extends Object
implements LogEnabled

Abstract base class enabling logging and supporting the intrepretation of common configuration settings on all specific implementations of JXPathBindingBase. Common supported configurations:

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

Constructor Summary
JXPathBindingBuilderBase()
           
 
Method Summary
abstract  JXPathBindingBase buildBinding(Element bindingElm, JXPathBindingManager.Assistant assistant)
          Builds a configured binding object based on the configuration as described in the bindingElement.
 void enableLogging(Logger logger)
          Receives the Avalon logger to use.
protected  Logger getLogger()
          Makes the logger available to the subclasses.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JXPathBindingBuilderBase

public JXPathBindingBuilderBase()
Method Detail

enableLogging

public void enableLogging(Logger logger)
Receives the Avalon logger to use.

Specified by:
enableLogging in interface LogEnabled

getLogger

protected Logger getLogger()
Makes the logger available to the subclasses.

Returns:
Logger

buildBinding

public abstract JXPathBindingBase buildBinding(Element bindingElm,
                                               JXPathBindingManager.Assistant assistant)
                                        throws BindingException
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.

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


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