1 16 package org.apache.cocoon.forms.binding; 17 18 import org.apache.cocoon.forms.formmodel.Widget; 19 import org.apache.commons.jxpath.JXPathContext; 20 21 31 public class ClassJXPathBinding extends ComposedJXPathBindingBase { 32 33 private final String widgetId; 34 35 41 public ClassJXPathBinding(JXPathBindingBuilderBase.CommonAttributes commonAtts, String widgetId, JXPathBindingBase[] childBindings) { 42 super(commonAtts, childBindings); 43 this.widgetId = widgetId; 44 } 45 46 49 public String getId() { 50 return widgetId; 51 } 52 53 58 public void doLoad(Widget frmModel, JXPathContext jxpc) { 59 } 61 62 67 public void doSave(Widget frmModel, JXPathContext jxpc) throws BindingException { 68 } 70 71 public String toString() { 72 return "ClassJXPathBinding [widget=" + this.widgetId + "]"; 73 } 74 } 75 | Popular Tags |