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     * This interface extends the MathMLPresentationElement interface for the
026     * MathML space element mspace. Note that this is not derived from
027     * MathMLPresentationToken, despite the fact that mspace is classified as a
028     * token element, since it does not carry the attributes declared for
029     * MathMLPresentationToken.
030     * 
031     * 
032     */
033    public interface MathMLSpaceElement extends MathMLPresentationElement {
034        /**
035         * A string of the form number h-unit; represents the width attribute for
036         * the mspace element, if specified.
037         * 
038         * @return value of the width attribute.
039         */
040        String getWidth();
041    
042        /**
043         * setter for the width attribute.
044         * 
045         * @param width
046         *            new value for width.
047         * @see #getWidth()
048         */
049        void setWidth(String width);
050    
051        /**
052         * A string of the form number v-unit; represents the height attribute for
053         * the mspace element, if specified.
054         * 
055         * @return value of the height attribute.
056         */
057        String getHeight();
058    
059        /**
060         * setter for the height attribute.
061         * 
062         * @param height
063         *            new value for height.
064         * @see #getHeight()
065         */
066        void setHeight(String height);
067    
068        /**
069         * A string of the form number v-unit; represents the depth attribute for
070         * the mspace element, if specified.
071         * 
072         * @return value of the depth attribute.
073         */
074        String getDepth();
075    
076        /**
077         * setter for the depth attribute.
078         * 
079         * @param depth
080         *            new value for depth.
081         * @see #getDepth()
082         */
083        void setDepth(String depth);
084    
085        /**
086         * One of the strings auto, newline, indentingnewline, nobreak, goodbreak
087         * and badbreak. This attribute gives a linebreaking hint to the renderer.
088         * 
089         * @return value of the linebreak attribute.
090         */
091        String getLinebreak();
092    
093        /**
094         * setter for the linebreak attribute.
095         * 
096         * @param linebreak
097         *            new value for linebreak.
098         * @see #getLinebreak()
099         */
100        void setLinebreak(String linebreak);
101    };