1 19 27 28 package org.netbeans.modules.websvc.customization.model.impl; 29 30 31 import org.netbeans.modules.websvc.customization.model.JavaDoc; 32 import org.netbeans.modules.xml.wsdl.model.WSDLModel; 33 import org.netbeans.modules.xml.wsdl.model.visitor.WSDLVisitor; 34 import org.w3c.dom.Element ; 35 36 40 public class JavaDocImpl extends CustomizationComponentImpl implements JavaDoc{ 41 42 43 public JavaDocImpl(WSDLModel model, Element e) { 44 super(model, e); 45 } 46 47 public JavaDocImpl(WSDLModel model){ 48 this(model, createPrefixedElement(JAXWSQName.JAVADOC.getQName(), model)); 49 } 50 51 public void setTextContent(String content) { 52 setText(CONTENT_PROPERTY, content); 53 } 54 55 public String getTextContent() { 56 return getText(); 57 } 58 59 public void accept(WSDLVisitor visitor) { 60 visitor.visit(this); 61 } 62 63 } 64 | Popular Tags |