Changeset 3835


Ignore:
Timestamp:
03/17/08 17:59:50 (12 years ago)
Author:
curtis
Message:

Fix up ReflectedUniverse javadoc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/ReflectedUniverse.java

    r3104 r3835  
    9696  /** 
    9797   * Executes a command in the universe. The following syntaxes are valid: 
    98    * <li>import fully.qualified.package.ClassName 
    99    * <li>var = new ClassName(param1, ..., paramN) 
    100    * <li>var.method(param1, ..., paramN) 
    101    * <li>var2 = var.method(param1, ..., paramN) 
    102    * <li>ClassName.method(param1, ..., paramN) 
    103    * <li>var2 = ClassName.method(param1, ..., paramN) 
    104    * <li>var2 = var 
    105    * <p> 
     98   * <ul> 
     99   *   <li>import fully.qualified.package.ClassName</li> 
     100   *   <li>var = new ClassName(param1, ..., paramN)</li> 
     101   *   <li>var.method(param1, ..., paramN)</li> 
     102   *   <li>var2 = var.method(param1, ..., paramN)</li> 
     103   *   <li>ClassName.method(param1, ..., paramN)</li> 
     104   *   <li>var2 = ClassName.method(param1, ..., paramN)</li> 
     105   *   <li>var2 = var</li> 
     106   * </ul> 
    106107   * Important guidelines: 
    107    * <li>Any referenced class must be imported first using "import". 
    108    * <li>Variables can be exported from the universe with getVar(). 
    109    * <li>Variables can be imported to the universe with setVar(). 
    110    * <li>Each parameter must be either: 
    111    *     1) a variable in the universe; 
    112    *     2) a static or instance field (i.e., no nested methods); 
    113    *     3) a string literal (remember to escape the double quotes); 
    114    *     4) an integer literal; 
    115    *     6) a long literal (ending in L); 
    116    *     7) a double literal (containing a decimal point); 
    117    *     8) a boolean literal (true or false); 
    118    *     or 9) the null keyword. 
     108   * <ul> 
     109   *   <li>Any referenced class must be imported first using "import".</li> 
     110   *   <li>Variables can be exported from the universe with getVar().</li> 
     111   *   <li>Variables can be imported to the universe with setVar().</li> 
     112   *   <li>Each parameter must be either: 
     113   *     <ol> 
     114   *       <li>a variable in the universe</li> 
     115   *       <li>a static or instance field (i.e., no nested methods)</li> 
     116   *       <li>a string literal (remember to escape the double quotes)</li> 
     117   *       <li>an integer literal</li> 
     118   *       <li>a long literal (ending in L)</li> 
     119   *       <li>a double literal (containing a decimal point)</li> 
     120   *       <li>a boolean literal (true or false)</li> 
     121   *       <li>the null keyword</li> 
     122   *     </ol> 
     123   *   </li> 
     124   * </ul> 
    119125   */ 
    120126  public Object exec(String command) throws ReflectException { 
Note: See TracChangeset for help on using the changeset viewer.