001 /* 002 * Copyright 2007 - 2007 JEuclid, http://jeuclid.sf.net 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 package org.w3c.dom.mathml; 017 018 /* 019 * Please note: This file was automatically generated from the source of the 020 * MathML specification. Do not edit it. If there are errors or missing 021 * elements, please correct the stylesheet instead. 022 */ 023 024 /** 025 * The cn element is used to specify actual numeric constants. 026 * 027 * 028 */ 029 public interface MathMLCnElement extends MathMLContentToken { 030 /** 031 * Values include, but are not restricted to, e-notation, integer, 032 * rational, real, float, complex, complex-polar, complex-cartesian, and 033 * constant. 034 * 035 * @return value of the type attribute. 036 */ 037 String getType(); 038 039 /** 040 * setter for the type attribute. 041 * 042 * @param type 043 * new value for type. 044 * @see #getType() 045 */ 046 void setType(String type); 047 048 /** 049 * A string representing an integer between 2 and 36; the base of the 050 * numerical representation. 051 * 052 * @return value of the base attribute. 053 */ 054 String getBase(); 055 056 /** 057 * setter for the base attribute. 058 * 059 * @param base 060 * new value for base. 061 * @see #getBase() 062 */ 063 void setBase(String base); 064 065 /** 066 * The number of sep-separated arguments. 067 * 068 * @return value of the nargs attribute. 069 */ 070 int getNargs(); 071 };