src/main/java/de/uapcore/lightpit/Constants.java

changeset 34
824d4042c857
parent 29
27a0fdd7bca7
child 45
cc7f082c5ef3
     1.1 --- a/src/main/java/de/uapcore/lightpit/Constants.java	Sat May 09 15:19:21 2020 +0200
     1.2 +++ b/src/main/java/de/uapcore/lightpit/Constants.java	Sat May 09 17:01:29 2020 +0200
     1.3 @@ -1,8 +1,8 @@
     1.4  /*
     1.5   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     1.6 - * 
     1.7 + *
     1.8   * Copyright 2018 Mike Becker. All rights reserved.
     1.9 - * 
    1.10 + *
    1.11   * Redistribution and use in source and binary forms, with or without
    1.12   * modification, are permitted provided that the following conditions are met:
    1.13   *
    1.14 @@ -24,7 +24,7 @@
    1.15   * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    1.16   * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    1.17   * POSSIBILITY OF SUCH DAMAGE.
    1.18 - * 
    1.19 + *
    1.20   */
    1.21  package de.uapcore.lightpit;
    1.22  
    1.23 @@ -32,52 +32,52 @@
    1.24  
    1.25  /**
    1.26   * Contains all non-local scope constants used by the this application.
    1.27 - * 
    1.28 + * <p>
    1.29   * Constants with (class) local scope are defined in their respective classes.
    1.30   */
    1.31  public final class Constants {
    1.32      public static final String JSP_PATH_PREFIX = "/WEB-INF/jsp/";
    1.33 -    
    1.34 +
    1.35      public static final String JSPF_PATH_PREFIX = "/WEB-INF/jspf/";
    1.36 -    
    1.37 +
    1.38      public static final String DYN_FRAGMENT_PATH_PREFIX = "/WEB-INF/dynamic_fragments/";
    1.39 -    
    1.40 -    
    1.41 +
    1.42 +
    1.43      /**
    1.44       * Name for the context parameter specifying the available languages.
    1.45       */
    1.46      public static final String CTX_ATTR_LANGUAGES = "available-languages";
    1.47 -    
    1.48 +
    1.49      /**
    1.50       * Name for the context parameter optionally specifying the JNDI context;
    1.51       */
    1.52      public static final String CTX_ATTR_JNDI_CONTEXT = "jndi-context";
    1.53 -    
    1.54 +
    1.55      /**
    1.56       * Name for the context parameter optionally specifying a database schema.
    1.57       */
    1.58      public static final String CTX_ATTR_DB_SCHEMA = "db-schema";
    1.59 -    
    1.60 +
    1.61      /**
    1.62       * Name for the context parameter optionally specifying a database dialect.
    1.63       */
    1.64      public static final String CTX_ATTR_DB_DIALECT = "db-dialect";
    1.65 -    
    1.66 +
    1.67      /**
    1.68       * Key for the request attribute containing the class name of the currently dispatching module.
    1.69       */
    1.70      public static final String REQ_ATTR_MODULE_CLASSNAME = fqn(AbstractLightPITServlet.class, "moduleClassname");
    1.71 -    
    1.72 +
    1.73      /**
    1.74       * Key for the request attribute containing the {@link LightPITModule} information of the currently dispatching module.
    1.75       */
    1.76      public static final String REQ_ATTR_MODULE_INFO = fqn(AbstractLightPITServlet.class, "moduleInfo");
    1.77 -    
    1.78 +
    1.79      /**
    1.80       * Key for the request attribute containing the menu list.
    1.81       */
    1.82      public static final String REQ_ATTR_MENU = fqn(AbstractLightPITServlet.class, "mainMenu");
    1.83 -    
    1.84 +
    1.85      /**
    1.86       * Key for the request attribute containing the full path information (servlet path + path info).
    1.87       */
    1.88 @@ -85,22 +85,23 @@
    1.89  
    1.90      /**
    1.91       * Key for the name of the fragment which should be rendered.
    1.92 -     */    
    1.93 +     */
    1.94      public static final String REQ_ATTR_FRAGMENT = fqn(AbstractLightPITServlet.class, "fragment");
    1.95 -    
    1.96 +
    1.97      /**
    1.98       * Key for the name of the additional stylesheet used by a module.
    1.99 -     */    
   1.100 +     */
   1.101      public static final String REQ_ATTR_STYLESHEET = fqn(AbstractLightPITServlet.class, "extraCss");
   1.102 -    
   1.103 -    
   1.104 +
   1.105 +
   1.106      /**
   1.107       * Key for the current language selection within the session.
   1.108       */
   1.109      public static final String SESSION_ATTR_LANGUAGE = fqn(AbstractLightPITServlet.class, "language");
   1.110 -    
   1.111 +
   1.112      /**
   1.113       * This class is not instantiatable.
   1.114       */
   1.115 -    private Constants() {}
   1.116 +    private Constants() {
   1.117 +    }
   1.118  }

mercurial