KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > mathml > MathMLActionElementImpl


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

10 public class MathMLActionElementImpl extends MathMLPresentationContainerImpl implements MathMLActionElement {
11         /**
12          * Constructs a MathML action element.
13          */

14         public MathMLActionElementImpl(MathMLDocumentImpl owner, String JavaDoc qualifiedName) {
15                 super(owner, qualifiedName);
16         }
17
18         public String JavaDoc getActiontype() {
19                 return getAttribute("actiontype");
20         }
21         public void setActiontype(String JavaDoc actiontype) {
22                 setAttribute("actiontype", actiontype);
23         }
24
25         public String JavaDoc getSelection() {
26                 return getAttribute("selection");
27         }
28         public void setSelection(String JavaDoc selection) {
29                 setAttribute("selection", selection);
30         }
31 }
32
33
Popular Tags