KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > mathml > MathMLListElementImpl


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

11 public class MathMLListElementImpl extends MathMLContentContainerImpl implements MathMLListElement {
12         /**
13          * Constructs a MathML <code>list</code> element.
14          */

15         public MathMLListElementImpl(MathMLDocumentImpl owner, String JavaDoc qualifiedName) {
16                 super (owner, qualifiedName);
17         }
18
19         public boolean getIsExplicit() {
20                 return !(getFirstChild() instanceof MathMLBvarElement);
21         }
22
23         public String JavaDoc getOrdering() {
24                 return getAttribute("order");
25         }
26         public void setOrdering(String JavaDoc ordering) {
27                 setAttribute("order", ordering);
28         }
29 }
30
31
Popular Tags