KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > mathml > MathMLFencedElementImpl


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

10 public class MathMLFencedElementImpl extends MathMLPresentationContainerImpl implements MathMLFencedElement {
11         /**
12          * Constructs a MathML fenced element.
13          */

14         public MathMLFencedElementImpl(MathMLDocumentImpl owner, String JavaDoc qualifiedName) {
15                 super(owner, qualifiedName);
16         }
17
18         public String JavaDoc getOpen() {
19                 return getAttribute("open");
20         }
21         public void setOpen(String JavaDoc open) {
22                 setAttribute("open", open);
23         }
24
25         public String JavaDoc getClose() {
26                 return getAttribute("close");
27         }
28         public void setClose(String JavaDoc close) {
29                 setAttribute("close", close);
30         }
31
32         public String JavaDoc getSeparators() {
33                 return getAttribute("separators");
34         }
35         public void setSeparators(String JavaDoc separators) {
36                 setAttribute("separators", separators);
37         }
38 }
39
40
Popular Tags