| java.lang.Object org.apache.cocoon.forms.binding.JXPathBindingBuilderBase
All known Subclasses: org.apache.cocoon.forms.binding.StructJXPathBindingBuilder, org.apache.cocoon.forms.binding.InsertNodeJXPathBindingBuilder, org.apache.cocoon.forms.binding.ClassJXPathBindingBuilder, org.apache.cocoon.forms.binding.ExpandJXPathBindingBuilder, org.apache.cocoon.forms.binding.DeleteNodeJXPathBindingBuilder, org.apache.cocoon.forms.binding.MultiValueJXPathBindingBuilder, org.apache.cocoon.forms.binding.JavaScriptJXPathBindingBuilder, org.apache.cocoon.forms.binding.UnionJXPathBindingBuilder, org.apache.cocoon.forms.binding.CustomJXPathBindingBuilder, org.apache.cocoon.forms.binding.RepeaterJXPathBindingBuilder, org.apache.cocoon.forms.binding.SimpleRepeaterJXPathBindingBuilder, org.apache.cocoon.forms.binding.TempRepeaterJXPathBindingBuilder, org.apache.cocoon.forms.binding.InsertBeanJXPathBindingBuilder, org.apache.cocoon.forms.binding.ValueJXPathBindingBuilder, org.apache.cocoon.forms.binding.ContextJXPathBindingBuilder, org.apache.cocoon.forms.binding.ImportJXPathBindingBuilder, org.apache.cocoon.forms.binding.TreeModelJXPathBuilder, org.apache.cocoon.forms.binding.NewJXPathBindingBuilder, org.apache.cocoon.forms.binding.GroupJXPathBindingBuilder, org.apache.cocoon.forms.binding.CaseJXPathBindingBuilder, org.apache.cocoon.forms.binding.SetAttributeJXPathBindingBuilder, org.apache.cocoon.forms.binding.AggregateJXPathBindingBuilder,
JXPathBindingBuilderBase | abstract public class JXPathBindingBuilderBase implements LogEnabled(Code) | | Abstract base class enabling logging and supporting the interpretation of
common configuration settings on all specific implementations of
org.apache.cocoon.forms.binding.JXPathBindingBase .
Common supported configurations:
JXPathBindingBuilderBase.getCommonAttributes(Element)
- Attribute direction="load|save|both": defaults to 'both'
- Attribute lenient="true|false|[undefined]": defaults to [undefined]
which means: "lenient mode inherited from parent"
version: $Id: JXPathBindingBuilderBase.java 517733 2007-03-13 15:37:22Z vgritsenko $ |
Inner Class :public static class CommonAttributes | |
buildBinding | abstract public JXPathBindingBase buildBinding(Element bindingElm, JXPathBindingManager.Assistant assistant) throws BindingException(Code) | | 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 - Parameters: assistant - JXPathBindingBase |
enableLogging | public void enableLogging(Logger logger)(Code) | | Receives the Avalon logger to use.
|
getCommonAttributes | protected static CommonAttributes getCommonAttributes(Element bindingElm) throws BindingException(Code) | | Helper method for interpreting the common attributes which are supported
on each of the Bindings. These are
@direction can hold one of the following values:
'load' : This binding will only load.
'save' : This binding will only save.
'both' : This binding will perform both operations.
@lenient can either be:
'true' : This binding will set the jxpath context to
be lenient towards the usage of inexisting paths on the back-end model.
'false' : This binding will set the jxpath context to be
strict and throwing exceptions for the usage of inexisting paths on the
back-end model.
(unset) : This binding will not change the leniency behaviour
on the jxpath this binding receives from his parent binding.
Parameters: bindingElm - an instance of CommonAttributes throws: BindingException - |
getLogger | protected Logger getLogger()(Code) | | Makes the logger available to the subclasses.
Logger |
mergeCommonAttributes | public static CommonAttributes mergeCommonAttributes(CommonAttributes existing, CommonAttributes extra)(Code) | | |
|
|