DBVIEW
src/org/dbview/addons/input/utils/mysql/XML.java
00001 /*
00002         DbView - Graph Visualization
00003     Copyright (C) 2012  Denis BEURIVE
00004 
00005     This program is free software: you can redistribute it and/or modify
00006     it under the terms of the GNU General Public License as published by
00007     the Free Software Foundation, either version 3 of the License, or
00008     (at your option) any later version.
00009 
00010     This program is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013     GNU General Public License for more details.
00014 
00015     You should have received a copy of the GNU General Public License
00016     along with this program.  If not, see <http://www.gnu.org/licenses/>.
00017 */
00018 
00019 /**
00020  * @author Denis Beurive
00021  */
00022 
00023 package org.dbview.addons.input.utils.mysql;
00024 
00025 /**
00026  * @class XML
00027  *
00028  * This class defines the names of the elements that form the XML representation of a Mysql configuration.
00029  * @remark The XML document generated by the class "Cli" is given to the class "Configuration".
00030  *         The two classes must share the same naming convention...
00031  * @author Denis BEURIVE
00032  */
00033 public class XML
00034 {
00035     /** Name of the XML tag that contains the name of the host that runs the MySql server. */
00036     public static final String HOST         = "host";
00037 
00038     /** Name of the XML tag that contains the port number used by the MySql server. */
00039     public static final String PORT         = "port";
00040 
00041     /** Name of the XML tag that contains the login used to connect to the MySql server. */
00042     public static final String LOGIN        = "login";
00043 
00044     /** Name of the XML tag that contains the password associated to the login used to connect to the MySql server. */
00045     public static final String PASSWORD     = "password";
00046 
00047     /** Name of the XML tag that contains the name of the database. */
00048     public static final String DBNAME       = "dbname";
00049 
00050     /** Name of the XML tag that contains the name of the soft foreign key detector. */
00051     public static final String FKMATCHER    = "fkmatcher";
00052 }