org.geotools.xs
Class XSSchema

java.lang.Object
  extended by org.geotools.feature.type.SchemaImpl
      extended by org.geotools.xs.XSSchema
All Implemented Interfaces:
java.util.Map<org.opengis.feature.type.Name,org.opengis.feature.type.AttributeType>, org.opengis.feature.type.Schema

public class XSSchema
extends SchemaImpl

Schema for XML simple types.

Author:
Justin Deoliveira, The Open Planning Project

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Field Summary
static org.opengis.feature.type.AttributeType ALLNNI_TYPE
          
static org.opengis.feature.type.AttributeType ANYSIMPLETYPE_TYPE
          
static org.opengis.feature.type.AttributeType ANYTYPE_TYPE
          
static org.opengis.feature.type.AttributeType ANYURI_TYPE
          
static org.opengis.feature.type.AttributeType BASE64BINARY_TYPE
          
static org.opengis.feature.type.AttributeType BLOCKSET_TYPE
          
static org.opengis.feature.type.AttributeType BOOLEAN_TYPE
          
static org.opengis.feature.type.AttributeType BYTE_TYPE
          
static org.opengis.feature.type.AttributeType DATE_TYPE
          
static org.opengis.feature.type.AttributeType DATETIME_TYPE
          
static org.opengis.feature.type.AttributeType DECIMAL_TYPE
          
static org.opengis.feature.type.AttributeType DERIVATIONCONTROL_TYPE
          
static org.opengis.feature.type.AttributeType DERIVATIONSET_TYPE
          
static org.opengis.feature.type.AttributeType DOUBLE_TYPE
          
static org.opengis.feature.type.AttributeType DURATION_TYPE
          
static org.opengis.feature.type.AttributeType ENTITY_TYPE
          
static org.opengis.feature.type.AttributeType FLOAT_TYPE
          
static org.opengis.feature.type.AttributeType FORMCHOICE_TYPE
          
static org.opengis.feature.type.AttributeType GDAY_TYPE
          
static org.opengis.feature.type.AttributeType GMONTH_TYPE
          
static org.opengis.feature.type.AttributeType GMONTHDAY_TYPE
          
static org.opengis.feature.type.AttributeType GYEAR_TYPE
          
static org.opengis.feature.type.AttributeType GYEARMONTH_TYPE
          
static org.opengis.feature.type.AttributeType HEXBINARY_TYPE
          
static org.opengis.feature.type.AttributeType ID_TYPE
          
static org.opengis.feature.type.AttributeType IDREF_TYPE
          
static org.opengis.feature.type.AttributeType INT_TYPE
          
static org.opengis.feature.type.AttributeType INTEGER_TYPE
          
static org.opengis.feature.type.AttributeType LANGUAGE_TYPE
          
static org.opengis.feature.type.AttributeType LONG_TYPE
          
static org.opengis.feature.type.AttributeType NAME_TYPE
          
static org.opengis.feature.type.AttributeType NAMESPACELIST_TYPE
          
static org.opengis.feature.type.AttributeType NCNAME_TYPE
          
static org.opengis.feature.type.AttributeType NEGATIVEINTEGER_TYPE
          
static org.opengis.feature.type.AttributeType NMTOKEN_TYPE
          
static org.opengis.feature.type.AttributeType NONNEGATIVEINTEGER_TYPE
          
static org.opengis.feature.type.AttributeType NONPOSITIVEINTEGER_TYPE
          
static org.opengis.feature.type.AttributeType NORMALIZEDSTRING_TYPE
          
static org.opengis.feature.type.AttributeType NOTATION_TYPE
          
static org.opengis.feature.type.AttributeType POSITIVEINTEGER_TYPE
          
static org.opengis.feature.type.AttributeType PUBLIC_TYPE
          
static org.opengis.feature.type.AttributeType QNAME_TYPE
          
static org.opengis.feature.type.AttributeType REDUCEDDERIVATIONCONTROL_TYPE
          
static org.opengis.feature.type.AttributeType SHORT_TYPE
          
static org.opengis.feature.type.AttributeType SIMPLEDERIVATIONSET_TYPE
          
static org.opengis.feature.type.AttributeType STRING_TYPE
          
static org.opengis.feature.type.AttributeType TIME_TYPE
          
