View Javadoc

1   package net.sf.tomp.xtcl.command;
2   
3   import net.sf.tomp.xtcl.Context;
4   
5   import java.io.PrintStream;
6   
7   /***
8    * Prints help (just basic info :-)) on XTCL.
9    * 
10   * @author tomp
11   */
12  public class Help extends AbstractCommand {
13      /***
14       * Prints help (just basic info :-)) on XTCL.
15       * 
16       * @param context DOCUMENT ME!
17       * @return DOCUMENT ME!
18       */
19      public int execute(Context context) {
20          PrintStream out = context.getOut();
21  
22          out.print("HELP: Main - XML Transformation Simple Command Line Interpreter");
23  
24          return 0;
25      }
26  
27      /***
28       * String representation
29       * 
30       * @return "HELP"
31       */
32      public String toString() {
33          return "HELP";
34      }
35  }
36  
37  /*
38   * The contents of this file are subject to the Mozilla Public License Version
39   * 1.1 (the "License"); you may not use this file except in compliance with the
40   * License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
41   * Software distributed under the License is distributed on an "AS IS" basis,
42   * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
43   * the specific language governing rights and limitations under the License. The
44   * Original Code is: all this file. The Initial Developer of the Original Code
45   * is: Tomas Pitner, Masaryk University in Brno, Czech Republic. Contributor(s):
46   */