1 /*
2 * Copyright 2007 - 2007 JEuclid, http://jeuclid.sf.net
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package org.w3c.dom.mathml;
17
18 import org.w3c.dom.Document;
19
20 /*
21 * Please note: This file was automatically generated from the source of the
22 * MathML specification. Do not edit it. If there are errors or missing
23 * elements, please correct the stylesheet instead.
24 */
25
26 /**
27 * This interface extends the Document interface to add access to document
28 * properties relating to navigation. The documentElement attribute for a
29 * MathMLDocument should be the MathMLMathElement representing the top-level
30 * math element which is the root of the document.
31 *
32 */
33 public interface MathMLDocument extends Document {
34 /**
35 * The URI of the page that linked to this document, if available. This is
36 * null if the user navigated directly to the page. If this is not a
37 * stand-alone MathML document (e.g. is embedded in an XHTML document),
38 * this may be retrieved from the parent Document if available.
39 *
40 * @return value of the referrer attribute.
41 */
42 String getReferrer();
43
44 /**
45 * The domain name of the server that served the document, or null if the
46 * server cannot be identified by a domain name, or if it is not
47 * available. If this is not a stand-alone MathML document (e.g. is
48 * embedded in an XHTML document), this may be retrieved from the parent
49 * Document if available.
50 *
51 * @return value of the domain attribute.
52 */
53 String getDomain();
54
55 /**
56 * The complete URI of this document. This is null if this is not a
57 * stand-alone MathML document.
58 *
59 * @return value of the URI attribute.
60 */
61 String getURI();
62 };