View Javadoc

1   // Licensed to the Apache Software Foundation (ASF) under one or more contributor
2   // license agreements.  See the NOTICE.txt file distributed with this work for
3   // additional information regarding copyright ownership.  The ASF licenses this
4   // file to you under the Apache License, Version 2.0 (the "License"); you may not
5   // use this file except in compliance with the License.  You may obtain a copy of
6   // the License at
7   //
8   //     http://www.apache.org/licenses/LICENSE-2.0
9   //
10  // Unless required by applicable law or agreed to in writing, software
11  // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12  // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
13  // License for the specific language governing permissions and limitations under
14  // the License.
15  
16  package org.apache.oodt.pcs.input;
17  
18  /**
19   * 
20   * <p>
21   * A collection of metadata keys relating to the {@link PGEDataHandler}
22   * </p>
23   * 
24   * @author mattmann
25   * @version $Revision$
26   * 
27   */
28  public interface PGEDataParseKeys {
29  
30    public static final int PARSING_VEC = -10;
31  
32    public static final int PARSING_SCALAR = -20;
33  
34    public static final int PARSING_MATRIX = -30;
35  
36    public static final int UNSET = -1;
37  
38    public static final String GROUP_TAG_NAME = "group";
39  
40    public static final String SCALAR_TAG_NAME = "scalar";
41  
42    public static final String VECTOR_TAG_NAME = "vector";
43  
44    public static final String MATRIX_TAG_NAME = "matrix";
45  
46    public static final String PGE_INPUT_TAG_NAME = "input";
47  
48    public static final String VECTOR_ELEMENT_TAG = "element";
49  
50    public static final String MATRIX_ROW_TAG = "tr";
51  
52    public static final String MATRIX_COL_TAG = "td";
53  
54    public static final String NAME_ATTR = "name";
55  
56    public static final String ROWS_ATTR = "rows";
57  
58    public static final String COLS_ATTR = "cols";
59  }