1 19 20 package org.netbeans.modules.xml.schema.model; 21 22 import java.io.IOException ; 23 import org.w3c.dom.Element ; 24 25 29 public interface Documentation extends SchemaComponent { 30 31 public static final String LANGUAGE_PROPERTY = "language"; 32 public static final String SOURCE_PROPERTY = "source"; 33 public static final String CONTENT_PROPERTY = "content"; 34 35 String getSource(); 36 void setSource(String uri); 37 38 String getLanguage(); 40 void setLanguage(String lang); 41 42 45 String getContent(); 46 47 51 void setContent(String content); 52 53 56 String getContentFragment(); 57 58 65 void setContentFragment(String text) throws IOException ; 66 67 70 Element getDocumentationElement(); 71 72 75 void setDocumentationElement(Element documentationElement); 76 } 77 | Popular Tags |