KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > mathml > MathMLFnElementImpl


1 package JSci.mathml;
2
3 import org.w3c.dom.mathml.*;
4
5 /**
6  * Implements a MathML function element.
7  * @version 1.0
8  * @author Mark Hale
9  */

10 public class MathMLFnElementImpl extends MathMLContentContainerImpl implements MathMLFnElement {
11         /**
12          * Constructs a MathML function element.
13          */

14         public MathMLFnElementImpl(MathMLDocumentImpl owner, String JavaDoc qualifiedName) {
15                 super(owner, qualifiedName);
16         }
17
18         public String JavaDoc getDefinitionURL() {
19                 return getAttribute("definitionURL");
20         }
21         public void setDefinitionURL(String JavaDoc definitionURL) {
22                 setAttribute("definitionURL", definitionURL);
23         }
24
25         public String JavaDoc getEncoding() {
26                 return getAttribute("encoding");
27         }
28         public void setEncoding(String JavaDoc encoding) {
29                 setAttribute("encoding", encoding);
30         }
31 }
32
33
Popular Tags