1 19 20 package org.netbeans.modules.websvc.wsitmodelext.rm.impl; 21 22 import org.netbeans.modules.websvc.wsitmodelext.rm.RMSunClientQName; 23 import org.netbeans.modules.websvc.wsitmodelext.rm.ResendInterval; 24 import org.netbeans.modules.xml.wsdl.model.WSDLModel; 25 import org.netbeans.modules.xml.wsdl.model.visitor.WSDLVisitor; 26 import org.w3c.dom.Element ; 27 28 32 public class ResendIntervalImpl extends RMSunClientComponentImpl implements ResendInterval { 33 34 37 public ResendIntervalImpl(WSDLModel model, Element e) { 38 super(model, e); 39 } 40 41 public ResendIntervalImpl(WSDLModel model){ 42 this(model, createPrefixedElement(RMSunClientQName.RESENDINTERVAL.getQName(), model)); 43 } 44 45 @Override 46 public void accept(WSDLVisitor visitor) { 47 visitor.visit(this); 48 } 49 50 public void setResendInterval(String milliseconds) { 51 setText(RESENDINTERVAL_CONTENT_PROPERTY, milliseconds); 52 } 53 54 public String getResendInterval() { 55 return getText(); 56 } 57 } 58 | Popular Tags |