01: package JSci.mathml;
02:
03: import org.w3c.dom.mathml.*;
04:
05: /**
06: * Implements a MathML function element.
07: * @version 1.0
08: * @author Mark Hale
09: */
10: public class MathMLFnElementImpl extends MathMLContentContainerImpl
11: implements MathMLFnElement {
12: /**
13: * Constructs a MathML function element.
14: */
15: public MathMLFnElementImpl(MathMLDocumentImpl owner,
16: String qualifiedName) {
17: super (owner, qualifiedName);
18: }
19:
20: public String getDefinitionURL() {
21: return getAttribute("definitionURL");
22: }
23:
24: public void setDefinitionURL(String definitionURL) {
25: setAttribute("definitionURL", definitionURL);
26: }
27:
28: public String getEncoding() {
29: return getAttribute("encoding");
30: }
31:
32: public void setEncoding(String encoding) {
33: setAttribute("encoding", encoding);
34: }
35: }
|