001 /*
002 * Copyright 2007 - 2008 JEuclid, http://jeuclid.sf.net
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016
017 /* $Id: Constants.java,v 2bab6eb875e8 2010/08/11 16:45:50 max $ */
018
019 package net.sourceforge.jeuclid;
020
021 import javax.annotation.concurrent.Immutable;
022
023 /**
024 * Constants which are shared in multiple classes.
025 *
026 * @version $Revision: 2bab6eb875e8 $
027 */
028 @Immutable
029 public final class Constants {
030 /** String for numeric zero. */
031 public static final String ZERO = "0";
032
033 /** String constant for true. */
034 public static final String TRUE = "true";
035
036 /** String constant for false. */
037 public static final String FALSE = "false";
038
039 /** Default font-size (no scaling). */
040 public static final float DEFAULT_FONTSIZE = 12.0f;
041
042 /** Default ScriptSize multiplier. */
043 public static final float DEFAULT_SCIPTSIZEMULTIPLIER = 0.71f;
044
045 /** Default MIME Type for MathML documents. */
046 public static final String MATHML_MIMETYPE = "application/mathml+xml";
047
048 /**
049 * Name space for JEuclid specific context extension.
050 */
051 public static final String NS_OLD_JEUCLID_EXT = "http://jeuclid.sf.net/ns/context";
052
053 /**
054 * Name space for JEuclid specific extensions.
055 */
056 public static final String NS_JEUCLID_EXT = "http://jeuclid.sf.net/ns/ext";
057
058 /**
059 * Default Constructor.
060 */
061 private Constants() {
062 // Empty on purpose
063 }
064
065 }