org.apache.cocoon.woody.binding
Class UnionJXPathBinding
java.lang.Object
org.apache.cocoon.woody.binding.JXPathBindingBase
org.apache.cocoon.woody.binding.ComposedJXPathBindingBase
org.apache.cocoon.woody.binding.UnionJXPathBinding
- All Implemented Interfaces:
- LogEnabled, Binding
public class UnionJXPathBinding
- extends ComposedJXPathBindingBase
UnionJXPathBinding provides an implementation of a Binding
that narrows the context towards provided childbindings.
NOTES:
- This Binding assumes that the provided widget-id points to a
union widget.
- Version:
- CVS $Id: UnionJXPathBinding.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Timothy Larson
Method Summary |
void |
doLoad(Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
Narrows the scope on the form-model to the member widget-field, and
narrows the scope on the object-model to the member xpath-context
before continuing the binding over the child-bindings. |
void |
doSave(Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
Narrows the scope on the form-model to the member widget-field, and
narrows the scope on the object-model to the member xpath-context
before continuing the binding over the child-bindings. |
String |
toString()
|
UnionJXPathBinding
public UnionJXPathBinding(org.apache.cocoon.woody.binding.JXPathBindingBuilderBase.CommonAttributes commonAtts,
String widgetId,
String xpath,
JXPathBindingBase[] childBindings)
- Constructs UnionJXPathBinding
- Parameters:
commonAtts
- widgetId
- xpath
- childBindings
-
doLoad
public void doLoad(Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
throws BindingException
- Narrows the scope on the form-model to the member widget-field, and
narrows the scope on the object-model to the member xpath-context
before continuing the binding over the child-bindings.
- Overrides:
doLoad
in class ComposedJXPathBindingBase
- Throws:
BindingException
doSave
public void doSave(Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
throws BindingException
- Narrows the scope on the form-model to the member widget-field, and
narrows the scope on the object-model to the member xpath-context
before continuing the binding over the child-bindings.
- Overrides:
doSave
in class ComposedJXPathBindingBase
- Throws:
BindingException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.