KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > mathml > MathMLCiElementImpl


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

10 public class MathMLCiElementImpl extends MathMLContentTokenImpl implements MathMLCiElement {
11         /**
12          * Constructs a MathML content identifier element.
13          */

14         public MathMLCiElementImpl(MathMLDocumentImpl owner, String JavaDoc qualifiedName) {
15                 super(owner, qualifiedName);
16         }
17
18         public String JavaDoc getType() {
19                 return getAttribute("type");
20         }
21         public void setType(String JavaDoc type) {
22                 setAttribute("type", type);
23         }
24 }
25
26
Popular Tags