1 19 20 package org.netbeans.modules.websvc.wsitmodelext.trust.impl; 21 22 import org.netbeans.modules.websvc.wsitmodelext.trust.KeySize; 23 import org.netbeans.modules.websvc.wsitmodelext.trust.TrustQName; 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 KeySizeImpl extends TrustComponentImpl implements KeySize { 33 34 37 public KeySizeImpl(WSDLModel model, Element e) { 38 super(model, e); 39 } 40 41 public KeySizeImpl(WSDLModel model){ 42 this(model, createPrefixedElement(TrustQName.KEYSIZE.getQName(), model)); 43 } 44 45 @Override 46 public void accept(WSDLVisitor visitor) { 47 visitor.visit(this); 48 } 49 50 public String getContent() { 51 return getText(); 52 } 53 54 public void setContent(String content) { 55 setText(KEYSIZE_CONTENT_VALUE_PROPERTY, content); 56 } 57 } 58 | Popular Tags |