static org.opengis.feature.type.AttributeType TOKEN_TYPE
          
static org.opengis.feature.type.AttributeType UNSIGNEDBYTE_TYPE
          
static org.opengis.feature.type.AttributeType UNSIGNEDINT_TYPE
          
static org.opengis.feature.type.AttributeType UNSIGNEDLONG_TYPE
          
static org.opengis.feature.type.AttributeType UNSIGNEDSHORT_TYPE
          
 
Constructor Summary
XSSchema()
           
 
Method Summary
 
Methods inherited from class org.geotools.feature.type.SchemaImpl
add, clear, containsKey, containsValue, entrySet, equals, get, getURI, hashCode, isEmpty, keySet, profile, put, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ANYTYPE_TYPE

public static final org.opengis.feature.type.AttributeType ANYTYPE_TYPE

   
  <xs:simpleType id="anyType" name="anyType">
      <xs:restriction base="xs:anyType"/>
  </xs:simpleType>

    
   


ANYSIMPLETYPE_TYPE

public static final org.opengis.feature.type.AttributeType ANYSIMPLETYPE_TYPE

   
  <xs:simpleType id="anySimpleType" name="anySimpleType">
      <xs:restriction base="xs:anyType"/>
  </xs:simpleType>

    
   


NOTATION_TYPE

public static final org.opengis.feature.type.AttributeType NOTATION_TYPE

   
  <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>

    
   


DECIMAL_TYPE

public static final org.opengis.feature.type.AttributeType DECIMAL_TYPE

   
  <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>

    
   


INTEGER_TYPE

public static final org.opengis.feature.type.AttributeType INTEGER_TYPE

   
  <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>

    
   


NONNEGATIVEINTEGER_TYPE

public static final org.opengis.feature.type.AttributeType NONNEGATIVEINTEGER_TYPE

   
  <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>

    
   


UNSIGNEDLONG_TYPE

public static final org.opengis.feature.type.AttributeType UNSIGNEDLONG_TYPE

   
  <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>

    
   


UNSIGNEDINT_TYPE

public static final org.opengis.feature.type.AttributeType UNSIGNEDINT_TYPE

   
  <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>

    
   


UNSIGNEDSHORT_TYPE

public static final org.opengis.feature.type.AttributeType UNSIGNEDSHORT_TYPE

   
  <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>

    
   


UNSIGNEDBYTE_TYPE

public static final org.opengis.feature.type.AttributeType UNSIGNEDBYTE_TYPE

   
  <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>

    
   


QNAME_TYPE

public static final org.opengis.feature.type.AttributeType QNAME_TYPE

   
  <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>

    
   


STRING_TYPE

public static final org.opengis.feature.type.AttributeType STRING_TYPE

   
  <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>

    
   


NORMALIZEDSTRING_TYPE

public static final org.opengis.feature.type.AttributeType NORMALIZEDSTRING_TYPE

   
  <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>

    
   


TOKEN_TYPE

public static final org.opengis.feature.type.AttributeType TOKEN_TYPE

   
  <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>

    
   


NAME_TYPE

public static final org.opengis.feature.type.AttributeType NAME_TYPE

   
  <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>

    
   


NCNAME_TYPE

public static final org.opengis.feature.type.AttributeType NCNAME_TYPE

   
  <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>

    
   


ENTITY_TYPE

public static final org.opengis.feature.type.AttributeType ENTITY_TYPE

   
  <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>

    
   


SIMPLEDERIVATIONSET_TYPE

public static final org.opengis.feature.type.AttributeType SIMPLEDERIVATIONSET_TYPE

   
  <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>

    
   


PUBLIC_TYPE

public static final org.opengis.feature.type.AttributeType PUBLIC_TYPE

   
  <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>

    
   


LANGUAGE_TYPE

public static final org.opengis.feature.type.AttributeType LANGUAGE_TYPE

   
  <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>

    
   


DURATION_TYPE

public static final org.opengis.feature.type.AttributeType DURATION_TYPE

   
  <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>

    
   


BLOCKSET_TYPE

public static final org.opengis.feature.type.AttributeType BLOCKSET_TYPE

   
  <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>

    
   


FLOAT_TYPE

