001    /*
002     * Copyright 2007 - 2007 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    package org.w3c.dom.mathml;
017    
018    import org.w3c.dom.DOMImplementation;
019    
020    /*
021     * Please note: This file was automatically generated from the source of the
022     * MathML specification. Do not edit it. If there are errors or missing
023     * elements, please correct the stylesheet instead.
024     */
025    
026    /**
027     * This interface extends the DOMImplementation interface by adding a method
028     * to create a MathMLDocument.
029     * 
030     * 
031     */
032    public interface MathMLDOMImplementation extends DOMImplementation {
033        /**
034         * Creates a MathMLDocument with a minimal tree containing only a
035         * MathMLMathElement corresponding to a MathML math element. The
036         * MathMLMathElement is empty, having no child elements or non-default
037         * attributes; it is the root element of the document, and is the element
038         * accessed via the documentElement attribute of the MathMLDocument. Note
039         * that a MathMLDocument object should only be created for a stand-alone
040         * MathML document.
041         * 
042         * @return The MathMLDocument created.
043         */
044        MathMLDocument createMathMLDocument();
045    };