1 /**
2  *  ServingXML
3  *
4  *  Copyright (C) 2006  Daniel Parker
5  *    daniel.parker@servingxml.com
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  **/
20 
21 package com.servingxml.util;
22 
23 import java.util.ListResourceBundle;
24 
25 public class ServingXmlResources extends ListResourceBundle implements ServingXmlMessages {
26 
getContents()27   public Object[][] getContents() {
28     return contents;
29   }
30   static final Object[][] contents = {
31     {COMPONENT_ERROR, "Error in element {0}.  {1}."},
32     {COMPONENT_TRANSFORM_FAILED, "Error in element {0}.  Transform failed."},
33     {COMPONENT_JDBC_CONNECTION_POOL, "Error in element {0}.  Creation of JDBC Connection Pool failed."},
34     {COMPONENT_ATTRIBUTE_REQUIRED, "Error in element {0}.  The attribute \"{1}\" is required."},
35     {COMPONENT_ATTRIBUTE_CHOICE_REQUIRED, "Error in element {0}.  One of the following attributes is required:  {1}."},
36     {COMPONENT_ELEMENT_CHOICE_REQUIRED, "Error in element {0}. One of the following child elements is required: {1}."},
37     {COMPONENT_ELEMENT_REQUIRED, "Error in element {0}. A {1} child element is required."},
38     {COMPONENT_ELEMENT_SPECIALIZATION_REQUIRED, "Error in element {0}. A child element that specializes abstract element {1} is required, e.g. {2}."},
39     {COMPONENT_LITERAL_CONTENT_REQUIRED, "Element {0} is empty, must contain literal content."},
40     {COMPONENT_ATTRIBUTE_VALUE_INVALID, "Error in element {0}, attribute {1} has invalid value."},
41     {COMPONENT_RECORD_MAPPING_GROUP_CHOICE_REQUIRED, "Error in element {0}.  Multiple record mapping group siblings must be enclosed in an sx:groupChoice element."},
42     {COMPONENT_EXPR_PARSE_FAILED, "Error in element {0}. The expression \"{1}\" is not recognized."},
43     {COMPONENT_SUB_EXPR_PARSE_FAILED, "Error in element {0}. Substitution expression parse failed."},
44     {COMPONENT_DUPLICATE_NAME, "Error in element {0}.  Failed attempting to add duplicate component name \"{1}\" of type {2}."},
45     {RECORD_FIELD_NOT_FOUND, "Field \"{0}\" not found in record of type \"{1}\"."},
46     {PARAMETER_NOT_FOUND, "Parameter \"{0}\" not found."},
47     {CRC_INTEGRITY_CHECK_FAILED, "CRC integrity check failed.  Expected {0}, found {1}."},
48     {SIZE_INTEGRITY_CHECK_FAILED, "Size integrity check failed.  Expected {0}, found {1}."},
49     {RECORD_COUNT_INTEGRITY_CHECK_FAILED, "Record count integrity check failed.  Expected {0}, found {1}."},
50     {CLASS_NOT_FOUND, "Class {0} not found."},
51     {VALUE_UNKNOWN, "Value \"{0}\" is invalid, must be one of {1}."},
52     {RECORD_ERROR, "Error in \"{0}\" record on line {1}. {2}"}
53   };
54 }
55 
56