This project has retired. For details please refer to its
Attic page .
UniqueFieldJXPathBinding (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.woody.binding
Class UniqueFieldJXPathBinding
java.lang.Object
org.apache.cocoon.woody.binding.JXPathBindingBase
org.apache.cocoon.woody.binding.UniqueFieldJXPathBinding
All Implemented Interfaces: LogEnabled , Binding
public class UniqueFieldJXPathBinding extends JXPathBindingBase
UniqueFieldJXPathBinding provides an implementation of a Binding
that that allows the specification of a uniquefields defined inside a repeater.
NOTES:
This Binding uses the provided widget-id of a defined field in the repeater.
Version:
CVS $Id: UniqueFieldJXPathBinding.html 1304258 2012-03-23 10:09:27Z ilgrosso $
UniqueFieldJXPathBinding
public UniqueFieldJXPathBinding (org.apache.cocoon.woody.binding.JXPathBindingBuilderBase.CommonAttributes commonAtts,
String widgetId,
String xpath,
Convertor convertor,
Locale convertorLocale)
Constructs UniqueFieldJXPathBinding.
Parameters: convertor
- may be null
doLoad
public void doLoad (Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
throws BindingException
Actively performs the binding from the ObjectModel wrapped in a jxpath
context to the Woody-form-widget specified in this object.
Specified by: doLoad
in class JXPathBindingBase
Throws:
BindingException
doSave
public void doSave (Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
throws BindingException
Actively performs the binding from the Woody-form to the ObjectModel
wrapped in a jxpath context
Specified by: doSave
in class JXPathBindingBase
Throws:
BindingException
toString
public String toString ()
Overrides: toString
in class Object
getConvertor
public Convertor getConvertor ()
Returns: Returns the convertor.
getConvertorLocale
public Locale getConvertorLocale ()
Returns: Returns the convertorLocale.
getFieldId
public String getFieldId ()
Returns: Returns the fieldId.
getXpath
public String getXpath ()
Returns: Returns the xpath.
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.