Ignore:
Timestamp:
07/26/13 09:20:36 (11 years ago)
Author:
pharms
Message:
  • added some Java Docs
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  
    1919/** 
    2020 * <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 
    2225 * </p> 
    2326 *  
     
    2629public class HTMLDocument extends HTMLGUIElement implements IDialog { 
    2730 
    28     /**  */ 
     31    /** 
     32     * <p> 
     33     * default serial version UID 
     34     * </p>  
     35     */ 
    2936    private static final long serialVersionUID = 1L; 
    3037 
    3138    /** 
    3239     * <p> 
    33      * TODO: comment 
     40     * instantiates the document with it specification and its parent, which is always a server 
    3441     * </p> 
    3542     * 
    36      * @param specification 
    37      * @param parent 
     43     * @param specification the specification of the document 
     44     * @param parent        the server on which the document resists 
    3845     */ 
    3946    public HTMLDocument(HTMLDocumentSpec specification, HTMLServer parent) { 
     
    4350    /** 
    4451     * <p> 
    45      * TODO: comment 
     52     * returns the path in the URL of the document 
    4653     * </p> 
    4754     * 
    48      * @return 
     55     * @return the path in the URL of the document 
    4956     */ 
    5057    public String getPath() { 
     
    6471    /** 
    6572     * <p> 
    66      * TODO: comment 
     73     * returns the server on which the document resists 
    6774     * </p> 
    6875     * 
    69      * @return 
     76     * @return the server on which the document resists 
    7077     */ 
    71     HTMLServerSpec getServer() { 
    72         return ((HTMLDocumentSpec) super.getSpecification()).getServer(); 
     78    HTMLServer getServer() { 
     79        return (HTMLServer) super.getParent(); 
    7380    } 
    7481 
    7582    /** 
    7683     * <p> 
    77      * TODO: comment 
     84     * returns the title of the document 
    7885     * </p> 
    7986     * 
    80      * @return 
     87     * @return the title of the document 
    8188     */ 
    8289    String getTitle() { 
Note: See TracChangeset for help on using the changeset viewer.