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  /*
19   * Please note: This file was automatically generated from the source of the
20   * MathML specification. Do not edit it. If there are errors or missing
21   * elements, please correct the stylesheet instead.
22   */
23  
24  /**
25   * This interface represents the annotation element of MathML.
26   * 
27   * 
28   */
29  public interface MathMLAnnotationElement extends MathMLElement {
30      /**
31       * Provides access to the content of an annotation element.
32       * 
33       * @return value of the body attribute.
34       */
35      String getBody();
36  
37      /**
38       * setter for the body attribute.
39       * 
40       * @param body
41       *            new value for body.
42       * @see #getBody()
43       */
44      void setBody(String body);
45  
46      /**
47       * Provides access to the encoding attribute of an annotation element.
48       * 
49       * @return value of the encoding attribute.
50       */
51      String getEncoding();
52  
53      /**
54       * setter for the encoding attribute.
55       * 
56       * @param encoding
57       *            new value for encoding.
58       * @see #getEncoding()
59       */
60      void setEncoding(String encoding);
61  };