Changeset 1276 for trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/guimodel/HTMLDocument.java
- Timestamp:
- 07/26/13 09:20:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/guimodel/HTMLDocument.java
r1264 r1276 19 19 /** 20 20 * <p> 21 * TODO comment 21 * a GUI element representing an HTML document, i.e., a page on an HTML server. This is the 22 * element for a GUI model of an HTML web site being always and only the children of servers. It 23 * is identified through the server on which it resists, its path, a potential query, and a title. 24 * Its children are HTML page elements 22 25 * </p> 23 26 * … … 26 29 public class HTMLDocument extends HTMLGUIElement implements IDialog { 27 30 28 /** */ 31 /** 32 * <p> 33 * default serial version UID 34 * </p> 35 */ 29 36 private static final long serialVersionUID = 1L; 30 37 31 38 /** 32 39 * <p> 33 * TODO: comment40 * instantiates the document with it specification and its parent, which is always a server 34 41 * </p> 35 42 * 36 * @param specification 37 * @param parent 43 * @param specification the specification of the document 44 * @param parent the server on which the document resists 38 45 */ 39 46 public HTMLDocument(HTMLDocumentSpec specification, HTMLServer parent) { … … 43 50 /** 44 51 * <p> 45 * TODO: comment52 * returns the path in the URL of the document 46 53 * </p> 47 54 * 48 * @return 55 * @return the path in the URL of the document 49 56 */ 50 57 public String getPath() { … … 64 71 /** 65 72 * <p> 66 * TODO: comment73 * returns the server on which the document resists 67 74 * </p> 68 75 * 69 * @return 76 * @return the server on which the document resists 70 77 */ 71 HTMLServer SpecgetServer() {72 return ( (HTMLDocumentSpec) super.getSpecification()).getServer();78 HTMLServer getServer() { 79 return (HTMLServer) super.getParent(); 73 80 } 74 81 75 82 /** 76 83 * <p> 77 * TODO: comment84 * returns the title of the document 78 85 * </p> 79 86 * 80 * @return 87 * @return the title of the document 81 88 */ 82 89 String getTitle() {
Note: See TracChangeset
for help on using the changeset viewer.