public static final org.opengis.feature.type.AttributeType FLOAT_TYPE

   
  <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>

    
   


DATETIME_TYPE

public static final org.opengis.feature.type.AttributeType DATETIME_TYPE

   
  <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>

    
   


GYEARMONTH_TYPE

public static final org.opengis.feature.type.AttributeType GYEARMONTH_TYPE

   
  <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>

    
   


ID_TYPE

public static final org.opengis.feature.type.AttributeType ID_TYPE

   
  <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>

    
   


NMTOKEN_TYPE

public static final org.opengis.feature.type.AttributeType NMTOKEN_TYPE

   
  <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>

    
   


DERIVATIONCONTROL_TYPE

public static final org.opengis.feature.type.AttributeType DERIVATIONCONTROL_TYPE

   
  <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>

    
   


REDUCEDDERIVATIONCONTROL_TYPE

public static final org.opengis.feature.type.AttributeType REDUCEDDERIVATIONCONTROL_TYPE

   
  <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>

    
   


NONPOSITIVEINTEGER_TYPE

public static final org.opengis.feature.type.AttributeType NONPOSITIVEINTEGER_TYPE

   
  <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>

    
   


NEGATIVEINTEGER_TYPE

public static final org.opengis.feature.type.AttributeType NEGATIVEINTEGER_TYPE

   
  <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>

    
   


GMONTH_TYPE

public static final org.opengis.feature.type.AttributeType GMONTH_TYPE

   
  <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>

    
   


FORMCHOICE_TYPE

public static final org.opengis.feature.type.AttributeType FORMCHOICE_TYPE

   
  <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>

    
   


POSITIVEINTEGER_TYPE

public static final org.opengis.feature.type.AttributeType POSITIVEINTEGER_TYPE

   
  <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>

    
   


BASE64BINARY_TYPE

public static final org.opengis.feature.type.AttributeType BASE64BINARY_TYPE

   
  <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>

    
   


DOUBLE_TYPE

public static final org.opengis.feature.type.AttributeType DOUBLE_TYPE

   
  <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>

    
   


NAMESPACELIST_TYPE

public static final org.opengis.feature.type.AttributeType NAMESPACELIST_TYPE

   
  <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>

    
   


GYEAR_TYPE

public static final org.opengis.feature.type.AttributeType GYEAR_TYPE

   
  <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>

    
   


DERIVATIONSET_TYPE

public static final org.opengis.feature.type.AttributeType DERIVATIONSET_TYPE

   
  <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>

    
   


GMONTHDAY_TYPE

public static final org.opengis.feature.type.AttributeType GMONTHDAY_TYPE

   
  <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>

    
   


LONG_TYPE

public static final org.opengis.feature.type.AttributeType LONG_TYPE

   
  <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>

    
   


INT_TYPE

public static final org.opengis.feature.type.AttributeType INT_TYPE

   
  <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>

    
   


SHORT_TYPE

public static final org.opengis.feature.type.AttributeType SHORT_TYPE

   
  <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>

    
   


BYTE_TYPE

public static final org.opengis.feature.type.AttributeType BYTE_TYPE

   
  <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>

    
   


BOOLEAN_TYPE

public static final org.opengis.feature.type.AttributeType BOOLEAN_TYPE

   
  <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>

    
   


ANYURI_TYPE

public static final org.opengis.feature.type.AttributeType ANYURI_TYPE

   
  <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>

    
   


GDAY_TYPE

public static final org.opengis.feature.type.AttributeType GDAY_TYPE

   
  <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>

    
   


TIME_TYPE

public static final org.opengis.feature.type.AttributeType TIME_TYPE

   
  <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>

    
   


HEXBINARY_TYPE

public static final org.opengis.feature.type.AttributeType HEXBINARY_TYPE

   
  <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>

    
   


DATE_TYPE

public static final org.opengis.feature.type.AttributeType DATE_TYPE

   
  <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>

    
   


ALLNNI_TYPE

public static final org.opengis.feature.type.AttributeType ALLNNI_TYPE

   
  <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>

    
   


IDREF_TYPE

public static final org.opengis.feature.type.AttributeType IDREF_TYPE

   
  <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>

    
   

Constructor Detail

XSSchema

public XSSchema()


Copyright © 1996-2010 Geotools. All Rights Reserved.