|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Node | Line # 27 | 0 | 0 | - |
-1.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
No Tests | |||
1 | /* $Id: Node.java,v 1.9 2008/03/27 05:16:26 m31 Exp $ | |
2 | * | |
3 | * This file is part of the project "Hilbert II" - http://www.qedeq.org | |
4 | * | |
5 | * Copyright 2000-2008, Michael Meyling <mime@qedeq.org>. | |
6 | * | |
7 | * "Hilbert II" is free software; you can redistribute | |
8 | * it and/or modify it under the terms of the GNU General Public | |
9 | * License as published by the Free Software Foundation; either | |
10 | * version 2 of the License, or (at your option) any later version. | |
11 | * | |
12 | * This program is distributed in the hope that it will be useful, | |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | * GNU General Public License for more details. | |
16 | */ | |
17 | ||
18 | package org.qedeq.kernel.base.module; | |
19 | ||
20 | ||
21 | /** | |
22 | * A node carries mathematical knowledge. | |
23 | * | |
24 | * @version $Revision: 1.9 $ | |
25 | * @author Michael Meyling | |
26 | */ | |
27 | public interface Node extends SubsectionType { | |
28 | ||
29 | /** | |
30 | * Get label of node. The node is referenced with this label. | |
31 | * | |
32 | * @return Returns the label. | |
33 | */ | |
34 | public String getId(); | |
35 | ||
36 | /** | |
37 | * Get level of node. Higher levels contain additional informations. | |
38 | * | |
39 | * @return Returns the level. | |
40 | */ | |
41 | public String getLevel(); | |
42 | ||
43 | /** | |
44 | * Set name of node. Could be used as an readable reference, e.g. "Axiom of Choice". | |
45 | * | |
46 | * @return Returns the name. | |
47 | */ | |
48 | public LatexList getName(); | |
49 | ||
50 | /** | |
51 | * Get title of subsection. | |
52 | * | |
53 | * @return Returns the name. | |
54 | */ | |
55 | public LatexList getTitle(); | |
56 | ||
57 | /** | |
58 | * Get text before the formula. Get the preceding LaTeX text. This text comes before a | |
59 | * theorem, definition etc. but belongs to this node regards content. | |
60 | * | |
61 | * @return Returns the preceding LaTeX text. | |
62 | */ | |
63 | public LatexList getPrecedingText(); | |
64 | ||
65 | /** | |
66 | * Get node content. This is for example a concrete theorem or definition. The main | |
67 | * information of a node could be found here. | |
68 | * | |
69 | * @return Returns the nodeType. | |
70 | */ | |
71 | public NodeType getNodeType(); | |
72 | ||
73 | /** | |
74 | * Get text after the formula. Get the succeeding LaTeX text. This text comes after | |
75 | * a theorem, definition etc. but belongs to this node regards content. | |
76 | * | |
77 | * @return Returns the succeedingText. | |
78 | */ | |
79 | public LatexList getSucceedingText(); | |
80 | } |
|