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 /* 020 * Please note: This file was automatically generated from the source of the 021 * MathML specification. Do not edit it. If there are errors or missing 022 * elements, please correct the stylesheet instead. 023 */ 024 025 /** 026 * This interface extends the MathMLElement interface for the MathML style 027 * element mstyle. While the mstyle element may contain any attributes 028 * allowable on any MathML presentation element, only attributes specific to 029 * the mstyle element are included in the interface below. Other attributes 030 * should be accessed using the methods on the base Element class, 031 * particularly the Element::getAttribute and Element::setAttribute methods, 032 * or even the Node::attributes attribute to access all of them at once. Not 033 * only does this obviate a lengthy list below, but it seems likely that most 034 * implementations will find this a considerably more useful interface to a 035 * MathMLStyleElement. 036 * 037 * 038 */ 039 public interface MathMLStyleElement extends MathMLPresentationContainer { 040 /** 041 * A string of the form +/- unsigned integer; represents the scriptlevel 042 * attribute for the mstyle element, if specified. See also the discussion 043 * of this attribute. 044 * 045 * @return value of the scriptlevel attribute. 046 */ 047 String getScriptlevel(); 048 049 /** 050 * setter for the scriptlevel attribute. 051 * 052 * @param scriptlevel 053 * new value for scriptlevel. 054 * @see #getScriptlevel() 055 */ 056 void setScriptlevel(String scriptlevel); 057 058 /** 059 * Either true or false; a string representing the displaystyle attribute 060 * for the mstyle element, if specified. See also the discussion of this 061 * attribute. 062 * 063 * @return value of the displaystyle attribute. 064 */ 065 String getDisplaystyle(); 066 067 /** 068 * setter for the displaystyle attribute. 069 * 070 * @param displaystyle 071 * new value for displaystyle. 072 * @see #getDisplaystyle() 073 */ 074 void setDisplaystyle(String displaystyle); 075 076 /** 077 * A string of the form number; represents the scriptsizemultiplier 078 * attribute for the mstyle element, if specified. See also the discussion 079 * of this attribute. 080 * 081 * @return value of the scriptsizemultiplier attribute. 082 */ 083 String getScriptsizemultiplier(); 084 085 /** 086 * setter for the scriptsizemultiplier attribute. 087 * 088 * @param scriptsizemultiplier 089 * new value for scriptsizemultiplier. 090 * @see #getScriptsizemultiplier() 091 */ 092 void setScriptsizemultiplier(String scriptsizemultiplier); 093 094 /** 095 * A string of the form number v-unit; represents the scriptminsize 096 * attribute for the mstyle element, if specified. See also the discussion 097 * of this attribute. 098 * 099 * @return value of the scriptminsize attribute. 100 */ 101 String getScriptminsize(); 102 103 /** 104 * setter for the scriptminsize attribute. 105 * 106 * @param scriptminsize 107 * new value for scriptminsize. 108 * @see #getScriptminsize() 109 */ 110 void setScriptminsize(String scriptminsize); 111 112 /** 113 * A string representation of a color or the string transparent; 114 * represents the background attribute for the mstyle element, if 115 * specified. See also the discussion of this attribute. 116 * 117 * @return value of the background attribute. 118 */ 119 String getBackground(); 120 121 /** 122 * setter for the background attribute. 123 * 124 * @param background 125 * new value for background. 126 * @see #getBackground() 127 */ 128 void setBackground(String background); 129 130 /** 131 * A string of the form number h-unit; represents the 132 * veryverythinmathspace attribute for the mstyle element, if specified. 133 * See also the discussion of this attribute. 134 * 135 * @return value of the veryverythinmathspace attribute. 136 */ 137 String getVeryverythinmathspace(); 138 139 /** 140 * setter for the veryverythinmathspace attribute. 141 * 142 * @param veryverythinmathspace 143 * new value for veryverythinmathspace. 144 * @see #getVeryverythinmathspace() 145 */ 146 void setVeryverythinmathspace(String veryverythinmathspace); 147 148 /** 149 * A string of the form number h-unit; represents the verythinmathspace 150 * attribute for the mstyle element, if specified. See also the discussion 151 * of this attribute. 152 * 153 * @return value of the verythinmathspace attribute. 154 */ 155 String getVerythinmathspace(); 156 157 /** 158 * setter for the verythinmathspace attribute. 159 * 160 * @param verythinmathspace 161 * new value for verythinmathspace. 162 * @see #getVerythinmathspace() 163 */ 164 void setVerythinmathspace(String verythinmathspace); 165 166 /** 167 * A string of the form number h-unit; represents the thinmathspace 168 * attribute for the mstyle element, if specified. See also the discussion 169 * of this attribute. 170 * 171 * @return value of the thinmathspace attribute. 172 */ 173 String getThinmathspace(); 174 175 /** 176 * setter for the thinmathspace attribute. 177 * 178 * @param thinmathspace 179 * new value for thinmathspace. 180 * @see #getThinmathspace() 181 */ 182 void setThinmathspace(String thinmathspace); 183 184 /** 185 * A string of the form number h-unit; represents the mediummathspace 186 * attribute for the mstyle element, if specified. See also the discussion 187 * of this attribute. 188 * 189 * @return value of the mediummathspace attribute. 190 */ 191 String getMediummathspace(); 192 193 /** 194 * setter for the mediummathspace attribute. 195 * 196 * @param mediummathspace 197 * new value for mediummathspace. 198 * @see #getMediummathspace() 199 */ 200 void setMediummathspace(String mediummathspace); 201 202 /** 203 * A string of the form number h-unit; represents the thickmathspace 204 * attribute for the mstyle element, if specified. See also the discussion 205 * of this attribute. 206 * 207 * @return value of the thickmathspace attribute. 208 */ 209 String getThickmathspace(); 210 211 /** 212 * setter for the thickmathspace attribute. 213 * 214 * @param thickmathspace 215 * new value for thickmathspace. 216 * @see #getThickmathspace() 217 */ 218 void setThickmathspace(String thickmathspace); 219 220 /** 221 * A string of the form number h-unit; represents the verythickmathspace 222 * attribute for the mstyle element, if specified. See also the discussion 223 * of this attribute. 224 * 225 * @return value of the verythickmathspace attribute. 226 */ 227 String getVerythickmathspace(); 228 229 /** 230 * setter for the verythickmathspace attribute. 231 * 232 * @param verythickmathspace 233 * new value for verythickmathspace. 234 * @see #getVerythickmathspace() 235 */ 236 void setVerythickmathspace(String verythickmathspace); 237 238 /** 239 * A string of the form number h-unit; represents the 240 * veryverythickmathspace attribute for the mstyle element, if specified. 241 * See also the discussion of this attribute. 242 * 243 * @return value of the veryverythickmathspace attribute. 244 */ 245 String getVeryverythickmathspace(); 246 247 /** 248 * setter for the veryverythickmathspace attribute. 249 * 250 * @param veryverythickmathspace 251 * new value for veryverythickmathspace. 252 * @see #getVeryverythickmathspace() 253 */ 254 void setVeryverythickmathspace(String veryverythickmathspace); 255 256 /** 257 * A string of the form number h-unit; represents the 258 * negativeveryverythinmathspace attribute for the mstyle element, if 259 * specified. See also the discussion of this attribute. 260 * 261 * @return value of the negativeveryverythinmathspace attribute. 262 */ 263 String getNegativeveryverythinmathspace(); 264 265 /** 266 * setter for the negativeveryverythinmathspace attribute. 267 * 268 * @param negativeveryverythinmathspace 269 * new value for negativeveryverythinmathspace. 270 * @see #getNegativeveryverythinmathspace() 271 */ 272 void setNegativeveryverythinmathspace(String negativeveryverythinmathspace); 273 274 /** 275 * A string of the form number h-unit; represents the 276 * negativeverythinmathspace attribute for the mstyle element, if 277 * specified. See also the discussion of this attribute. 278 * 279 * @return value of the negativeverythinmathspace attribute. 280 */ 281 String getNegativeverythinmathspace(); 282 283 /** 284 * setter for the negativeverythinmathspace attribute. 285 * 286 * @param negativeverythinmathspace 287 * new value for negativeverythinmathspace. 288 * @see #getNegativeverythinmathspace() 289 */ 290 void setNegativeverythinmathspace(String negativeverythinmathspace); 291 292 /** 293 * A string of the form number h-unit; represents the 294 * negativethinmathspace attribute for the mstyle element, if specified. 295 * See also the discussion of this attribute. 296 * 297 * @return value of the negativethinmathspace attribute. 298 */ 299 String getNegativethinmathspace(); 300 301 /** 302 * setter for the negativethinmathspace attribute. 303 * 304 * @param negativethinmathspace 305 * new value for negativethinmathspace. 306 * @see #getNegativethinmathspace() 307 */ 308 void setNegativethinmathspace(String negativethinmathspace); 309 310 /** 311 * A string of the form number h-unit; represents the 312 * negativemediummathspace attribute for the mstyle element, if specified. 313 * See also the discussion of this attribute. 314 * 315 * @return value of the negativemediummathspace attribute. 316 */ 317 String getNegativemediummathspace(); 318 319 /** 320 * setter for the negativemediummathspace attribute. 321 * 322 * @param negativemediummathspace 323 * new value for negativemediummathspace. 324 * @see #getNegativemediummathspace() 325 */ 326 void setNegativemediummathspace(String negativemediummathspace); 327 328 /** 329 * A string of the form number h-unit; represents the 330 * negativethickmathspace attribute for the mstyle element, if specified. 331 * See also the discussion of this attribute. 332 * 333 * @return value of the negativethickmathspace attribute. 334 */ 335 String getNegativethickmathspace(); 336 337 /** 338 * setter for the negativethickmathspace attribute. 339 * 340 * @param negativethickmathspace 341 * new value for negativethickmathspace. 342 * @see #getNegativethickmathspace() 343 */ 344 void setNegativethickmathspace(String negativethickmathspace); 345 346 /** 347 * A string of the form number h-unit; represents the 348 * negativeverythickmathspace attribute for the mstyle element, if 349 * specified. See also the discussion of this attribute. 350 * 351 * @return value of the negativeverythickmathspace attribute. 352 */ 353 String getNegativeverythickmathspace(); 354 355 /** 356 * setter for the negativeverythickmathspace attribute. 357 * 358 * @param negativeverythickmathspace 359 * new value for negativeverythickmathspace. 360 * @see #getNegativeverythickmathspace() 361 */ 362 void setNegativeverythickmathspace(String negativeverythickmathspace); 363 364 /** 365 * A string of the form number h-unit; represents the 366 * negativeveryverythickmathspace attribute for the mstyle element, if 367 * specified. See also the discussion of this attribute. 368 * 369 * @return value of the negativeveryverythickmathspace attribute. 370 */ 371 String getNegativeveryverythickmathspace(); 372 373 /** 374 * setter for the negativeveryverythickmathspace attribute. 375 * 376 * @param negativeveryverythickmathspace 377 * new value for negativeveryverythickmathspace. 378 * @see #getNegativeveryverythickmathspace() 379 */ 380 void setNegativeveryverythickmathspace( 381 String negativeveryverythickmathspace); 382 };