com.hfg.xml.xsd.XsdXML Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com_hfg Show documentation
Show all versions of com_hfg Show documentation
com.hfg xml, html, svg, and bioinformatics utility library
package com.hfg.xml.xsd;
import com.hfg.xml.XMLName;
import com.hfg.xml.XMLNamespace;
//------------------------------------------------------------------------------
/**
Tag and attribute names for an XML Schema Definition (XSD) specification.
@author J. Alex Taylor, hairyfatguy.com
*/
//------------------------------------------------------------------------------
// com.hfg XML/HTML Coding Library
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// J. Alex Taylor, President, Founder, CEO, COO, CFO, OOPS hairyfatguy.com
// [email protected]
//------------------------------------------------------------------------------
public class XsdXML
{
// public static final XMLNamespace XSD_NAMESPACE = XMLNamespace.getNamespace("xsd", "http://www.w3.org/XML/1998/namespace");
public static final XMLNamespace XSD_NAMESPACE = XMLNamespace.getNamespace("xsd", "http://www.w3.org/2001/XMLSchema");
// Tag names
public static final XMLName CHOICE = new XMLName("choice", XSD_NAMESPACE);
public static final XMLName COMPLEX_CONTENT = new XMLName("complexContent", XSD_NAMESPACE);
public static final XMLName COMPLEX_TYPE = new XMLName("complexType", XSD_NAMESPACE);
public static final XMLName EXTENSION = new XMLName("extension", XSD_NAMESPACE);
public static final XMLName GROUP = new XMLName("group", XSD_NAMESPACE);
public static final XMLName SCHEMA = new XMLName("schema", XSD_NAMESPACE);
public static final XMLName SIMPLE_TYPE = new XMLName("simpleType", XSD_NAMESPACE);
public static final XMLName ANNOTATION = new XMLName("annotation");
public static final XMLName ATTRIBUTE = new XMLName("attribute");
public static final XMLName DOCUMENTATION = new XMLName("documentation");
public static final XMLName ELEMENT = new XMLName("element");
public static final XMLName SEQUENCE = new XMLName("sequence");
public static final XMLName BASE_ATT = new XMLName("base");
public static final XMLName MAX_OCCURS_ATT = new XMLName("maxOccurs");
public static final XMLName MIN_OCCURS_ATT = new XMLName("minOccurs");
public static final XMLName NAME_ATT = new XMLName("name");
public static final XMLName REF_ATT = new XMLName("ref");
public static final XMLName TYPE_ATT = new XMLName("type");
public static final XMLName XMLNS_ATT = new XMLName("xmlns");
}