1 /* 2 * Copyright (C) 2015 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of 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, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package android.databinding.tool.processing; 18 19 public class ErrorMessages { 20 public static final String INCLUDE_INSIDE_MERGE = 21 "Data binding does not support include elements as direct children of a merge element."; 22 public static final String UNDEFINED_VARIABLE = 23 "Identifiers must have user defined types from the XML file. %s is missing it"; 24 public static final String CANNOT_FIND_SETTER_CALL = 25 "Cannot find the setter for attribute '%s' with parameter type %s."; 26 public static final String CANNOT_RESOLVE_TYPE = 27 "Cannot resolve type for %s"; 28 public static final String MULTI_CONFIG_LAYOUT_CLASS_NAME_MISMATCH = 29 "Classname (%s) does not match the class name defined for layout(%s) in other" 30 + " configurations"; 31 public static final String MULTI_CONFIG_VARIABLE_TYPE_MISMATCH = 32 "Variable declaration (%s - %s) does not match the type defined for layout(%s) in other" 33 + " configurations"; 34 public static final String MULTI_CONFIG_IMPORT_TYPE_MISMATCH = 35 "Import declaration (%s - %s) does not match the import defined for layout(%s) in other" 36 + " configurations"; 37 public static final String MULTI_CONFIG_ID_USED_AS_IMPORT = 38 "Cannot use the same id (%s) for a View and an include tag."; 39 } 40