1 package JSci.mathml; 2 3 import org.w3c.dom.mathml.*; 4 5 10 public class MathMLPredefinedSymbolImpl extends MathMLElementImpl implements MathMLPredefinedSymbol { 11 14 public MathMLPredefinedSymbolImpl(MathMLDocumentImpl owner, String qualifiedName) { 15 super(owner, qualifiedName); 16 } 17 18 public String getDefinitionURL() { 19 return getAttribute("definitionURL"); 20 } 21 public void setDefinitionURL(String definitionURL) { 22 setAttribute("definitionURL", definitionURL); 23 } 24 25 public String getEncoding() { 26 return getAttribute("encoding"); 27 } 28 public void setEncoding(String encoding) { 29 setAttribute("encoding", encoding); 30 } 31 32 public String getArity() { 33 return "0"; 34 } 35 36 public String getSymbolName() { 37 return getLocalName(); 38 } 39 } 40 41 | Popular Tags |