com.globalmentor.w3c.spec.MathML Maven / Gradle / Ivy
/*
* Copyright © 1996-2008 GlobalMentor, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.globalmentor.w3c.spec;
import java.net.URI;
import com.globalmentor.net.ContentType;
/**
* Constants for MathML.
* @author Garret Wilson
* @see Mathematical Markup Language (MathML)
* @see W3C QA - Recommended List of DTDs
*/
public class MathML {
/** A MathML application. */
public static final String MATHML_XML_SUBTYPE = "mathml" + ContentType.SUBTYPE_SUFFIX_DELIMITER_CHAR + XML.XML_SUBTYPE_SUFFIX;
/** The content type for MathML: application/mathml+xml
. */
public static final ContentType MATHML_CONTENT_TYPE = ContentType.create(ContentType.APPLICATION_PRIMARY_TYPE, MATHML_XML_SUBTYPE);
/** The recommended prefix to the MathML namespace. */
public static final String MATHML_NAMESPACE_PREFIX = "mathml";
/** The URI to the MathML namespace. */
public static final URI MATHML_NAMESPACE_URI = URI.create("http://www.w3.org/1998/Math/MathML");
/** The system ID for the MathML 1.01 DTD. */
public static final String MATHML_1_01_SYSTEM_ID = "http://www.w3.org/Math/DTD/mathml1/mathml.dtd";
/** The public ID for the MathML 2.0 DTD. */
public static final String MATHML_2_0_PUBLIC_ID = "-//W3C//DTD MathML 2.0//EN";
/** The system ID for the MathML 2.0 DTD. */
public static final String MATHML_2_0_SYSTEM_ID = "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd";
//The MathML document element names.
public static final String ELEMENT_MATHML = "mathml";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy