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 import org.w3c.dom.Document; 019 020 /* 021 * Please note: This file was automatically generated from the source of the 022 * MathML specification. Do not edit it. If there are errors or missing 023 * elements, please correct the stylesheet instead. 024 */ 025 026 /** 027 * This interface extends the Document interface to add access to document 028 * properties relating to navigation. The documentElement attribute for a 029 * MathMLDocument should be the MathMLMathElement representing the top-level 030 * math element which is the root of the document. 031 * 032 */ 033 public interface MathMLDocument extends Document { 034 /** 035 * The URI of the page that linked to this document, if available. This is 036 * null if the user navigated directly to the page. If this is not a 037 * stand-alone MathML document (e.g. is embedded in an XHTML document), 038 * this may be retrieved from the parent Document if available. 039 * 040 * @return value of the referrer attribute. 041 */ 042 String getReferrer(); 043 044 /** 045 * The domain name of the server that served the document, or null if the 046 * server cannot be identified by a domain name, or if it is not 047 * available. If this is not a stand-alone MathML document (e.g. is 048 * embedded in an XHTML document), this may be retrieved from the parent 049 * Document if available. 050 * 051 * @return value of the domain attribute. 052 */ 053 String getDomain(); 054 055 /** 056 * The complete URI of this document. This is null if this is not a 057 * stand-alone MathML document. 058 * 059 * @return value of the URI attribute. 060 */ 061 String getURI(); 062 };