KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > mathml > MathMLUnaryOpImpl


1 package JSci.mathml;
2
3 import org.w3c.dom.mathml.*;
4
5 /**
6  * Implements a MathML predefined symbol (unary operation).
7  * @version 1.0
8  * @author Mark Hale
9  */

10 public class MathMLUnaryOpImpl extends MathMLPredefinedSymbolImpl {
11         /**
12          * Constructs a MathML predefined symbol (unary operation).
13          */

14         public MathMLUnaryOpImpl(MathMLDocumentImpl owner, String JavaDoc qualifiedName) {
15                 super(owner, qualifiedName);
16         }
17
18         public String JavaDoc getArity() {
19                 return "1";
20         }
21 }
22
23
Popular Tags