View Javadoc

1   /*
2    * Copyright 2007 - 2007 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  package org.w3c.dom.mathml;
17  
18  import org.w3c.dom.DOMImplementation;
19  
20  /*
21   * Please note: This file was automatically generated from the source of the
22   * MathML specification. Do not edit it. If there are errors or missing
23   * elements, please correct the stylesheet instead.
24   */
25  
26  /**
27   * This interface extends the DOMImplementation interface by adding a method
28   * to create a MathMLDocument.
29   * 
30   * 
31   */
32  public interface MathMLDOMImplementation extends DOMImplementation {
33      /**
34       * Creates a MathMLDocument with a minimal tree containing only a
35       * MathMLMathElement corresponding to a MathML math element. The
36       * MathMLMathElement is empty, having no child elements or non-default
37       * attributes; it is the root element of the document, and is the element
38       * accessed via the documentElement attribute of the MathMLDocument. Note
39       * that a MathMLDocument object should only be created for a stand-alone
40       * MathML document.
41       * 
42       * @return The MathMLDocument created.
43       */
44      MathMLDocument createMathMLDocument();
45  };