001package com.hfg.sql.table; 002 003import com.hfg.xml.HfgXML; 004import com.hfg.xml.XMLName; 005 006 007//------------------------------------------------------------------------------ 008/** 009 Standard XML tag and attribute name definitions used by hfg database classes. 010 011 @author J. Alex Taylor, hairyfatguy.com 012 */ 013//------------------------------------------------------------------------------ 014// com.hfg XML/HTML Coding Library 015// 016// This library is free software; you can redistribute it and/or 017// modify it under the terms of the GNU Lesser General Public 018// License as published by the Free Software Foundation; either 019// version 2.1 of the License, or (at your option) any later version. 020// 021// This library is distributed in the hope that it will be useful, 022// but WITHOUT ANY WARRANTY; without even the implied warranty of 023// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 024// Lesser General Public License for more details. 025// 026// You should have received a copy of the GNU Lesser General Public 027// License along with this library; if not, write to the Free Software 028// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 029// 030// J. Alex Taylor, President, Founder, CEO, COO, CFO, OOPS hairyfatguy.com 031// jataylor@hairyfatguy.com 032//------------------------------------------------------------------------------ 033 034public class DatabaseXML 035{ 036 // Tag names 037 public static final XMLName FIELD = new XMLName("Field", HfgXML.HFG_NAMESPACE); 038 public static final XMLName ROW = new XMLName("Row", HfgXML.HFG_NAMESPACE); 039 040 // Attribute names 041 public static final XMLName CLASS_ATT = new XMLName("class", HfgXML.HFG_NAMESPACE); 042 public static final XMLName IS_NULL_ATT = new XMLName("isNull", HfgXML.HFG_NAMESPACE); 043 public static final XMLName NAME_ATT = new XMLName("name", HfgXML.HFG_NAMESPACE); 044 045}