|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.forms.binding.JXPathBindingBase
org.apache.cocoon.forms.binding.SetAttributeJXPathBinding
SetAttributeJXPathBinding provides an implementation of a Binding
that sets a particular attribute to a fixed value upon save.
NOTES:
Field Summary |
Fields inherited from class org.apache.cocoon.forms.binding.JXPathBindingBase |
classes, parent |
Constructor Summary | |
SetAttributeJXPathBinding(JXPathBindingBuilderBase.CommonAttributes commonAtts,
String attName,
String attValue)
Constructs SetAttributeJXPathBinding |
Method Summary | |
void |
doLoad(Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
Do-Nothing implementation. |
void |
doSave(Widget frmModel,
org.apache.commons.jxpath.JXPathContext jxpc)
Sets the attribute value on the passed JXPathContext |
String |
getId()
Returns binding definition id. |
String |
getValue()
|
String |
toString()
|
Methods inherited from class org.apache.cocoon.forms.binding.JXPathBindingBase |
enableLogging, getClass, getCommonAtts, getLocalLibrary, getLocation, getLogger, isValid, loadFormFromModel, loadFormFromModel, saveFormToModel, saveFormToModel, selectWidget, setLocalLibary, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SetAttributeJXPathBinding(JXPathBindingBuilderBase.CommonAttributes commonAtts, String attName, String attValue)
Method Detail |
public String getId()
JXPathBindingBase
getId
in interface Binding
getId
in class JXPathBindingBase
public String getValue()
public void doLoad(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
doLoad
in class JXPathBindingBase
public void doSave(Widget frmModel, org.apache.commons.jxpath.JXPathContext jxpc)
doSave
in class JXPathBindingBase
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |