Show
Ignore:
Timestamp:
2008-06-23 00:00:48 (7 months ago)
Author:
mosipov
Message:

NEW - #1968: Javadoc issues

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/FCKeditor.java

    r1682 r2101  
    3030 
    3131/** 
    32  * FCKeditor control class.<br> 
    33  *  
     32 * FCKeditor class.<br /> 
    3433 * It creates the html code for the FCKeditor based on the following things: 
    3534 * <ul> 
    36  * <li>browser's capabilities</li> 
     35 * <li>browser capabilities</li> 
    3736 * <li>different properties settings managed by the {@link PropertiesLoader}</li> 
    38  * <li>settings from the 'caller', eg. jsp-pages</li> 
     37 * <li>settings from the FCKeditor tag, template engines and other systems</li> 
    3938 * </ul> 
    4039 *  
     
    5756        /** 
    5857         * Main constructor.<br> 
    59          * All important settings are done here and will be preset by there defaults taken from 
    60          * {@link PropertiesLoader}. 
     58         * All important settings are done here and will be preset by the defaults 
     59         * taken from {@link PropertiesLoader}. 
    6160         *  
    6261         * @param request 
     
    116115 
    117116        /** 
    118          * Set the initial value to be edited.<br> 
    119          * In HTML code 
     117         * Set the initial value to be edited as HTML markup. 
    120118         *  
    121119         * @param value 
     
    127125 
    128126        /** 
    129          * Set the dir where the FCKeditor files reside on the server.<br> 
    130          * <b>Remarks</b>:<br> 
    131          * Avoid using relative paths. It is preferable to set the base path starting from the root (/).<br> 
    132          * Always finish the path with a slash (/). 
     127         * Sets the directory where the FCKeditor resides on the server.<br /> 
     128         * <strong>Remarks</strong>: Avoid using relative paths. Use an absolute 
     129         * path from the context (e.g. /fckeditor). 
    133130         *  
    134131         * @param value 
     
    170167 
    171168        /** 
    172          * Get the advanced configuation set.<br> 
    173          * Adding element to this collection you can override the settings specified in the config.js 
    174          * file. 
     169         * Get the advanced configuation set.<br /> 
     170         * By adding elements to this collection you can override the settings 
     171         * specified in the config.js file. 
    175172         *  
    176173         * @return configuration collection 
     
    190187        } 
    191188 
     189        /** 
     190         * Escape base XML entities as specified <a 
     191         * href="http://en.wikipedia.org/wiki/Xml#Entity_references">here</a> 
     192         *  
     193         * @param txt 
     194         *            Text to escape. 
     195         * @return Escaped text. 
     196         */ 
    192197        private String escapeXml(String txt) { 
    193198                if (Utils.isEmpty(txt)) 
    194199                        return txt; 
     200                // TODO Strings are inefficent, use StringBuffer instead 
    195201                txt = txt.replaceAll("&", "&#38;"); 
    196202                txt = txt.replaceAll("<", "&#60;"); 
     
    201207        } 
    202208 
    203         /** 
    204          * Minimum implementation, see ticket #27 for detailed information. 
     209        /* 
     210         * (non-Javadoc) 
     211         * @see #createHtml() 
    205212         */ 
    206213        public String create() { 
    207214                return createHtml(); 
    208215        } 
    209  
     216         
     217        /* 
     218         * (non-Javadoc) 
     219         * @see #createHtml() 
     220         */ 
    210221        @Override 
    211222        public String toString() { 
     
    214225 
    215226        /** 
    216          * Generate the HTML Code for the editor. <br> 
    217          * Evalute the browser capabilities and generate the editor if compatible, or a simple textarea 
    218          * otherwise. 
    219          *  
    220          * @return html code 
     227         * Minimum implementation, see ticket #27 for detailed information. Generate 
     228         * the HTML Code for the editor.<br /> 
     229         * Evaluate the browser capabilities and generate the editor if compatible, 
     230         * or a simple textarea otherwise. 
     231         *  
     232         * @return FCKeditor html code 
    221233         */ 
    222234        public String createHtml() {