001package com.hfg.xml;
002
003//------------------------------------------------------------------------------
004/**
005 XMLSchema constants.
006 See <a href='http://www.w3.org/TR/xmlschema-1/'>http://www.w3.org/TR/xmlschema-1/</a>.
007
008 @author J. Alex Taylor, hairyfatguy.com
009 */
010//------------------------------------------------------------------------------
011// com.hfg XML/HTML Coding Library
012//
013// This library is free software; you can redistribute it and/or
014// modify it under the terms of the GNU Lesser General Public
015// License as published by the Free Software Foundation; either
016// version 2.1 of the License, or (at your option) any later version.
017//
018// This library is distributed in the hope that it will be useful,
019// but WITHOUT ANY WARRANTY; without even the implied warranty of
020// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
021// Lesser General Public License for more details.
022//
023// You should have received a copy of the GNU Lesser General Public
024// License along with this library; if not, write to the Free Software
025// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
026//
027// J. Alex Taylor, President, Founder, CEO, COO, CFO, OOPS hairyfatguy.com
028// jataylor@hairyfatguy.com
029//------------------------------------------------------------------------------
030
031public class XMLSchema
032{
033   public static final XMLNamespace XML_SCHEMA_INSTANCE_NAMESPACE = XMLNamespace.getNamespace("xsi", "http://www.w3.org/2001/XMLSchema-instance");
034
035   /** When true, specifies that an element has missing content. */
036   public static final XMLName NIL_ATT                          = new XMLName("nil",                       XML_SCHEMA_INSTANCE_NAMESPACE);
037   /** Associates a schema document that has no target namespace with an instance document. */
038   public static final XMLName NO_NAMESPACE_SCHEMA_LOCATION_ATT = new XMLName("noNamespaceSchemaLocation", XML_SCHEMA_INSTANCE_NAMESPACE);
039   /** Associates a schema document that has a target namespace with an instance document. */
040   public static final XMLName SCHEMA_LOCATION_ATT              = new XMLName("schemaLocation",            XML_SCHEMA_INSTANCE_NAMESPACE);
041   /** Specifies the type of an element. */
042   public static final XMLName TYPE_ATT                         = new XMLName("type",                      XML_SCHEMA_INSTANCE_NAMESPACE);
043
044}