View Javadoc
1   /*
2    *    Copyright 2006-2023 the original author or authors.
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    *       https://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  package org.mybatis.generator.codegen;
17  
18  /**
19   * Constants for MyBatis XML IDs.
20   *
21   * @author Jeff Butler
22   */
23  public class XmlConstants {
24  
25      /**
26       * Utility Class, no instances.
27       */
28      private XmlConstants() {
29          super();
30      }
31  
32      public static final String MYBATIS3_MAPPER_SYSTEM_ID =
33              "http://mybatis.org/dtd/mybatis-3-mapper.dtd"; //$NON-NLS-1$
34  
35      public static final String MYBATIS3_MAPPER_PUBLIC_ID =
36              "-//mybatis.org//DTD Mapper 3.0//EN"; //$NON-NLS-1$
37  
38      public static final String MYBATIS3_MAPPER_CONFIG_SYSTEM_ID =
39              "http://mybatis.org/dtd/mybatis-3-config.dtd"; //$NON-NLS-1$
40  
41      public static final String MYBATIS3_MAPPER_CONFIG_PUBLIC_ID =
42              "-//mybatis.org//DTD Config 3.0//EN"; //$NON-NLS-1$
43  
44      public static final String MYBATIS_GENERATOR_CONFIG_SYSTEM_ID =
45              "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd"; //$NON-NLS-1$
46  
47      public static final String MYBATIS_GENERATOR_CONFIG_PUBLIC_ID =
48              "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN"; //$NON-NLS-1$
49  }