001package com.hfg.xml.xsd;
002
003import com.hfg.xml.XMLName;
004import com.hfg.xml.XMLNamespace;
005
006//------------------------------------------------------------------------------
007/**
008 Tag and attribute names for an XML Schema Definition (XSD) specification.
009 <div>
010 @author J. Alex Taylor, hairyfatguy.com
011 </div>
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 XsdXML
035{
036//   public static final XMLNamespace XSD_NAMESPACE = XMLNamespace.getNamespace("xsd", "http://www.w3.org/XML/1998/namespace");
037   public static final XMLNamespace XSD_NAMESPACE = XMLNamespace.getNamespace("xsd", "http://www.w3.org/2001/XMLSchema");
038
039   // Tag names
040   public static final XMLName CHOICE                  = new XMLName("choice",                XSD_NAMESPACE);
041   public static final XMLName COMPLEX_CONTENT         = new XMLName("complexContent",        XSD_NAMESPACE);
042   public static final XMLName COMPLEX_TYPE            = new XMLName("complexType",           XSD_NAMESPACE);
043   public static final XMLName EXTENSION               = new XMLName("extension",             XSD_NAMESPACE);
044   public static final XMLName GROUP                   = new XMLName("group",                 XSD_NAMESPACE);
045   public static final XMLName SCHEMA                  = new XMLName("schema",                XSD_NAMESPACE);
046   public static final XMLName SIMPLE_TYPE             = new XMLName("simpleType",            XSD_NAMESPACE);
047
048   public static final XMLName ANNOTATION              = new XMLName("annotation");
049   public static final XMLName ATTRIBUTE               = new XMLName("attribute");
050   public static final XMLName DOCUMENTATION           = new XMLName("documentation");
051   public static final XMLName ELEMENT                 = new XMLName("element");
052   public static final XMLName SEQUENCE                = new XMLName("sequence");
053
054   public static final XMLName BASE_ATT                = new XMLName("base");
055   public static final XMLName MAX_OCCURS_ATT          = new XMLName("maxOccurs");
056   public static final XMLName MIN_OCCURS_ATT          = new XMLName("minOccurs");
057   public static final XMLName NAME_ATT                = new XMLName("name");
058   public static final XMLName REF_ATT                 = new XMLName("ref");
059   public static final XMLName TYPE_ATT                = new XMLName("type");
060   public static final XMLName XMLNS_ATT               = new XMLName("xmlns");
061
062}