1 17 package com.sun.syndication.io.impl; 18 19 import org.jdom.DocType; 20 import org.jdom.Document; 21 import org.jdom.Element; 22 23 30 public class RSS091NetscapeGenerator extends RSS091UserlandGenerator { 31 private String _version; 32 33 public RSS091NetscapeGenerator() { 34 this("rss_0.91N","0.91"); 35 } 36 37 protected RSS091NetscapeGenerator(String type,String version) { 38 super(type,version); 39 } 40 41 protected Document createDocument(Element root) { 42 Document doc = new Document(root); 43 DocType docType = new DocType(RSS091NetscapeParser.ELEMENT_NAME, 44 RSS091NetscapeParser.PUBLIC_ID, 45 RSS091NetscapeParser.SYSTEM_ID); 46 doc.setDocType(docType); 47 return doc; 48 } 49 50 protected String getTextInputLabel() { 51 return "textinput"; 52 } 53 54 57 protected boolean isHourFormat24() { 58 return false; 59 } 60 61 } 62 | Popular Tags |