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 fn element makes explicit the fact that a more general MathML object is
026     * intended to be used in the same manner as if it were a pre-defined function
027     * such as sin or plus.
028     * 
029     * 
030     */
031    public interface MathMLFnElement extends MathMLContentContainer {
032        /**
033         * A URI pointing to a definition for this function-type element. Note
034         * that there is no stipulation about the form this definition may take!
035         * 
036         * @return value of the definitionURL attribute.
037         */
038        String getDefinitionURL();
039    
040        /**
041         * setter for the definitionURL attribute.
042         * 
043         * @param definitionURL
044         *            new value for definitionURL.
045         * @see #getDefinitionURL()
046         */
047        void setDefinitionURL(String definitionURL);
048    
049        /**
050         * A string describing the syntax in which the definition located at
051         * definitionURL is given.
052         * 
053         * @return value of the encoding attribute.
054         */
055        String getEncoding();
056    
057        /**
058         * setter for the encoding attribute.
059         * 
060         * @param encoding
061         *            new value for encoding.
062         * @see #getEncoding()
063         */
064        void setEncoding(String encoding);
065    };