1 16 package org.apache.cocoon.forms.binding; 17 18 import org.apache.cocoon.forms.binding.JXPathBindingManager.Assistant; 19 import org.w3c.dom.Element ; 20 21 32 public class DeleteNodeJXPathBindingBuilder 33 extends JXPathBindingBuilderBase { 34 35 38 public JXPathBindingBase buildBinding(Element bindingElm, Assistant assistant) throws BindingException { 39 CommonAttributes commonAtts = JXPathBindingBuilderBase.getCommonAttributes(bindingElm); 40 41 DeleteNodeJXPathBinding otherBinding = (DeleteNodeJXPathBinding)assistant.getContext().getSuperBinding(); 43 if(otherBinding!=null) { 44 commonAtts = JXPathBindingBuilderBase.mergeCommonAttributes(otherBinding.getCommonAtts(),commonAtts); 45 } 46 47 return new DeleteNodeJXPathBinding(commonAtts); 48 } 49 } 50 | Popular Tags |