/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2002-2008, Open Source Geospatial Foundation (OSGeo)
*
* 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;
* version 2.1 of the License.
*
* 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.
*/
package org.geotools.xs;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.net.URI;
import java.sql.Time;
import java.sql.Timestamp;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.Set;
import javax.xml.namespace.QName;
import org.geotools.feature.NameImpl;
import org.geotools.feature.type.AttributeTypeImpl;
import org.geotools.feature.type.ProfileImpl;
import org.geotools.feature.type.SchemaImpl;
import org.opengis.feature.type.AttributeType;
import org.opengis.feature.type.Name;
/**
* Schema for XML simple types.
*
* @author Justin Deoliveira, The Open Planning Project
*
*
*
* @source $URL$
*/
public class XSSchema extends SchemaImpl {
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="anyType" name="anyType">
* <xs:restriction base="xs:anyType"/>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType ANYTYPE_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "anyType"), java.lang.Object.class, false,
false, Collections.EMPTY_LIST, null, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="anySimpleType" name="anySimpleType">
* <xs:restriction base="xs:anyType"/>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType ANYSIMPLETYPE_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "anySimpleType"), java.lang.Object.class,
false, false, Collections.EMPTY_LIST, ANYTYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="NOTATION" name="NOTATION">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="length"/>
* <hfp:hasFacet name="minLength"/>
* <hfp:hasFacet name="maxLength"/>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasProperty name="ordered" value="false"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NOTATION"/>
* <xs:documentation>
* NOTATION cannot be used directly in a schema; rather a type
* must be derived from it by specifying at least one enumeration
* facet whose value is the name of a NOTATION declared in the
* schema.
* </xs:documentation>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="NOTATION.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType NOTATION_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "NOTATION"), java.lang.Object.class, false,
false, Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="decimal" name="decimal">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="totalDigits"/>
* <hfp:hasFacet name="fractionDigits"/>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="maxInclusive"/>
* <hfp:hasFacet name="maxExclusive"/>
* <hfp:hasFacet name="minInclusive"/>
* <hfp:hasFacet name="minExclusive"/>
* <hfp:hasProperty name="ordered" value="total"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="true"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#decimal"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="decimal.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType DECIMAL_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "decimal"), BigDecimal.class, false, false,
Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="integer" name="integer">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#integer"/>
* </xs:annotation>
* <xs:restriction base="xs:decimal">
* <xs:fractionDigits fixed="true" id="integer.fractionDigits" value="0"/>
* <xs:pattern value="[\-+]?[0-9]+"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType INTEGER_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "integer"), BigInteger.class, false, false,
Collections.EMPTY_LIST, DECIMAL_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="nonNegativeInteger" name="nonNegativeInteger">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger"/>
* </xs:annotation>
* <xs:restriction base="xs:integer">
* <xs:minInclusive id="nonNegativeInteger.minInclusive" value="0"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType NONNEGATIVEINTEGER_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"), BigInteger.class, false,
false, Collections.EMPTY_LIST, INTEGER_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="unsignedLong" name="unsignedLong">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasProperty name="bounded" value="true"/>
* <hfp:hasProperty name="cardinality" value="finite"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedLong"/>
* </xs:annotation>
* <xs:restriction base="xs:nonNegativeInteger">
* <xs:maxInclusive id="unsignedLong.maxInclusive" value="18446744073709551615"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType UNSIGNEDLONG_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "unsignedLong"), BigInteger.class, false,
false, Collections.EMPTY_LIST, NONNEGATIVEINTEGER_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="unsignedInt" name="unsignedInt">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedInt"/>
* </xs:annotation>
* <xs:restriction base="xs:unsignedLong">
* <xs:maxInclusive id="unsignedInt.maxInclusive" value="4294967295"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType UNSIGNEDINT_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "unsignedInt"), Long.class, false, false,
Collections.EMPTY_LIST, UNSIGNEDLONG_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="unsignedShort" name="unsignedShort">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedShort"/>
* </xs:annotation>
* <xs:restriction base="xs:unsignedInt">
* <xs:maxInclusive id="unsignedShort.maxInclusive" value="65535"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType UNSIGNEDSHORT_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "unsignedShort"), Integer.class, false, false,
Collections.EMPTY_LIST, UNSIGNEDINT_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="unsignedByte" name="unsignedByte">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedByte"/>
* </xs:annotation>
* <xs:restriction base="xs:unsignedShort">
* <xs:maxInclusive id="unsignedByte.maxInclusive" value="255"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType UNSIGNEDBYTE_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "unsignedByte"), Short.class, false, false,
Collections.EMPTY_LIST, UNSIGNEDSHORT_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="QName" name="QName">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="length"/>
* <hfp:hasFacet name="minLength"/>
* <hfp:hasFacet name="maxLength"/>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasProperty name="ordered" value="false"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#QName"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="QName.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType QNAME_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "QName"), QName.class, false, false,
Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="string" name="string">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="length"/>
* <hfp:hasFacet name="minLength"/>
* <hfp:hasFacet name="maxLength"/>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasProperty name="ordered" value="false"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#string"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace id="string.preserve" value="preserve"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType STRING_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "string"), String.class, false, false,
Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="normalizedString" name="normalizedString">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#normalizedString"/>
* </xs:annotation>
* <xs:restriction base="xs:string">
* <xs:whiteSpace id="normalizedString.whiteSpace" value="replace"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType NORMALIZEDSTRING_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "normalizedString"), java.lang.Object.class,
false, false, Collections.EMPTY_LIST, STRING_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="token" name="token">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#token"/>
* </xs:annotation>
* <xs:restriction base="xs:normalizedString">
* <xs:whiteSpace id="token.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType TOKEN_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "token"), java.lang.Object.class, false, false,
Collections.EMPTY_LIST, NORMALIZEDSTRING_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="Name" name="Name">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#Name"/>
* </xs:annotation>
* <xs:restriction base="xs:token">
* <xs:pattern id="Name.pattern" value="\i\c*">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/REC-xml#NT-Name">
* pattern matches production 5 from the XML spec
* </xs:documentation>
* </xs:annotation>
* </xs:pattern>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType NAME_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "Name"), java.lang.Object.class, false, false,
Collections.EMPTY_LIST, TOKEN_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="NCName" name="NCName">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NCName"/>
* </xs:annotation>
* <xs:restriction base="xs:Name">
* <xs:pattern id="NCName.pattern" value="[\i-[:]][\c-[:]]*">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/REC-xml-names/#NT-NCName">
* pattern matches production 4 from the Namespaces in XML spec
* </xs:documentation>
* </xs:annotation>
* </xs:pattern>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType NCNAME_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "NCName"), java.lang.Object.class, false,
false, Collections.EMPTY_LIST, NAME_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="ENTITY" name="ENTITY">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#ENTITY"/>
* </xs:annotation>
* <xs:restriction base="xs:NCName"/>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType ENTITY_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "ENTITY"), java.lang.Object.class, false,
false, Collections.EMPTY_LIST, NCNAME_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType name="simpleDerivationSet">
* <xs:annotation>
* <xs:documentation>
* #all or (possibly empty) subset of {restriction, union, list}
* </xs:documentation>
* <xs:documentation>
* A utility type, not for public use</xs:documentation>
* </xs:annotation>
* <xs:union>
* <xs:simpleType>
* <xs:restriction base="xs:token">
* <xs:enumeration value="#all"/>
* </xs:restriction>
* </xs:simpleType>
* <xs:simpleType>
* <xs:restriction base="xs:derivationControl">
* <xs:enumeration value="list"/>
* <xs:enumeration value="union"/>
* <xs:enumeration value="restriction"/>
* </xs:restriction>
* </xs:simpleType>
* </xs:union>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType SIMPLEDERIVATIONSET_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "simpleDerivationSet"), java.lang.Object.class,
false, false, Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType name="public">
* <xs:annotation>
* <xs:documentation>
* A utility type, not for public use</xs:documentation>
* <xs:documentation>
* A public identifier, per ISO 8879</xs:documentation>
* </xs:annotation>
* <xs:restriction base="xs:token"/>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType PUBLIC_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "public"), java.lang.Object.class, false,
false, Collections.EMPTY_LIST, TOKEN_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="language" name="language">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#language"/>
* </xs:annotation>
* <xs:restriction base="xs:token">
* <xs:pattern id="language.pattern" value="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/REC-xml#NT-LanguageID">
* pattern specifies the content of section 2.12 of XML 1.0e2
* and RFC 3066 (Revised version of RFC 1766).
* </xs:documentation>
* </xs:annotation>
* </xs:pattern>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType LANGUAGE_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "language"), java.lang.Object.class, false,
false, Collections.EMPTY_LIST, TOKEN_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="duration" name="duration">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasFacet name="maxInclusive"/>
* <hfp:hasFacet name="maxExclusive"/>
* <hfp:hasFacet name="minInclusive"/>
* <hfp:hasFacet name="minExclusive"/>
* <hfp:hasProperty name="ordered" value="partial"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#duration"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="duration.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType DURATION_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "duration"), java.lang.Object.class, false,
false, Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType name="blockSet">
* <xs:annotation>
* <xs:documentation>
* A utility type, not for public use</xs:documentation>
* <xs:documentation>
* #all or (possibly empty) subset of {substitution, extension,
* restriction}</xs:documentation>
* </xs:annotation>
* <xs:union>
* <xs:simpleType>
* <xs:restriction base="xs:token">
* <xs:enumeration value="#all"/>
* </xs:restriction>
* </xs:simpleType>
* <xs:simpleType>
* <xs:list>
* <xs:simpleType>
* <xs:restriction base="xs:derivationControl">
* <xs:enumeration value="extension"/>
* <xs:enumeration value="restriction"/>
* <xs:enumeration value="substitution"/>
* </xs:restriction>
* </xs:simpleType>
* </xs:list>
* </xs:simpleType>
* </xs:union>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType BLOCKSET_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "blockSet"), java.lang.Object.class, false,
false, Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="float" name="float">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasFacet name="maxInclusive"/>
* <hfp:hasFacet name="maxExclusive"/>
* <hfp:hasFacet name="minInclusive"/>
* <hfp:hasFacet name="minExclusive"/>
* <hfp:hasProperty name="ordered" value="total"/>
* <hfp:hasProperty name="bounded" value="true"/>
* <hfp:hasProperty name="cardinality" value="finite"/>
* <hfp:hasProperty name="numeric" value="true"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#float"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="float.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType FLOAT_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "float"), Float.class, false, false,
Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="dateTime" name="dateTime">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasFacet name="maxInclusive"/>
* <hfp:hasFacet name="maxExclusive"/>
* <hfp:hasFacet name="minInclusive"/>
* <hfp:hasFacet name="minExclusive"/>
* <hfp:hasProperty name="ordered" value="partial"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#dateTime"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="dateTime.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType DATETIME_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "dateTime"), Timestamp.class, false, false,
Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="gYearMonth" name="gYearMonth">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasFacet name="maxInclusive"/>
* <hfp:hasFacet name="maxExclusive"/>
* <hfp:hasFacet name="minInclusive"/>
* <hfp:hasFacet name="minExclusive"/>
* <hfp:hasProperty name="ordered" value="partial"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gYearMonth"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="gYearMonth.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType GYEARMONTH_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "gYearMonth"), java.lang.Object.class, false,
false, Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="ID" name="ID">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#ID"/>
* </xs:annotation>
* <xs:restriction base="xs:NCName"/>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType ID_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "ID"), java.lang.Object.class, false, false,
Collections.EMPTY_LIST, NCNAME_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="NMTOKEN" name="NMTOKEN">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NMTOKEN"/>
* </xs:annotation>
* <xs:restriction base="xs:token">
* <xs:pattern id="NMTOKEN.pattern" value="\c+">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/REC-xml#NT-Nmtoken">
* pattern matches production 7 from the XML spec
* </xs:documentation>
* </xs:annotation>
* </xs:pattern>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType NMTOKEN_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "NMTOKEN"), java.lang.Object.class, false,
false, Collections.EMPTY_LIST, TOKEN_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType name="derivationControl">
* <xs:annotation>
* <xs:documentation>
* A utility type, not for public use</xs:documentation>
* </xs:annotation>
* <xs:restriction base="xs:NMTOKEN">
* <xs:enumeration value="substitution"/>
* <xs:enumeration value="extension"/>
* <xs:enumeration value="restriction"/>
* <xs:enumeration value="list"/>
* <xs:enumeration value="union"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType DERIVATIONCONTROL_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "derivationControl"), java.lang.Object.class,
false, false, Collections.EMPTY_LIST, NMTOKEN_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType name="reducedDerivationControl">
* <xs:annotation>
* <xs:documentation>
* A utility type, not for public use</xs:documentation>
* </xs:annotation>
* <xs:restriction base="xs:derivationControl">
* <xs:enumeration value="extension"/>
* <xs:enumeration value="restriction"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType REDUCEDDERIVATIONCONTROL_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "reducedDerivationControl"),
java.lang.Object.class, false, false, Collections.EMPTY_LIST, DERIVATIONCONTROL_TYPE,
null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="nonPositiveInteger" name="nonPositiveInteger">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger"/>
* </xs:annotation>
* <xs:restriction base="xs:integer">
* <xs:maxInclusive id="nonPositiveInteger.maxInclusive" value="0"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType NONPOSITIVEINTEGER_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "nonPositiveInteger"), BigInteger.class, false,
false, Collections.EMPTY_LIST, INTEGER_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="negativeInteger" name="negativeInteger">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#negativeInteger"/>
* </xs:annotation>
* <xs:restriction base="xs:nonPositiveInteger">
* <xs:maxInclusive id="negativeInteger.maxInclusive" value="-1"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType NEGATIVEINTEGER_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "negativeInteger"), BigInteger.class, false,
false, Collections.EMPTY_LIST, NONPOSITIVEINTEGER_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="gMonth" name="gMonth">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasFacet name="maxInclusive"/>
* <hfp:hasFacet name="maxExclusive"/>
* <hfp:hasFacet name="minInclusive"/>
* <hfp:hasFacet name="minExclusive"/>
* <hfp:hasProperty name="ordered" value="partial"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gMonth"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="gMonth.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType GMONTH_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "gMonth"), java.lang.Object.class, false,
false, Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType name="formChoice">
* <xs:annotation>
* <xs:documentation>
* A utility type, not for public use</xs:documentation>
* </xs:annotation>
* <xs:restriction base="xs:NMTOKEN">
* <xs:enumeration value="qualified"/>
* <xs:enumeration value="unqualified"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType FORMCHOICE_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "formChoice"), java.lang.Object.class, false,
false, Collections.EMPTY_LIST, NMTOKEN_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="positiveInteger" name="positiveInteger">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#positiveInteger"/>
* </xs:annotation>
* <xs:restriction base="xs:nonNegativeInteger">
* <xs:minInclusive id="positiveInteger.minInclusive" value="1"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType POSITIVEINTEGER_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "positiveInteger"), BigInteger.class, false,
false, Collections.EMPTY_LIST, NONNEGATIVEINTEGER_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="base64Binary" name="base64Binary">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="length"/>
* <hfp:hasFacet name="minLength"/>
* <hfp:hasFacet name="maxLength"/>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasProperty name="ordered" value="false"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#base64Binary"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="base64Binary.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType BASE64BINARY_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "base64Binary"), java.lang.Object.class, false,
false, Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="double" name="double">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasFacet name="maxInclusive"/>
* <hfp:hasFacet name="maxExclusive"/>
* <hfp:hasFacet name="minInclusive"/>
* <hfp:hasFacet name="minExclusive"/>
* <hfp:hasProperty name="ordered" value="total"/>
* <hfp:hasProperty name="bounded" value="true"/>
* <hfp:hasProperty name="cardinality" value="finite"/>
* <hfp:hasProperty name="numeric" value="true"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#double"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="double.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType DOUBLE_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "double"), Double.class, false, false,
Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType name="namespaceList">
* <xs:annotation>
* <xs:documentation>
* A utility type, not for public use</xs:documentation>
* </xs:annotation>
* <xs:union>
* <xs:simpleType>
* <xs:restriction base="xs:token">
* <xs:enumeration value="##any"/>
* <xs:enumeration value="##other"/>
* </xs:restriction>
* </xs:simpleType>
* <xs:simpleType>
* <xs:list>
* <xs:simpleType>
* <xs:union memberTypes="xs:anyURI">
* <xs:simpleType>
* <xs:restriction base="xs:token">
* <xs:enumeration value="##targetNamespace"/>
* <xs:enumeration value="##local"/>
* </xs:restriction>
* </xs:simpleType>
* </xs:union>
* </xs:simpleType>
* </xs:list>
* </xs:simpleType>
* </xs:union>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType NAMESPACELIST_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "namespaceList"), java.lang.Object.class,
false, false, Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="gYear" name="gYear">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasFacet name="maxInclusive"/>
* <hfp:hasFacet name="maxExclusive"/>
* <hfp:hasFacet name="minInclusive"/>
* <hfp:hasFacet name="minExclusive"/>
* <hfp:hasProperty name="ordered" value="partial"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gYear"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="gYear.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType GYEAR_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "gYear"), java.lang.Object.class, false, false,
Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType name="derivationSet">
* <xs:annotation>
* <xs:documentation>
* A utility type, not for public use</xs:documentation>
* <xs:documentation>
* #all or (possibly empty) subset of {extension, restriction}</xs:documentation>
* </xs:annotation>
* <xs:union>
* <xs:simpleType>
* <xs:restriction base="xs:token">
* <xs:enumeration value="#all"/>
* </xs:restriction>
* </xs:simpleType>
* <xs:simpleType>
* <xs:list itemType="xs:reducedDerivationControl"/>
* </xs:simpleType>
* </xs:union>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType DERIVATIONSET_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "derivationSet"), java.lang.Object.class,
false, false, Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="gMonthDay" name="gMonthDay">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasFacet name="maxInclusive"/>
* <hfp:hasFacet name="maxExclusive"/>
* <hfp:hasFacet name="minInclusive"/>
* <hfp:hasFacet name="minExclusive"/>
* <hfp:hasProperty name="ordered" value="partial"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gMonthDay"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="gMonthDay.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType GMONTHDAY_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "gMonthDay"), java.lang.Object.class, false,
false, Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="long" name="long">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasProperty name="bounded" value="true"/>
* <hfp:hasProperty name="cardinality" value="finite"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#long"/>
* </xs:annotation>
* <xs:restriction base="xs:integer">
* <xs:minInclusive id="long.minInclusive" value="-9223372036854775808"/>
* <xs:maxInclusive id="long.maxInclusive" value="9223372036854775807"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType LONG_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "long"), Long.class, false, false,
Collections.EMPTY_LIST, INTEGER_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="int" name="int">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#int"/>
* </xs:annotation>
* <xs:restriction base="xs:long">
* <xs:minInclusive id="int.minInclusive" value="-2147483648"/>
* <xs:maxInclusive id="int.maxInclusive" value="2147483647"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType INT_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "int"), Integer.class, false, false,
Collections.EMPTY_LIST, LONG_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="short" name="short">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#short"/>
* </xs:annotation>
* <xs:restriction base="xs:int">
* <xs:minInclusive id="short.minInclusive" value="-32768"/>
* <xs:maxInclusive id="short.maxInclusive" value="32767"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType SHORT_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "short"), Short.class, false, false,
Collections.EMPTY_LIST, INT_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="byte" name="byte">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#byte"/>
* </xs:annotation>
* <xs:restriction base="xs:short">
* <xs:minInclusive id="byte.minInclusive" value="-128"/>
* <xs:maxInclusive id="byte.maxInclusive" value="127"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType BYTE_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "byte"), Byte.class, false, false,
Collections.EMPTY_LIST, SHORT_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="boolean" name="boolean">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasProperty name="ordered" value="false"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="finite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#boolean"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="boolean.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType BOOLEAN_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "boolean"), Boolean.class, false, false,
Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="anyURI" name="anyURI">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="length"/>
* <hfp:hasFacet name="minLength"/>
* <hfp:hasFacet name="maxLength"/>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasProperty name="ordered" value="false"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#anyURI"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="anyURI.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType ANYURI_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "anyURI"), URI.class, false, false,
Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="gDay" name="gDay">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasFacet name="maxInclusive"/>
* <hfp:hasFacet name="maxExclusive"/>
* <hfp:hasFacet name="minInclusive"/>
* <hfp:hasFacet name="minExclusive"/>
* <hfp:hasProperty name="ordered" value="partial"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gDay"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="gDay.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType GDAY_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "gDay"), java.lang.Object.class, false, false,
Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="time" name="time">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasFacet name="maxInclusive"/>
* <hfp:hasFacet name="maxExclusive"/>
* <hfp:hasFacet name="minInclusive"/>
* <hfp:hasFacet name="minExclusive"/>
* <hfp:hasProperty name="ordered" value="partial"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#time"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="time.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType TIME_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "time"), Time.class, false, false,
Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="hexBinary" name="hexBinary">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="length"/>
* <hfp:hasFacet name="minLength"/>
* <hfp:hasFacet name="maxLength"/>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasProperty name="ordered" value="false"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#binary"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="hexBinary.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType HEXBINARY_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "hexBinary"), byte[].class, false, false,
Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="date" name="date">
* <xs:annotation>
* <xs:appinfo>
* <hfp:hasFacet name="pattern"/>
* <hfp:hasFacet name="enumeration"/>
* <hfp:hasFacet name="whiteSpace"/>
* <hfp:hasFacet name="maxInclusive"/>
* <hfp:hasFacet name="maxExclusive"/>
* <hfp:hasFacet name="minInclusive"/>
* <hfp:hasFacet name="minExclusive"/>
* <hfp:hasProperty name="ordered" value="partial"/>
* <hfp:hasProperty name="bounded" value="false"/>
* <hfp:hasProperty name="cardinality" value="countably infinite"/>
* <hfp:hasProperty name="numeric" value="false"/>
* </xs:appinfo>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#date"/>
* </xs:annotation>
* <xs:restriction base="xs:anySimpleType">
* <xs:whiteSpace fixed="true" id="date.whiteSpace" value="collapse"/>
* </xs:restriction>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType DATE_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "date"), java.sql.Date.class, false, false,
Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType name="allNNI">
* <xs:annotation>
* <xs:documentation>
* for maxOccurs</xs:documentation>
* </xs:annotation>
* <xs:union memberTypes="xs:nonNegativeInteger">
* <xs:simpleType>
* <xs:restriction base="xs:NMTOKEN">
* <xs:enumeration value="unbounded"/>
* </xs:restriction>
* </xs:simpleType>
* </xs:union>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType ALLNNI_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "allNNI"), java.lang.Object.class, false,
false, Collections.EMPTY_LIST, ANYSIMPLETYPE_TYPE, null);
/**
* <p>
* <pre>
* <code>
* <xs:simpleType id="IDREF" name="IDREF">
* <xs:annotation>
* <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#IDREF"/>
* </xs:annotation>
* <xs:restriction base="xs:NCName"/>
* </xs:simpleType>
*
* </code>
* </pre>
* </p>
*
* @generated
*/
public static final AttributeType IDREF_TYPE = new AttributeTypeImpl(new NameImpl(
"http://www.w3.org/2001/XMLSchema", "IDREF"), java.lang.Object.class, false, false,
Collections.EMPTY_LIST, NCNAME_TYPE, null);
public XSSchema() {
super("http://www.w3.org/2001/XMLSchema");
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "anyType"), ANYTYPE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "anySimpleType"), ANYSIMPLETYPE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "NOTATION"), NOTATION_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "decimal"), DECIMAL_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "integer"), INTEGER_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"),
NONNEGATIVEINTEGER_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "unsignedLong"), UNSIGNEDLONG_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "unsignedInt"), UNSIGNEDINT_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "unsignedShort"), UNSIGNEDSHORT_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "unsignedByte"), UNSIGNEDBYTE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "QName"), QNAME_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "string"), STRING_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "normalizedString"), NORMALIZEDSTRING_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "token"), TOKEN_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "Name"), NAME_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "NCName"), NCNAME_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "ENTITY"), ENTITY_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "simpleDerivationSet"),
SIMPLEDERIVATIONSET_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "public"), PUBLIC_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "language"), LANGUAGE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "duration"), DURATION_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "blockSet"), BLOCKSET_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "float"), FLOAT_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "dateTime"), DATETIME_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "gYearMonth"), GYEARMONTH_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "ID"), ID_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "NMTOKEN"), NMTOKEN_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "derivationControl"),
DERIVATIONCONTROL_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "reducedDerivationControl"),
REDUCEDDERIVATIONCONTROL_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "nonPositiveInteger"),
NONPOSITIVEINTEGER_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "negativeInteger"), NEGATIVEINTEGER_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "gMonth"), GMONTH_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "formChoice"), FORMCHOICE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "positiveInteger"), POSITIVEINTEGER_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "base64Binary"), BASE64BINARY_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "double"), DOUBLE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "namespaceList"), NAMESPACELIST_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "gYear"), GYEAR_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "derivationSet"), DERIVATIONSET_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "gMonthDay"), GMONTHDAY_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "long"), LONG_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "int"), INT_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "short"), SHORT_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "byte"), BYTE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "boolean"), BOOLEAN_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "anyURI"), ANYURI_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "gDay"), GDAY_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "time"), TIME_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "hexBinary"), HEXBINARY_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "date"), DATE_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "allNNI"), ALLNNI_TYPE);
put(new NameImpl("http://www.w3.org/2001/XMLSchema", "IDREF"), IDREF_TYPE);
}
/**
* Profile of XSSchema used to provide a unique mapping for Java classes.
* <p>
* The entries selected are:
* <ul>
* <li>XS.BYTE: Byte</li>
* <li>XS.HEXBINARY)): byte</li>
* <li>XS.SHORT: Short</li>
* <li>XS.INT: Integer</li>
* <li>XS.FLOAT: Float</li>
* <li>XS.LONG: Long</li>
* <li>XS.QNAME: Qname</li>
* <li>XS.DATE: java.sql.Date</li>
* <li>XS.DATETIME: java.sql.Timestamp</li>
* <li>XS.TIME: java.sql.Time</li>
* <li>XS.BOOLEAN: Boolean</li>
* <li>XS.DOUBLE: Double</li>
* <li>XS.STRING: String</li>
* <li>XS.INTEGER: BigInteger</li>
* <li>XS.DECIMAL: BigDecimal</li>
* <li>XS.ANYURI: URI</li>
* </ul>
* This is just the profile used by GeoTools internally; you are free to make and use your own
* profile when encoding/decoding.
* <p>
*
* @return Subset of XSSchema capturing a unique mapping for Java classes
*/
public ProfileImpl profile() {
Set<Name> profile = new LinkedHashSet<Name>();
profile.add(new NameImpl(XS.BYTE)); // Byte.class
profile.add(new NameImpl(XS.HEXBINARY)); // byte[].class
profile.add(new NameImpl(XS.SHORT)); // Short.class
profile.add(new NameImpl(XS.INT)); // Integer.class
profile.add(new NameImpl(XS.FLOAT)); // Float.class
profile.add(new NameImpl(XS.LONG)); // Long.class
profile.add(new NameImpl(XS.QNAME)); // Qname.class
profile.add(new NameImpl(XS.DATE)); // java.sql.Date.class
profile.add(new NameImpl(XS.DATETIME)); // java.sql.Timestamp.class
profile.add(new NameImpl(XS.TIME)); // java.sql.Time.class
profile.add(new NameImpl(XS.BOOLEAN)); // Boolean.class
profile.add(new NameImpl(XS.DOUBLE)); // Double.class
profile.add(new NameImpl(XS.STRING)); // String.class
profile.add(new NameImpl(XS.INTEGER)); // BigInteger.class
profile.add(new NameImpl(XS.DECIMAL)); // BigDecimal.class
profile.add(new NameImpl(XS.ANYURI)); // URI.class
return new ProfileImpl(this, profile);
}
}