1 19 package org.netbeans.modules.xml.text.syntax; 20 21 import java.util.MissingResourceException ; 22 23 28 public class DTDPrintOptions extends org.netbeans.modules.editor.options.BasePrintOptions { 29 30 31 private static final long serialVersionUID = 9083118813691632697L; 32 33 public static final String DTD = "dtd"; 35 36 public DTDPrintOptions () { 37 this (DTDKit.class, DTD); 38 } 39 40 public DTDPrintOptions (Class kitClass, String typeName) { 41 super (kitClass, typeName); 42 } 43 44 public String getString(String s) { 45 try { 46 return Util.THIS.getString (s); 47 } catch (MissingResourceException e) { 48 return super.getString (s); 49 } 50 } 51 } 52 | Popular Tags |