View Javadoc

1   /*
2    * Copyright 2007 - 2008 JEuclid, http://jeuclid.sf.net
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  
17  /* $Id: Constants.java,v 2bab6eb875e8 2010/08/11 16:45:50 max $ */
18  
19  package net.sourceforge.jeuclid;
20  
21  import javax.annotation.concurrent.Immutable;
22  
23  /**
24   * Constants which are shared in multiple classes.
25   * 
26   * @version $Revision: 2bab6eb875e8 $
27   */
28  @Immutable
29  public final class Constants {
30      /** String for numeric zero. */
31      public static final String ZERO = "0";
32  
33      /** String constant for true. */
34      public static final String TRUE = "true";
35  
36      /** String constant for false. */
37      public static final String FALSE = "false";
38  
39      /** Default font-size (no scaling). */
40      public static final float DEFAULT_FONTSIZE = 12.0f;
41  
42      /** Default ScriptSize multiplier. */
43      public static final float DEFAULT_SCIPTSIZEMULTIPLIER = 0.71f;
44  
45      /** Default MIME Type for MathML documents. */
46      public static final String MATHML_MIMETYPE = "application/mathml+xml";
47  
48      /**
49       * Name space for JEuclid specific context extension.
50       */
51      public static final String NS_OLD_JEUCLID_EXT = "http://jeuclid.sf.net/ns/context";
52  
53      /**
54       * Name space for JEuclid specific extensions.
55       */
56      public static final String NS_JEUCLID_EXT = "http://jeuclid.sf.net/ns/ext";
57  
58      /**
59       * Default Constructor.
60       */
61      private Constants() {
62          // Empty on purpose
63      }
64  
65  }