source: trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/guimodel/HTMLDocument.java @ 1264

Last change on this file since 1264 was 1264, checked in by pharms, 11 years ago
  • improved logging
File size: 2.0 KB
Line 
1//   Copyright 2012 Georg-August-Universität Göttingen, Germany
2//
3//   Licensed under the Apache License, Version 2.0 (the "License");
4//   you may not use this file except in compliance with the License.
5//   You may obtain a copy of the License at
6//
7//       http://www.apache.org/licenses/LICENSE-2.0
8//
9//   Unless required by applicable law or agreed to in writing, software
10//   distributed under the License is distributed on an "AS IS" BASIS,
11//   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12//   See the License for the specific language governing permissions and
13//   limitations under the License.
14
15package de.ugoe.cs.autoquest.plugin.html.guimodel;
16
17import de.ugoe.cs.autoquest.eventcore.guimodel.IDialog;
18
19/**
20 * <p>
21 * TODO comment
22 * </p>
23 *
24 * @author Patrick Harms
25 */
26public class HTMLDocument extends HTMLGUIElement implements IDialog {
27
28    /**  */
29    private static final long serialVersionUID = 1L;
30
31    /**
32     * <p>
33     * TODO: comment
34     * </p>
35     *
36     * @param specification
37     * @param parent
38     */
39    public HTMLDocument(HTMLDocumentSpec specification, HTMLServer parent) {
40        super(specification, parent);
41    }
42
43    /**
44     * <p>
45     * TODO: comment
46     * </p>
47     *
48     * @return
49     */
50    public String getPath() {
51        return ((HTMLDocumentSpec) super.getSpecification()).getPath();
52    }
53
54    /*
55     * (non-Javadoc)
56     *
57     * @see de.ugoe.cs.autoquest.plugin.html.guimodel.HTMLGUIElement#getElementDescriptor()
58     */
59    @Override
60    protected String getElementDescriptor() {
61        return "Document";
62    }
63
64    /**
65     * <p>
66     * TODO: comment
67     * </p>
68     *
69     * @return
70     */
71    HTMLServerSpec getServer() {
72        return ((HTMLDocumentSpec) super.getSpecification()).getServer();
73    }
74
75    /**
76     * <p>
77     * TODO: comment
78     * </p>
79     *
80     * @return
81     */
82    String getTitle() {
83        return ((HTMLDocumentSpec) super.getSpecification()).getTitle();
84    }
85
86}
Note: See TracBrowser for help on using the repository browser.