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