1 19 20 package org.netbeans.modules.websvc.wsitmodelext.rm.impl; 21 22 import org.netbeans.modules.websvc.wsitmodelext.rm.MaxReceiveBufferSize; 23 import org.netbeans.modules.websvc.wsitmodelext.rm.RMMSQName; 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 MaxReceiveBufferSizeImpl extends RMMSComponentImpl implements MaxReceiveBufferSize { 33 34 37 public MaxReceiveBufferSizeImpl(WSDLModel model, Element e) { 38 super(model, e); 39 } 40 41 public MaxReceiveBufferSizeImpl(WSDLModel model){ 42 this(model, createPrefixedElement(RMMSQName.MAXRECEIVEBUFFERSIZE.getQName(), model)); 43 } 44 45 @Override 46 public void accept(WSDLVisitor visitor) { 47 visitor.visit(this); 48 } 49 50 public void setMaxReceiveBufferSize(String maxReceiveBufferSize) { 51 setText(MAX_RECEIVE_BUFFER_SIZE_CONTENT_VALUE_PROPERTY, maxReceiveBufferSize); 52 } 53 54 public String getMaxReceiveBufferSize() { 55 return getText(); 56 } 57 } 58 | Popular Tags |