View Javadoc

1   /*
2    * $Id: CommandLineApplicationDescriptionsConstants.java,v 1.4 2004/11/27 13:20:03 pah Exp $
3    * 
4    * Created on 04-Dec-2003 by Paul Harrison (pah@jb.man.ac.uk)
5    *
6    * Copyright 2003 AstroGrid. All rights reserved.
7    *
8    * This software is published under the terms of the AstroGrid 
9    * Software License version 1.2, a copy of which has been included 
10   * with this distribution in the LICENSE.txt file.  
11   *
12   */ 
13  
14  package org.astrogrid.applications.commandline.digester;
15  
16  /***
17   * @author Paul Harrison (pah@jb.man.ac.uk)
18   * @version $Name:  $
19   * @since iteration4
20   */
21  final class CommandLineApplicationDescriptionsConstants {
22     public static final String NAME_ATTR = "name";
23     public static final String APPLICATIONCONTROLLER_ELEMENT =
24        "CommandLineExecutionControllerConfig";
25     public static final String APPLICATION_ELEMENT =
26        APPLICATIONCONTROLLER_ELEMENT+ "/Application";
27     public static final String EXPATH_ELEMENT = APPLICATION_ELEMENT + "/ExecutionPath";
28     public static final String LONGNAME_ELEMENT = APPLICATION_ELEMENT + "/LongName";
29     public static final String DESCRIPTION_ELEMENT = APPLICATION_ELEMENT + "/Description";
30     public static final String URL_ELEMENT = APPLICATION_ELEMENT + "/ReferenceURL";
31     public static final String PARAMETER_ELEMENT =
32        APPLICATION_ELEMENT+"/Parameters/CmdLineParameterDefn";
33     public static final String UI_NAME_ELEMENT = PARAMETER_ELEMENT + "/*:UI_Name";
34     public static final String UI_DESC_ELEMENT = PARAMETER_ELEMENT + "/*:UI_Description";
35     public static final String UI_DESC_CHILDREN = PARAMETER_ELEMENT + "/*:UI_Description/*";
36     public static final String UCD_ELEMENT = PARAMETER_ELEMENT + "/*:UCD";
37     public static final String DEFVAL_ELEMENT = PARAMETER_ELEMENT + "/*:DefaultValue";
38     public static final String UNITSL_ELEMENT = PARAMETER_ELEMENT + "/*:Units";
39     public static final String INTERFACE_ELEMENT= APPLICATION_ELEMENT + "/Interfaces/Interface";
40     public static final String INPUT_PREFS = INTERFACE_ELEMENT + "/input/pref";
41     public static final String OUTPUT_PREFS = INTERFACE_ELEMENT + "/output/pref";
42  
43  }