1 19 20 package org.netbeans.modules.javacore.jmiimpl.javamodel; 21 22 import java.util.List ; 23 24 import org.netbeans.jmi.javamodel.JavaDoc; 25 import org.netbeans.jmi.javamodel.JavaDocClass; 26 import org.netbeans.mdr.persistence.StorageException; 27 import org.netbeans.mdr.storagemodel.StorableClass; 28 import org.openide.ErrorManager; 29 30 31 36 public abstract class JavaDocClassImpl extends MEFactory implements JavaDocClass { 37 38 protected JavaDocClassImpl(StorableClass s) { 39 super(s); 40 } 41 42 46 public JavaDoc createJavaDoc() { 47 return create(null, null); 48 } 49 50 57 public JavaDoc createJavaDoc(String text, List tags) { 58 return create(text, tags); 59 } 60 61 63 private JavaDocImpl create(String text, List tags) { 64 JavaDocImpl result = (JavaDocImpl) create(null); 65 result.setNew(); 66 result.setData(text, tags); 67 return result; 68 } 69 } 70 | Popular Tags |