Coverage Report - us.paulevans.basicxslt.AppConstants
 
Classes in this File Line Coverage Branch Coverage Complexity
AppConstants
0%
0/2
N/A
1
 
 1  
 /*
 2  
         Copyright 2006 Paul Evans 
 3  
 
 4  
         Licensed under the Apache License, Version 2.0 (the "License"); 
 5  
         you may not use this file except in compliance with the License. 
 6  
         You may obtain a copy of the License at 
 7  
 
 8  
                 http://www.apache.org/licenses/LICENSE-2.0 
 9  
 
 10  
         Unless required by applicable law or agreed to in writing, software 
 11  
         distributed under the License is distributed on an "AS IS" BASIS, 
 12  
         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
 13  
         See the License for the specific language governing permissions and 
 14  
         limitations under the License.
 15  
  */
 16  
 package us.paulevans.basicxslt;
 17  
 
 18  
 /**
 19  
  * Collection of application constants
 20  
  * @author pevans
 21  
  *
 22  
  */
 23  
 public class AppConstants {
 24  
 
 25  
     /**
 26  
      * Private constructor to prevent instantiation
 27  
      */
 28  0
     private AppConstants() {
 29  
             // does nothing...
 30  0
     }
 31  
 
 32  
     // Application version number...
 33  
     public static final String APP_VERSION = "01.02.02";
 34  
     
 35  
     // Application bug URL...
 36  
     public static final String BUG_HOME_URL = 
 37  
             "http://sourceforge.net/tracker/?group_id=136476&atid=735979";
 38  
     
 39  
     // Default number of stylesheet rows to use
 40  
     public static final String DEFAULT_NUM_STYLESHEETS = "3";
 41  
 
 42  
     // user-prefs property names
 43  
         public static final String SEPARATOR = "---------------------";
 44  
     public static final String CHK_WARNINGS_PROP = "chk_warnings";
 45  
     public static final String CHK_ERRORS_PROP = "chk_errors";
 46  
     public static final String CHK_FATAL_ERRORS_PROP = "chk_fatal_errors";
 47  
     public static final String X_COORD_PROP = "x_coord";
 48  
     public static final String Y_COORD_PROP = "y_coord";
 49  
     public static final String LAST_FILE_CHOSEN_PROP = "last_file_chosen";
 50  
     public static final String LAST_XML_FILE_PROP = "last_xml_file";
 51  
     public static final String SUPPRESS_OUTPUT_WINDOW_PROP = 
 52  
                 "suppress_output_window";
 53  
         public static final String OUTPUT_AS_TEXT_IF_XML_PROP = 
 54  
                 "output_as_text_if_xml";
 55  
     public static final String AUTOSAVE_RESULT_PROP = "autosave_result";
 56  
     public static final String AUTOSAVE_FILE_PROP = "autosave_file";
 57  
     public static final String NUM_STYLESHEETS_PROP = "num_stylesheets";
 58  
     public static final String FRAME_WIDTH_PROP = "frame_width";
 59  
     public static final String FRAME_HEIGHT_PROP = "frame_height";
 60  
         public static final String CDATA_SECTION_ELEMENTS = 
 61  
                 "cdata_section_elements";
 62  
         public static final String DOCTYPE_PUBLIC = "doctype_public";
 63  
         public static final String DOCTYPE_SYSTEM = "doctype_system";
 64  
         public static final String ENCODING = "encoding";
 65  
         public static final String INDENT = "indent";
 66  
         public static final String MEDIA_TYPE = "media_type";
 67  
         public static final String METHOD = "method";
 68  
         public static final String OMIT_XML_DECLARATION = "omit_xml_declaration";
 69  
         public static final String STANDALONE = "standalone";
 70  
         public static final String VERSION = "version";
 71  
         
 72  
         // default configuration property name...
 73  
         public static final String DEFAULT_CONFIGURATION_PROP = 
 74  
                 "default_configuration";
 75  
     
 76  
     // constants used relating to user preferences...
 77  
     public static final String APP_PREFS_DIR = ".basicxslt";
 78  
     public static final String APP_PREFS_FILE = "basicxslt.properties";
 79  
     public static final String DEFAULT_DIR_PROP = "default_dir";
 80  
     public static final String DEFAULT_CONFIGURATION = "default";
 81  
     
 82  
     // gui labels...
 83  
         public static final String INSERT = "->";
 84  
     
 85  
     // action commands...
 86  
     public static final String REMOVE_CB = "remove_cb";
 87  
     public static final String TAKE_ACTION = "take_action";
 88  
     
 89  
     // default length of textifields used in the system...
 90  
     public static final int TF_LENGTH = 40;
 91  
 }