0001: /*
0002: * GeoTools - OpenSource mapping toolkit
0003: * http://geotools.org
0004: * (C) 2002-2006, GeoTools Project Managment Committee (PMC)
0005: *
0006: * This library is free software; you can redistribute it and/or
0007: * modify it under the terms of the GNU Lesser General Public
0008: * License as published by the Free Software Foundation;
0009: * version 2.1 of the License.
0010: *
0011: * This library is distributed in the hope that it will be useful,
0012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
0013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
0014: * Lesser General Public License for more details.
0015: */
0016: package org.geotools.xs;
0017:
0018: import java.math.BigDecimal;
0019: import java.math.BigInteger;
0020: import java.net.URI;
0021: import java.sql.Time;
0022: import java.sql.Timestamp;
0023: import java.util.Calendar;
0024: import java.util.Date;
0025: import java.util.Map;
0026:
0027: import javax.xml.namespace.QName;
0028:
0029: import org.geotools.feature.AttributeType;
0030: import org.geotools.feature.AttributeTypeFactory;
0031: import org.geotools.feature.type.SchemaImpl;
0032:
0033: /**
0034: * Schema for xml simple types.
0035: *
0036: * @author Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org
0037: *
0038: */
0039: public class XSSchema extends SchemaImpl {
0040: /**
0041: * <p>
0042: * <pre>
0043: * <code>
0044: * <xs:simpleType name="allNNI">
0045: * <xs:annotation>
0046: * <xs:documentation>
0047: * for maxOccurs</xs:documentation>
0048: * </xs:annotation>
0049: * <xs:union memberTypes="xs:nonNegativeInteger">
0050: * <xs:simpleType>
0051: * <xs:restriction base="xs:NMTOKEN">
0052: * <xs:enumeration value="unbounded"/>
0053: * </xs:restriction>
0054: * </xs:simpleType>
0055: * </xs:union>
0056: * </xs:simpleType>
0057: *
0058: * </code>
0059: * </pre>
0060: * </p>
0061: *
0062: * @generated
0063: */
0064: public static final AttributeType ALLNNI_TYPE = AttributeTypeFactory
0065: .newAttributeType("allNNI", java.lang.Object.class);
0066:
0067: /**
0068: * <p>
0069: * <pre>
0070: * <code>
0071: * <xs:simpleType id="byte" name="byte">
0072: * <xs:annotation>
0073: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#byte"/>
0074: * </xs:annotation>
0075: * <xs:restriction base="xs:short">
0076: * <xs:minInclusive id="byte.minInclusive" value="-128"/>
0077: * <xs:maxInclusive id="byte.maxInclusive" value="127"/>
0078: * </xs:restriction>
0079: * </xs:simpleType>
0080: *
0081: * </code>
0082: * </pre>
0083: * </p>
0084: *
0085: * @generated NOT
0086: */
0087: public static final AttributeType BYTE_TYPE = AttributeTypeFactory
0088: .newAttributeType("byte", Byte.class);
0089:
0090: /**
0091: * <p>
0092: * <pre>
0093: * <code>
0094: * <xs:simpleType id="short" name="short">
0095: * <xs:annotation>
0096: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#short"/>
0097: * </xs:annotation>
0098: * <xs:restriction base="xs:int">
0099: * <xs:minInclusive id="short.minInclusive" value="-32768"/>
0100: * <xs:maxInclusive id="short.maxInclusive" value="32767"/>
0101: * </xs:restriction>
0102: * </xs:simpleType>
0103: *
0104: * </code>
0105: * </pre>
0106: * </p>
0107: *
0108: * @generated NOT
0109: */
0110: public static final AttributeType SHORT_TYPE = AttributeTypeFactory
0111: .newAttributeType("short", Short.class);
0112:
0113: /**
0114: * <p>
0115: * <pre>
0116: * <code>
0117: * <xs:simpleType id="nonNegativeInteger" name="nonNegativeInteger">
0118: * <xs:annotation>
0119: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger"/>
0120: * </xs:annotation>
0121: * <xs:restriction base="xs:integer">
0122: * <xs:minInclusive id="nonNegativeInteger.minInclusive" value="0"/>
0123: * </xs:restriction>
0124: * </xs:simpleType>
0125: *
0126: * </code>
0127: * </pre>
0128: * </p>
0129: *
0130: * @generated
0131: */
0132: public static final AttributeType NONNEGATIVEINTEGER_TYPE = AttributeTypeFactory
0133: .newAttributeType("nonNegativeInteger", BigInteger.class);
0134:
0135: /**
0136: * <p>
0137: * <pre>
0138: * <code>
0139: * <xs:simpleType id="anySimpleType" name="anySimpleType">
0140: * <xs:restriction base="xs:anyType"/>
0141: * </xs:simpleType>
0142: *
0143: * </code>
0144: * </pre>
0145: * </p>
0146: *
0147: * @generated
0148: */
0149: public static final AttributeType ANYSIMPLETYPE_TYPE = AttributeTypeFactory
0150: .newAttributeType("anySimpleType", java.lang.Object.class);
0151:
0152: /**
0153: * <p>
0154: * <pre>
0155: * <code>
0156: * <xs:simpleType name="derivationSet">
0157: * <xs:annotation>
0158: * <xs:documentation>
0159: * A utility type, not for public use</xs:documentation>
0160: * <xs:documentation>
0161: * #all or (possibly empty) subset of {extension, restriction}</xs:documentation>
0162: * </xs:annotation>
0163: * <xs:union>
0164: * <xs:simpleType>
0165: * <xs:restriction base="xs:token">
0166: * <xs:enumeration value="#all"/>
0167: * </xs:restriction>
0168: * </xs:simpleType>
0169: * <xs:simpleType>
0170: * <xs:list itemType="xs:reducedDerivationControl"/>
0171: * </xs:simpleType>
0172: * </xs:union>
0173: * </xs:simpleType>
0174: *
0175: * </code>
0176: * </pre>
0177: * </p>
0178: *
0179: * @generated
0180: */
0181: public static final AttributeType DERIVATIONSET_TYPE = AttributeTypeFactory
0182: .newAttributeType("derivationSet", java.lang.Object.class);
0183:
0184: /**
0185: * <p>
0186: * <pre>
0187: * <code>
0188: * <xs:simpleType id="negativeInteger" name="negativeInteger">
0189: * <xs:annotation>
0190: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#negativeInteger"/>
0191: * </xs:annotation>
0192: * <xs:restriction base="xs:nonPositiveInteger">
0193: * <xs:maxInclusive id="negativeInteger.maxInclusive" value="-1"/>
0194: * </xs:restriction>
0195: * </xs:simpleType>
0196: *
0197: * </code>
0198: * </pre>
0199: * </p>
0200: *
0201: * @generated
0202: */
0203: public static final AttributeType NEGATIVEINTEGER_TYPE = AttributeTypeFactory
0204: .newAttributeType("negativeInteger", BigInteger.class);
0205:
0206: /**
0207: * <p>
0208: * <pre>
0209: * <code>
0210: * <xs:simpleType name="blockSet">
0211: * <xs:annotation>
0212: * <xs:documentation>
0213: * A utility type, not for public use</xs:documentation>
0214: * <xs:documentation>
0215: * #all or (possibly empty) subset of {substitution, extension,
0216: * restriction}</xs:documentation>
0217: * </xs:annotation>
0218: * <xs:union>
0219: * <xs:simpleType>
0220: * <xs:restriction base="xs:token">
0221: * <xs:enumeration value="#all"/>
0222: * </xs:restriction>
0223: * </xs:simpleType>
0224: * <xs:simpleType>
0225: * <xs:list>
0226: * <xs:simpleType>
0227: * <xs:restriction base="xs:derivationControl">
0228: * <xs:enumeration value="extension"/>
0229: * <xs:enumeration value="restriction"/>
0230: * <xs:enumeration value="substitution"/>
0231: * </xs:restriction>
0232: * </xs:simpleType>
0233: * </xs:list>
0234: * </xs:simpleType>
0235: * </xs:union>
0236: * </xs:simpleType>
0237: *
0238: * </code>
0239: * </pre>
0240: * </p>
0241: *
0242: * @generated
0243: */
0244: public static final AttributeType BLOCKSET_TYPE = AttributeTypeFactory
0245: .newAttributeType("blockSet", java.lang.Object.class);
0246:
0247: /**
0248: * <p>
0249: * <pre>
0250: * <code>
0251: * <xs:simpleType id="unsignedByte" name="unsignedByte">
0252: * <xs:annotation>
0253: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedByte"/>
0254: * </xs:annotation>
0255: * <xs:restriction base="xs:unsignedShort">
0256: * <xs:maxInclusive id="unsignedByte.maxInclusive" value="255"/>
0257: * </xs:restriction>
0258: * </xs:simpleType>
0259: *
0260: * </code>
0261: * </pre>
0262: * </p>
0263: *
0264: * @generated
0265: */
0266: public static final AttributeType UNSIGNEDBYTE_TYPE = AttributeTypeFactory
0267: .newAttributeType("unsignedByte", Short.class);
0268:
0269: /**
0270: * <p>
0271: * <pre>
0272: * <code>
0273: * <xs:simpleType id="anyURI" name="anyURI">
0274: * <xs:annotation>
0275: * <xs:appinfo>
0276: * <hfp:hasFacet name="length"/>
0277: * <hfp:hasFacet name="minLength"/>
0278: * <hfp:hasFacet name="maxLength"/>
0279: * <hfp:hasFacet name="pattern"/>
0280: * <hfp:hasFacet name="enumeration"/>
0281: * <hfp:hasFacet name="whiteSpace"/>
0282: * <hfp:hasProperty name="ordered" value="false"/>
0283: * <hfp:hasProperty name="bounded" value="false"/>
0284: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
0285: * <hfp:hasProperty name="numeric" value="false"/>
0286: * </xs:appinfo>
0287: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#anyURI"/>
0288: * </xs:annotation>
0289: * <xs:restriction base="xs:anySimpleType">
0290: * <xs:whiteSpace fixed="true" id="anyURI.whiteSpace" value="collapse"/>
0291: * </xs:restriction>
0292: * </xs:simpleType>
0293: *
0294: * </code>
0295: * </pre>
0296: * </p>
0297: *
0298: * @generated
0299: */
0300: public static final AttributeType ANYURI_TYPE = AttributeTypeFactory
0301: .newAttributeType("anyURI", URI.class);
0302:
0303: /**
0304: * <p>
0305: * <pre>
0306: * <code>
0307: * <xs:simpleType id="gMonth" name="gMonth">
0308: * <xs:annotation>
0309: * <xs:appinfo>
0310: * <hfp:hasFacet name="pattern"/>
0311: * <hfp:hasFacet name="enumeration"/>
0312: * <hfp:hasFacet name="whiteSpace"/>
0313: * <hfp:hasFacet name="maxInclusive"/>
0314: * <hfp:hasFacet name="maxExclusive"/>
0315: * <hfp:hasFacet name="minInclusive"/>
0316: * <hfp:hasFacet name="minExclusive"/>
0317: * <hfp:hasProperty name="ordered" value="partial"/>
0318: * <hfp:hasProperty name="bounded" value="false"/>
0319: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
0320: * <hfp:hasProperty name="numeric" value="false"/>
0321: * </xs:appinfo>
0322: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gMonth"/>
0323: * </xs:annotation>
0324: * <xs:restriction base="xs:anySimpleType">
0325: * <xs:whiteSpace fixed="true" id="gMonth.whiteSpace" value="collapse"/>
0326: * </xs:restriction>
0327: * </xs:simpleType>
0328: *
0329: * </code>
0330: * </pre>
0331: * </p>
0332: *
0333: * @generated
0334: */
0335: public static final AttributeType GMONTH_TYPE = AttributeTypeFactory
0336: .newAttributeType("gMonth", java.lang.Object.class);
0337:
0338: /**
0339: * <p>
0340: * <pre>
0341: * <code>
0342: * <xs:simpleType id="normalizedString" name="normalizedString">
0343: * <xs:annotation>
0344: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#normalizedString"/>
0345: * </xs:annotation>
0346: * <xs:restriction base="xs:string">
0347: * <xs:whiteSpace id="normalizedString.whiteSpace" value="replace"/>
0348: * </xs:restriction>
0349: * </xs:simpleType>
0350: *
0351: * </code>
0352: * </pre>
0353: * </p>
0354: *
0355: * @generated
0356: */
0357: public static final AttributeType NORMALIZEDSTRING_TYPE = AttributeTypeFactory
0358: .newAttributeType("normalizedString", String.class);
0359:
0360: /**
0361: * <p>
0362: * <pre>
0363: * <code>
0364: * <xs:simpleType id="NMTOKENS" name="NMTOKENS">
0365: * <xs:annotation>
0366: * <xs:appinfo>
0367: * <hfp:hasFacet name="length"/>
0368: * <hfp:hasFacet name="minLength"/>
0369: * <hfp:hasFacet name="maxLength"/>
0370: * <hfp:hasFacet name="enumeration"/>
0371: * <hfp:hasFacet name="whiteSpace"/>
0372: * <hfp:hasProperty name="ordered" value="false"/>
0373: * <hfp:hasProperty name="bounded" value="false"/>
0374: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
0375: * <hfp:hasProperty name="numeric" value="false"/>
0376: * </xs:appinfo>
0377: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NMTOKENS"/>
0378: * </xs:annotation>
0379: * <xs:restriction>
0380: * <xs:simpleType>
0381: * <xs:list itemType="xs:NMTOKEN"/>
0382: * </xs:simpleType>
0383: * <xs:minLength id="NMTOKENS.minLength" value="1"/>
0384: * </xs:restriction>
0385: * </xs:simpleType>
0386: *
0387: * </code>
0388: * </pre>
0389: * </p>
0390: *
0391: * @generated
0392: */
0393: public static final AttributeType NMTOKENS_TYPE = AttributeTypeFactory
0394: .newAttributeType("NMTOKENS", java.lang.Object.class);
0395:
0396: /**
0397: * <p>
0398: * <pre>
0399: * <code>
0400: * <xs:simpleType id="dateTime" name="dateTime">
0401: * <xs:annotation>
0402: * <xs:appinfo>
0403: * <hfp:hasFacet name="pattern"/>
0404: * <hfp:hasFacet name="enumeration"/>
0405: * <hfp:hasFacet name="whiteSpace"/>
0406: * <hfp:hasFacet name="maxInclusive"/>
0407: * <hfp:hasFacet name="maxExclusive"/>
0408: * <hfp:hasFacet name="minInclusive"/>
0409: * <hfp:hasFacet name="minExclusive"/>
0410: * <hfp:hasProperty name="ordered" value="partial"/>
0411: * <hfp:hasProperty name="bounded" value="false"/>
0412: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
0413: * <hfp:hasProperty name="numeric" value="false"/>
0414: * </xs:appinfo>
0415: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#dateTime"/>
0416: * </xs:annotation>
0417: * <xs:restriction base="xs:anySimpleType">
0418: * <xs:whiteSpace fixed="true" id="dateTime.whiteSpace" value="collapse"/>
0419: * </xs:restriction>
0420: * </xs:simpleType>
0421: *
0422: * </code>
0423: * </pre>
0424: * </p>
0425: *
0426: * @generated
0427: */
0428: public static final AttributeType DATETIME_TYPE = AttributeTypeFactory
0429: .newAttributeType("dateTime", Timestamp.class);
0430:
0431: /**
0432: * <p>
0433: * <pre>
0434: * <code>
0435: * <xs:simpleType id="gMonthDay" name="gMonthDay">
0436: * <xs:annotation>
0437: * <xs:appinfo>
0438: * <hfp:hasFacet name="pattern"/>
0439: * <hfp:hasFacet name="enumeration"/>
0440: * <hfp:hasFacet name="whiteSpace"/>
0441: * <hfp:hasFacet name="maxInclusive"/>
0442: * <hfp:hasFacet name="maxExclusive"/>
0443: * <hfp:hasFacet name="minInclusive"/>
0444: * <hfp:hasFacet name="minExclusive"/>
0445: * <hfp:hasProperty name="ordered" value="partial"/>
0446: * <hfp:hasProperty name="bounded" value="false"/>
0447: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
0448: * <hfp:hasProperty name="numeric" value="false"/>
0449: * </xs:appinfo>
0450: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gMonthDay"/>
0451: * </xs:annotation>
0452: * <xs:restriction base="xs:anySimpleType">
0453: * <xs:whiteSpace fixed="true" id="gMonthDay.whiteSpace" value="collapse"/>
0454: * </xs:restriction>
0455: * </xs:simpleType>
0456: *
0457: * </code>
0458: * </pre>
0459: * </p>
0460: *
0461: * @generated
0462: */
0463: public static final AttributeType GMONTHDAY_TYPE = AttributeTypeFactory
0464: .newAttributeType("gMonthDay", java.lang.Object.class);
0465:
0466: /**
0467: * <p>
0468: * <pre>
0469: * <code>
0470: * <xs:simpleType id="Name" name="Name">
0471: * <xs:annotation>
0472: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#Name"/>
0473: * </xs:annotation>
0474: * <xs:restriction base="xs:token">
0475: * <xs:pattern id="Name.pattern" value="\i\c*">
0476: * <xs:annotation>
0477: * <xs:documentation source="http://www.w3.org/TR/REC-xml#NT-Name">
0478: * pattern matches production 5 from the XML spec
0479: * </xs:documentation>
0480: * </xs:annotation>
0481: * </xs:pattern>
0482: * </xs:restriction>
0483: * </xs:simpleType>
0484: *
0485: * </code>
0486: * </pre>
0487: * </p>
0488: *
0489: * @generated
0490: */
0491: public static final AttributeType NAME_TYPE = AttributeTypeFactory
0492: .newAttributeType("Name", java.lang.Object.class);
0493:
0494: /**
0495: * <p>
0496: * <pre>
0497: * <code>
0498: * <xs:simpleType id="hexBinary" name="hexBinary">
0499: * <xs:annotation>
0500: * <xs:appinfo>
0501: * <hfp:hasFacet name="length"/>
0502: * <hfp:hasFacet name="minLength"/>
0503: * <hfp:hasFacet name="maxLength"/>
0504: * <hfp:hasFacet name="pattern"/>
0505: * <hfp:hasFacet name="enumeration"/>
0506: * <hfp:hasFacet name="whiteSpace"/>
0507: * <hfp:hasProperty name="ordered" value="false"/>
0508: * <hfp:hasProperty name="bounded" value="false"/>
0509: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
0510: * <hfp:hasProperty name="numeric" value="false"/>
0511: * </xs:appinfo>
0512: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#binary"/>
0513: * </xs:annotation>
0514: * <xs:restriction base="xs:anySimpleType">
0515: * <xs:whiteSpace fixed="true" id="hexBinary.whiteSpace" value="collapse"/>
0516: * </xs:restriction>
0517: * </xs:simpleType>
0518: *
0519: * </code>
0520: * </pre>
0521: * </p>
0522: *
0523: * @generated
0524: */
0525: public static final AttributeType HEXBINARY_TYPE = AttributeTypeFactory
0526: .newAttributeType("hexBinary", byte[].class);
0527:
0528: /**
0529: * <p>
0530: * <pre>
0531: * <code>
0532: * <xs:simpleType id="positiveInteger" name="positiveInteger">
0533: * <xs:annotation>
0534: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#positiveInteger"/>
0535: * </xs:annotation>
0536: * <xs:restriction base="xs:nonNegativeInteger">
0537: * <xs:minInclusive id="positiveInteger.minInclusive" value="1"/>
0538: * </xs:restriction>
0539: * </xs:simpleType>
0540: *
0541: * </code>
0542: * </pre>
0543: * </p>
0544: *
0545: * @generated
0546: */
0547: public static final AttributeType POSITIVEINTEGER_TYPE = AttributeTypeFactory
0548: .newAttributeType("positiveInteger", BigInteger.class);
0549:
0550: /**
0551: * <p>
0552: * <pre>
0553: * <code>
0554: * <xs:simpleType id="integer" name="integer">
0555: * <xs:annotation>
0556: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#integer"/>
0557: * </xs:annotation>
0558: * <xs:restriction base="xs:decimal">
0559: * <xs:fractionDigits fixed="true" id="integer.fractionDigits" value="0"/>
0560: * <xs:pattern value="[\-+]?[0-9]+"/>
0561: * </xs:restriction>
0562: * </xs:simpleType>
0563: *
0564: * </code>
0565: * </pre>
0566: * </p>
0567: *
0568: * @generated
0569: */
0570: public static final AttributeType INTEGER_TYPE = AttributeTypeFactory
0571: .newAttributeType("integer", BigInteger.class);
0572:
0573: /**
0574: * <p>
0575: * <pre>
0576: * <code>
0577: * <xs:simpleType id="ENTITIES" name="ENTITIES">
0578: * <xs:annotation>
0579: * <xs:appinfo>
0580: * <hfp:hasFacet name="length"/>
0581: * <hfp:hasFacet name="minLength"/>
0582: * <hfp:hasFacet name="maxLength"/>
0583: * <hfp:hasFacet name="enumeration"/>
0584: * <hfp:hasFacet name="whiteSpace"/>
0585: * <hfp:hasProperty name="ordered" value="false"/>
0586: * <hfp:hasProperty name="bounded" value="false"/>
0587: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
0588: * <hfp:hasProperty name="numeric" value="false"/>
0589: * </xs:appinfo>
0590: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#ENTITIES"/>
0591: * </xs:annotation>
0592: * <xs:restriction>
0593: * <xs:simpleType>
0594: * <xs:list itemType="xs:ENTITY"/>
0595: * </xs:simpleType>
0596: * <xs:minLength id="ENTITIES.minLength" value="1"/>
0597: * </xs:restriction>
0598: * </xs:simpleType>
0599: *
0600: * </code>
0601: * </pre>
0602: * </p>
0603: *
0604: * @generated
0605: */
0606: public static final AttributeType ENTITIES_TYPE = AttributeTypeFactory
0607: .newAttributeType("ENTITIES", java.lang.Object.class);
0608:
0609: /**
0610: * <p>
0611: * <pre>
0612: * <code>
0613: * <xs:simpleType id="token" name="token">
0614: * <xs:annotation>
0615: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#token"/>
0616: * </xs:annotation>
0617: * <xs:restriction base="xs:normalizedString">
0618: * <xs:whiteSpace id="token.whiteSpace" value="collapse"/>
0619: * </xs:restriction>
0620: * </xs:simpleType>
0621: *
0622: * </code>
0623: * </pre>
0624: * </p>
0625: *
0626: * @generated
0627: */
0628: public static final AttributeType TOKEN_TYPE = AttributeTypeFactory
0629: .newAttributeType("token", java.lang.Object.class);
0630:
0631: /**
0632: * <p>
0633: * <pre>
0634: * <code>
0635: * <xs:simpleType id="NMTOKEN" name="NMTOKEN">
0636: * <xs:annotation>
0637: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NMTOKEN"/>
0638: * </xs:annotation>
0639: * <xs:restriction base="xs:token">
0640: * <xs:pattern id="NMTOKEN.pattern" value="\c+">
0641: * <xs:annotation>
0642: * <xs:documentation source="http://www.w3.org/TR/REC-xml#NT-Nmtoken">
0643: * pattern matches production 7 from the XML spec
0644: * </xs:documentation>
0645: * </xs:annotation>
0646: * </xs:pattern>
0647: * </xs:restriction>
0648: * </xs:simpleType>
0649: *
0650: * </code>
0651: * </pre>
0652: * </p>
0653: *
0654: * @generated
0655: */
0656: public static final AttributeType NMTOKEN_TYPE = AttributeTypeFactory
0657: .newAttributeType("NMTOKEN", java.lang.Object.class);
0658:
0659: /**
0660: * <p>
0661: * <pre>
0662: * <code>
0663: * <xs:simpleType id="int" name="int">
0664: * <xs:annotation>
0665: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#int"/>
0666: * </xs:annotation>
0667: * <xs:restriction base="xs:long">
0668: * <xs:minInclusive id="int.minInclusive" value="-2147483648"/>
0669: * <xs:maxInclusive id="int.maxInclusive" value="2147483647"/>
0670: * </xs:restriction>
0671: * </xs:simpleType>
0672: *
0673: * </code>
0674: * </pre>
0675: * </p>
0676: *
0677: * @generated
0678: */
0679: public static final AttributeType INT_TYPE = AttributeTypeFactory
0680: .newAttributeType("int", Integer.class);
0681:
0682: /**
0683: * <p>
0684: * <pre>
0685: * <code>
0686: * <xs:simpleType id="base64Binary" name="base64Binary">
0687: * <xs:annotation>
0688: * <xs:appinfo>
0689: * <hfp:hasFacet name="length"/>
0690: * <hfp:hasFacet name="minLength"/>
0691: * <hfp:hasFacet name="maxLength"/>
0692: * <hfp:hasFacet name="pattern"/>
0693: * <hfp:hasFacet name="enumeration"/>
0694: * <hfp:hasFacet name="whiteSpace"/>
0695: * <hfp:hasProperty name="ordered" value="false"/>
0696: * <hfp:hasProperty name="bounded" value="false"/>
0697: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
0698: * <hfp:hasProperty name="numeric" value="false"/>
0699: * </xs:appinfo>
0700: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#base64Binary"/>
0701: * </xs:annotation>
0702: * <xs:restriction base="xs:anySimpleType">
0703: * <xs:whiteSpace fixed="true" id="base64Binary.whiteSpace" value="collapse"/>
0704: * </xs:restriction>
0705: * </xs:simpleType>
0706: *
0707: * </code>
0708: * </pre>
0709: * </p>
0710: *
0711: * @generated
0712: */
0713: public static final AttributeType BASE64BINARY_TYPE = AttributeTypeFactory
0714: .newAttributeType("base64Binary", java.lang.Object.class);
0715:
0716: /**
0717: * <p>
0718: * <pre>
0719: * <code>
0720: * <xs:simpleType id="float" name="float">
0721: * <xs:annotation>
0722: * <xs:appinfo>
0723: * <hfp:hasFacet name="pattern"/>
0724: * <hfp:hasFacet name="enumeration"/>
0725: * <hfp:hasFacet name="whiteSpace"/>
0726: * <hfp:hasFacet name="maxInclusive"/>
0727: * <hfp:hasFacet name="maxExclusive"/>
0728: * <hfp:hasFacet name="minInclusive"/>
0729: * <hfp:hasFacet name="minExclusive"/>
0730: * <hfp:hasProperty name="ordered" value="total"/>
0731: * <hfp:hasProperty name="bounded" value="true"/>
0732: * <hfp:hasProperty name="cardinality" value="finite"/>
0733: * <hfp:hasProperty name="numeric" value="true"/>
0734: * </xs:appinfo>
0735: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#float"/>
0736: * </xs:annotation>
0737: * <xs:restriction base="xs:anySimpleType">
0738: * <xs:whiteSpace fixed="true" id="float.whiteSpace" value="collapse"/>
0739: * </xs:restriction>
0740: * </xs:simpleType>
0741: *
0742: * </code>
0743: * </pre>
0744: * </p>
0745: *
0746: * @generated
0747: */
0748: public static final AttributeType FLOAT_TYPE = AttributeTypeFactory
0749: .newAttributeType("float", Float.class);
0750:
0751: /**
0752: * <p>
0753: * <pre>
0754: * <code>
0755: * <xs:simpleType id="anyType" name="anyType">
0756: * <xs:restriction base="xs:anyType"/>
0757: * </xs:simpleType>
0758: *
0759: * </code>
0760: * </pre>
0761: * </p>
0762: *
0763: * @generated
0764: */
0765: public static final AttributeType ANYTYPE_TYPE = AttributeTypeFactory
0766: .newAttributeType("anyType", Object.class);
0767:
0768: /**
0769: * <p>
0770: * <pre>
0771: * <code>
0772: * <xs:simpleType id="NCName" name="NCName">
0773: * <xs:annotation>
0774: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NCName"/>
0775: * </xs:annotation>
0776: * <xs:restriction base="xs:Name">
0777: * <xs:pattern id="NCName.pattern" value="[\i-[:]][\c-[:]]*">
0778: * <xs:annotation>
0779: * <xs:documentation source="http://www.w3.org/TR/REC-xml-names/#NT-NCName">
0780: * pattern matches production 4 from the Namespaces in XML spec
0781: * </xs:documentation>
0782: * </xs:annotation>
0783: * </xs:pattern>
0784: * </xs:restriction>
0785: * </xs:simpleType>
0786: *
0787: * </code>
0788: * </pre>
0789: * </p>
0790: *
0791: * @generated
0792: */
0793: public static final AttributeType NCNAME_TYPE = AttributeTypeFactory
0794: .newAttributeType("NCName", java.lang.Object.class);
0795:
0796: /**
0797: * <p>
0798: * <pre>
0799: * <code>
0800: * <xs:simpleType id="IDREFS" name="IDREFS">
0801: * <xs:annotation>
0802: * <xs:appinfo>
0803: * <hfp:hasFacet name="length"/>
0804: * <hfp:hasFacet name="minLength"/>
0805: * <hfp:hasFacet name="maxLength"/>
0806: * <hfp:hasFacet name="enumeration"/>
0807: * <hfp:hasFacet name="whiteSpace"/>
0808: * <hfp:hasProperty name="ordered" value="false"/>
0809: * <hfp:hasProperty name="bounded" value="false"/>
0810: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
0811: * <hfp:hasProperty name="numeric" value="false"/>
0812: * </xs:appinfo>
0813: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#IDREFS"/>
0814: * </xs:annotation>
0815: * <xs:restriction>
0816: * <xs:simpleType>
0817: * <xs:list itemType="xs:IDREF"/>
0818: * </xs:simpleType>
0819: * <xs:minLength id="IDREFS.minLength" value="1"/>
0820: * </xs:restriction>
0821: * </xs:simpleType>
0822: *
0823: * </code>
0824: * </pre>
0825: * </p>
0826: *
0827: * @generated
0828: */
0829: public static final AttributeType IDREFS_TYPE = AttributeTypeFactory
0830: .newAttributeType("IDREFS", java.lang.Object.class);
0831:
0832: /**
0833: * <p>
0834: * <pre>
0835: * <code>
0836: * <xs:simpleType name="formChoice">
0837: * <xs:annotation>
0838: * <xs:documentation>
0839: * A utility type, not for public use</xs:documentation>
0840: * </xs:annotation>
0841: * <xs:restriction base="xs:NMTOKEN">
0842: * <xs:enumeration value="qualified"/>
0843: * <xs:enumeration value="unqualified"/>
0844: * </xs:restriction>
0845: * </xs:simpleType>
0846: *
0847: * </code>
0848: * </pre>
0849: * </p>
0850: *
0851: * @generated
0852: */
0853: public static final AttributeType FORMCHOICE_TYPE = AttributeTypeFactory
0854: .newAttributeType("formChoice", java.lang.Object.class);
0855:
0856: /**
0857: * <p>
0858: * <pre>
0859: * <code>
0860: * <xs:simpleType id="long" name="long">
0861: * <xs:annotation>
0862: * <xs:appinfo>
0863: * <hfp:hasProperty name="bounded" value="true"/>
0864: * <hfp:hasProperty name="cardinality" value="finite"/>
0865: * </xs:appinfo>
0866: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#long"/>
0867: * </xs:annotation>
0868: * <xs:restriction base="xs:integer">
0869: * <xs:minInclusive id="long.minInclusive" value="-9223372036854775808"/>
0870: * <xs:maxInclusive id="long.maxInclusive" value="9223372036854775807"/>
0871: * </xs:restriction>
0872: * </xs:simpleType>
0873: *
0874: * </code>
0875: * </pre>
0876: * </p>
0877: *
0878: * @generated
0879: */
0880: public static final AttributeType LONG_TYPE = AttributeTypeFactory
0881: .newAttributeType("long", Long.class);
0882:
0883: /**
0884: * <p>
0885: * <pre>
0886: * <code>
0887: * <xs:simpleType id="gYearMonth" name="gYearMonth">
0888: * <xs:annotation>
0889: * <xs:appinfo>
0890: * <hfp:hasFacet name="pattern"/>
0891: * <hfp:hasFacet name="enumeration"/>
0892: * <hfp:hasFacet name="whiteSpace"/>
0893: * <hfp:hasFacet name="maxInclusive"/>
0894: * <hfp:hasFacet name="maxExclusive"/>
0895: * <hfp:hasFacet name="minInclusive"/>
0896: * <hfp:hasFacet name="minExclusive"/>
0897: * <hfp:hasProperty name="ordered" value="partial"/>
0898: * <hfp:hasProperty name="bounded" value="false"/>
0899: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
0900: * <hfp:hasProperty name="numeric" value="false"/>
0901: * </xs:appinfo>
0902: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gYearMonth"/>
0903: * </xs:annotation>
0904: * <xs:restriction base="xs:anySimpleType">
0905: * <xs:whiteSpace fixed="true" id="gYearMonth.whiteSpace" value="collapse"/>
0906: * </xs:restriction>
0907: * </xs:simpleType>
0908: *
0909: * </code>
0910: * </pre>
0911: * </p>
0912: *
0913: * @generated
0914: */
0915: public static final AttributeType GYEARMONTH_TYPE = AttributeTypeFactory
0916: .newAttributeType("gYearMonth", java.lang.Object.class);
0917:
0918: /**
0919: * <p>
0920: * <pre>
0921: * <code>
0922: * <xs:simpleType id="nonPositiveInteger" name="nonPositiveInteger">
0923: * <xs:annotation>
0924: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger"/>
0925: * </xs:annotation>
0926: * <xs:restriction base="xs:integer">
0927: * <xs:maxInclusive id="nonPositiveInteger.maxInclusive" value="0"/>
0928: * </xs:restriction>
0929: * </xs:simpleType>
0930: *
0931: * </code>
0932: * </pre>
0933: * </p>
0934: *
0935: * @generated
0936: */
0937: public static final AttributeType NONPOSITIVEINTEGER_TYPE = AttributeTypeFactory
0938: .newAttributeType("nonPositiveInteger", BigInteger.class);
0939:
0940: /**
0941: * <p>
0942: * <pre>
0943: * <code>
0944: * <xs:simpleType id="NOTATION" name="NOTATION">
0945: * <xs:annotation>
0946: * <xs:appinfo>
0947: * <hfp:hasFacet name="length"/>
0948: * <hfp:hasFacet name="minLength"/>
0949: * <hfp:hasFacet name="maxLength"/>
0950: * <hfp:hasFacet name="pattern"/>
0951: * <hfp:hasFacet name="enumeration"/>
0952: * <hfp:hasFacet name="whiteSpace"/>
0953: * <hfp:hasProperty name="ordered" value="false"/>
0954: * <hfp:hasProperty name="bounded" value="false"/>
0955: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
0956: * <hfp:hasProperty name="numeric" value="false"/>
0957: * </xs:appinfo>
0958: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#NOTATION"/>
0959: * <xs:documentation>
0960: * NOTATION cannot be used directly in a schema; rather a type
0961: * must be derived from it by specifying at least one enumeration
0962: * facet whose value is the name of a NOTATION declared in the
0963: * schema.
0964: * </xs:documentation>
0965: * </xs:annotation>
0966: * <xs:restriction base="xs:anySimpleType">
0967: * <xs:whiteSpace fixed="true" id="NOTATION.whiteSpace" value="collapse"/>
0968: * </xs:restriction>
0969: * </xs:simpleType>
0970: *
0971: * </code>
0972: * </pre>
0973: * </p>
0974: *
0975: * @generated
0976: */
0977: public static final AttributeType NOTATION_TYPE = AttributeTypeFactory
0978: .newAttributeType("NOTATION", java.lang.Object.class);
0979:
0980: /**
0981: * <p>
0982: * <pre>
0983: * <code>
0984: * <xs:simpleType id="time" name="time">
0985: * <xs:annotation>
0986: * <xs:appinfo>
0987: * <hfp:hasFacet name="pattern"/>
0988: * <hfp:hasFacet name="enumeration"/>
0989: * <hfp:hasFacet name="whiteSpace"/>
0990: * <hfp:hasFacet name="maxInclusive"/>
0991: * <hfp:hasFacet name="maxExclusive"/>
0992: * <hfp:hasFacet name="minInclusive"/>
0993: * <hfp:hasFacet name="minExclusive"/>
0994: * <hfp:hasProperty name="ordered" value="partial"/>
0995: * <hfp:hasProperty name="bounded" value="false"/>
0996: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
0997: * <hfp:hasProperty name="numeric" value="false"/>
0998: * </xs:appinfo>
0999: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#time"/>
1000: * </xs:annotation>
1001: * <xs:restriction base="xs:anySimpleType">
1002: * <xs:whiteSpace fixed="true" id="time.whiteSpace" value="collapse"/>
1003: * </xs:restriction>
1004: * </xs:simpleType>
1005: *
1006: * </code>
1007: * </pre>
1008: * </p>
1009: *
1010: * @generated
1011: */
1012: public static final AttributeType TIME_TYPE = AttributeTypeFactory
1013: .newAttributeType("time", Time.class);
1014:
1015: /**
1016: * <p>
1017: * <pre>
1018: * <code>
1019: * <xs:simpleType name="derivationControl">
1020: * <xs:annotation>
1021: * <xs:documentation>
1022: * A utility type, not for public use</xs:documentation>
1023: * </xs:annotation>
1024: * <xs:restriction base="xs:NMTOKEN">
1025: * <xs:enumeration value="substitution"/>
1026: * <xs:enumeration value="extension"/>
1027: * <xs:enumeration value="restriction"/>
1028: * <xs:enumeration value="list"/>
1029: * <xs:enumeration value="union"/>
1030: * </xs:restriction>
1031: * </xs:simpleType>
1032: *
1033: * </code>
1034: * </pre>
1035: * </p>
1036: *
1037: * @generated
1038: */
1039: public static final AttributeType DERIVATIONCONTROL_TYPE = AttributeTypeFactory
1040: .newAttributeType("derivationControl",
1041: java.lang.Object.class);
1042:
1043: /**
1044: * <p>
1045: * <pre>
1046: * <code>
1047: * <xs:simpleType id="QName" name="QName">
1048: * <xs:annotation>
1049: * <xs:appinfo>
1050: * <hfp:hasFacet name="length"/>
1051: * <hfp:hasFacet name="minLength"/>
1052: * <hfp:hasFacet name="maxLength"/>
1053: * <hfp:hasFacet name="pattern"/>
1054: * <hfp:hasFacet name="enumeration"/>
1055: * <hfp:hasFacet name="whiteSpace"/>
1056: * <hfp:hasProperty name="ordered" value="false"/>
1057: * <hfp:hasProperty name="bounded" value="false"/>
1058: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
1059: * <hfp:hasProperty name="numeric" value="false"/>
1060: * </xs:appinfo>
1061: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#QName"/>
1062: * </xs:annotation>
1063: * <xs:restriction base="xs:anySimpleType">
1064: * <xs:whiteSpace fixed="true" id="QName.whiteSpace" value="collapse"/>
1065: * </xs:restriction>
1066: * </xs:simpleType>
1067: *
1068: * </code>
1069: * </pre>
1070: * </p>
1071: *
1072: * @generated
1073: */
1074: public static final AttributeType QNAME_TYPE = AttributeTypeFactory
1075: .newAttributeType("QName", QName.class);
1076:
1077: /**
1078: * <p>
1079: * <pre>
1080: * <code>
1081: * <xs:simpleType id="unsignedInt" name="unsignedInt">
1082: * <xs:annotation>
1083: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedInt"/>
1084: * </xs:annotation>
1085: * <xs:restriction base="xs:unsignedLong">
1086: * <xs:maxInclusive id="unsignedInt.maxInclusive" value="4294967295"/>
1087: * </xs:restriction>
1088: * </xs:simpleType>
1089: *
1090: * </code>
1091: * </pre>
1092: * </p>
1093: *
1094: * @generated
1095: */
1096: public static final AttributeType UNSIGNEDINT_TYPE = AttributeTypeFactory
1097: .newAttributeType("unsignedInt", Long.class);
1098:
1099: /**
1100: * <p>
1101: * <pre>
1102: * <code>
1103: * <xs:simpleType name="namespaceList">
1104: * <xs:annotation>
1105: * <xs:documentation>
1106: * A utility type, not for public use</xs:documentation>
1107: * </xs:annotation>
1108: * <xs:union>
1109: * <xs:simpleType>
1110: * <xs:restriction base="xs:token">
1111: * <xs:enumeration value="##any"/>
1112: * <xs:enumeration value="##other"/>
1113: * </xs:restriction>
1114: * </xs:simpleType>
1115: * <xs:simpleType>
1116: * <xs:list>
1117: * <xs:simpleType>
1118: * <xs:union memberTypes="xs:anyURI">
1119: * <xs:simpleType>
1120: * <xs:restriction base="xs:token">
1121: * <xs:enumeration value="##targetNamespace"/>
1122: * <xs:enumeration value="##local"/>
1123: * </xs:restriction>
1124: * </xs:simpleType>
1125: * </xs:union>
1126: * </xs:simpleType>
1127: * </xs:list>
1128: * </xs:simpleType>
1129: * </xs:union>
1130: * </xs:simpleType>
1131: *
1132: * </code>
1133: * </pre>
1134: * </p>
1135: *
1136: * @generated
1137: */
1138: public static final AttributeType NAMESPACELIST_TYPE = AttributeTypeFactory
1139: .newAttributeType("namespaceList", java.lang.Object.class);
1140:
1141: /**
1142: * <p>
1143: * <pre>
1144: * <code>
1145: * <xs:simpleType id="date" name="date">
1146: * <xs:annotation>
1147: * <xs:appinfo>
1148: * <hfp:hasFacet name="pattern"/>
1149: * <hfp:hasFacet name="enumeration"/>
1150: * <hfp:hasFacet name="whiteSpace"/>
1151: * <hfp:hasFacet name="maxInclusive"/>
1152: * <hfp:hasFacet name="maxExclusive"/>
1153: * <hfp:hasFacet name="minInclusive"/>
1154: * <hfp:hasFacet name="minExclusive"/>
1155: * <hfp:hasProperty name="ordered" value="partial"/>
1156: * <hfp:hasProperty name="bounded" value="false"/>
1157: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
1158: * <hfp:hasProperty name="numeric" value="false"/>
1159: * </xs:appinfo>
1160: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#date"/>
1161: * </xs:annotation>
1162: * <xs:restriction base="xs:anySimpleType">
1163: * <xs:whiteSpace fixed="true" id="date.whiteSpace" value="collapse"/>
1164: * </xs:restriction>
1165: * </xs:simpleType>
1166: *
1167: * </code>
1168: * </pre>
1169: * </p>
1170: *
1171: * @generated
1172: */
1173: public static final AttributeType DATE_TYPE = AttributeTypeFactory
1174: .newAttributeType("date", java.sql.Date.class);
1175:
1176: /**
1177: * <p>
1178: * <pre>
1179: * <code>
1180: * <xs:simpleType id="gDay" name="gDay">
1181: * <xs:annotation>
1182: * <xs:appinfo>
1183: * <hfp:hasFacet name="pattern"/>
1184: * <hfp:hasFacet name="enumeration"/>
1185: * <hfp:hasFacet name="whiteSpace"/>
1186: * <hfp:hasFacet name="maxInclusive"/>
1187: * <hfp:hasFacet name="maxExclusive"/>
1188: * <hfp:hasFacet name="minInclusive"/>
1189: * <hfp:hasFacet name="minExclusive"/>
1190: * <hfp:hasProperty name="ordered" value="partial"/>
1191: * <hfp:hasProperty name="bounded" value="false"/>
1192: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
1193: * <hfp:hasProperty name="numeric" value="false"/>
1194: * </xs:appinfo>
1195: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gDay"/>
1196: * </xs:annotation>
1197: * <xs:restriction base="xs:anySimpleType">
1198: * <xs:whiteSpace fixed="true" id="gDay.whiteSpace" value="collapse"/>
1199: * </xs:restriction>
1200: * </xs:simpleType>
1201: *
1202: * </code>
1203: * </pre>
1204: * </p>
1205: *
1206: * @generated
1207: */
1208: public static final AttributeType GDAY_TYPE = AttributeTypeFactory
1209: .newAttributeType("gDay", java.lang.Object.class);
1210:
1211: /**
1212: * <p>
1213: * <pre>
1214: * <code>
1215: * <xs:simpleType id="string" name="string">
1216: * <xs:annotation>
1217: * <xs:appinfo>
1218: * <hfp:hasFacet name="length"/>
1219: * <hfp:hasFacet name="minLength"/>
1220: * <hfp:hasFacet name="maxLength"/>
1221: * <hfp:hasFacet name="pattern"/>
1222: * <hfp:hasFacet name="enumeration"/>
1223: * <hfp:hasFacet name="whiteSpace"/>
1224: * <hfp:hasProperty name="ordered" value="false"/>
1225: * <hfp:hasProperty name="bounded" value="false"/>
1226: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
1227: * <hfp:hasProperty name="numeric" value="false"/>
1228: * </xs:appinfo>
1229: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#string"/>
1230: * </xs:annotation>
1231: * <xs:restriction base="xs:anySimpleType">
1232: * <xs:whiteSpace id="string.preserve" value="preserve"/>
1233: * </xs:restriction>
1234: * </xs:simpleType>
1235: *
1236: * </code>
1237: * </pre>
1238: * </p>
1239: *
1240: * @generated
1241: */
1242: public static final AttributeType STRING_TYPE = AttributeTypeFactory
1243: .newAttributeType("string", String.class);
1244:
1245: /**
1246: * <p>
1247: * <pre>
1248: * <code>
1249: * <xs:simpleType id="language" name="language">
1250: * <xs:annotation>
1251: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#language"/>
1252: * </xs:annotation>
1253: * <xs:restriction base="xs:token">
1254: * <xs:pattern id="language.pattern" value="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*">
1255: * <xs:annotation>
1256: * <xs:documentation source="http://www.w3.org/TR/REC-xml#NT-LanguageID">
1257: * pattern specifies the content of section 2.12 of XML 1.0e2
1258: * and RFC 3066 (Revised version of RFC 1766).
1259: * </xs:documentation>
1260: * </xs:annotation>
1261: * </xs:pattern>
1262: * </xs:restriction>
1263: * </xs:simpleType>
1264: *
1265: * </code>
1266: * </pre>
1267: * </p>
1268: *
1269: * @generated
1270: */
1271: public static final AttributeType LANGUAGE_TYPE = AttributeTypeFactory
1272: .newAttributeType("language", java.lang.Object.class);
1273:
1274: /**
1275: * <p>
1276: * <pre>
1277: * <code>
1278: * <xs:simpleType name="public">
1279: * <xs:annotation>
1280: * <xs:documentation>
1281: * A utility type, not for public use</xs:documentation>
1282: * <xs:documentation>
1283: * A public identifier, per ISO 8879</xs:documentation>
1284: * </xs:annotation>
1285: * <xs:restriction base="xs:token"/>
1286: * </xs:simpleType>
1287: *
1288: * </code>
1289: * </pre>
1290: * </p>
1291: *
1292: * @generated
1293: */
1294: public static final AttributeType PUBLIC_TYPE = AttributeTypeFactory
1295: .newAttributeType("public", java.lang.Object.class);
1296:
1297: /**
1298: * <p>
1299: * <pre>
1300: * <code>
1301: * <xs:simpleType id="ID" name="ID">
1302: * <xs:annotation>
1303: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#ID"/>
1304: * </xs:annotation>
1305: * <xs:restriction base="xs:NCName"/>
1306: * </xs:simpleType>
1307: *
1308: * </code>
1309: * </pre>
1310: * </p>
1311: *
1312: * @generated
1313: */
1314: public static final AttributeType ID_TYPE = AttributeTypeFactory
1315: .newAttributeType("ID", java.lang.Object.class);
1316:
1317: /**
1318: * <p>
1319: * <pre>
1320: * <code>
1321: * <xs:simpleType id="ENTITY" name="ENTITY">
1322: * <xs:annotation>
1323: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#ENTITY"/>
1324: * </xs:annotation>
1325: * <xs:restriction base="xs:NCName"/>
1326: * </xs:simpleType>
1327: *
1328: * </code>
1329: * </pre>
1330: * </p>
1331: *
1332: * @generated
1333: */
1334: public static final AttributeType ENTITY_TYPE = AttributeTypeFactory
1335: .newAttributeType("ENTITY", java.lang.Object.class);
1336:
1337: /**
1338: * <p>
1339: * <pre>
1340: * <code>
1341: * <xs:simpleType id="IDREF" name="IDREF">
1342: * <xs:annotation>
1343: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#IDREF"/>
1344: * </xs:annotation>
1345: * <xs:restriction base="xs:NCName"/>
1346: * </xs:simpleType>
1347: *
1348: * </code>
1349: * </pre>
1350: * </p>
1351: *
1352: * @generated
1353: */
1354: public static final AttributeType IDREF_TYPE = AttributeTypeFactory
1355: .newAttributeType("IDREF", java.lang.Object.class);
1356:
1357: /**
1358: * <p>
1359: * <pre>
1360: * <code>
1361: * <xs:simpleType id="unsignedLong" name="unsignedLong">
1362: * <xs:annotation>
1363: * <xs:appinfo>
1364: * <hfp:hasProperty name="bounded" value="true"/>
1365: * <hfp:hasProperty name="cardinality" value="finite"/>
1366: * </xs:appinfo>
1367: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedLong"/>
1368: * </xs:annotation>
1369: * <xs:restriction base="xs:nonNegativeInteger">
1370: * <xs:maxInclusive id="unsignedLong.maxInclusive" value="18446744073709551615"/>
1371: * </xs:restriction>
1372: * </xs:simpleType>
1373: *
1374: * </code>
1375: * </pre>
1376: * </p>
1377: *
1378: * @generated
1379: */
1380: public static final AttributeType UNSIGNEDLONG_TYPE = AttributeTypeFactory
1381: .newAttributeType("unsignedLong", BigInteger.class);
1382:
1383: /**
1384: * <p>
1385: * <pre>
1386: * <code>
1387: * <xs:simpleType id="decimal" name="decimal">
1388: * <xs:annotation>
1389: * <xs:appinfo>
1390: * <hfp:hasFacet name="totalDigits"/>
1391: * <hfp:hasFacet name="fractionDigits"/>
1392: * <hfp:hasFacet name="pattern"/>
1393: * <hfp:hasFacet name="whiteSpace"/>
1394: * <hfp:hasFacet name="enumeration"/>
1395: * <hfp:hasFacet name="maxInclusive"/>
1396: * <hfp:hasFacet name="maxExclusive"/>
1397: * <hfp:hasFacet name="minInclusive"/>
1398: * <hfp:hasFacet name="minExclusive"/>
1399: * <hfp:hasProperty name="ordered" value="total"/>
1400: * <hfp:hasProperty name="bounded" value="false"/>
1401: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
1402: * <hfp:hasProperty name="numeric" value="true"/>
1403: * </xs:appinfo>
1404: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#decimal"/>
1405: * </xs:annotation>
1406: * <xs:restriction base="xs:anySimpleType">
1407: * <xs:whiteSpace fixed="true" id="decimal.whiteSpace" value="collapse"/>
1408: * </xs:restriction>
1409: * </xs:simpleType>
1410: *
1411: * </code>
1412: * </pre>
1413: * </p>
1414: *
1415: * @generated
1416: */
1417: public static final AttributeType DECIMAL_TYPE = AttributeTypeFactory
1418: .newAttributeType("decimal", BigDecimal.class);
1419:
1420: /**
1421: * <p>
1422: * <pre>
1423: * <code>
1424: * <xs:simpleType id="unsignedShort" name="unsignedShort">
1425: * <xs:annotation>
1426: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#unsignedShort"/>
1427: * </xs:annotation>
1428: * <xs:restriction base="xs:unsignedInt">
1429: * <xs:maxInclusive id="unsignedShort.maxInclusive" value="65535"/>
1430: * </xs:restriction>
1431: * </xs:simpleType>
1432: *
1433: * </code>
1434: * </pre>
1435: * </p>
1436: *
1437: * @generated
1438: */
1439: public static final AttributeType UNSIGNEDSHORT_TYPE = AttributeTypeFactory
1440: .newAttributeType("unsignedShort", Integer.class);
1441:
1442: /**
1443: * <p>
1444: * <pre>
1445: * <code>
1446: * <xs:simpleType id="gYear" name="gYear">
1447: * <xs:annotation>
1448: * <xs:appinfo>
1449: * <hfp:hasFacet name="pattern"/>
1450: * <hfp:hasFacet name="enumeration"/>
1451: * <hfp:hasFacet name="whiteSpace"/>
1452: * <hfp:hasFacet name="maxInclusive"/>
1453: * <hfp:hasFacet name="maxExclusive"/>
1454: * <hfp:hasFacet name="minInclusive"/>
1455: * <hfp:hasFacet name="minExclusive"/>
1456: * <hfp:hasProperty name="ordered" value="partial"/>
1457: * <hfp:hasProperty name="bounded" value="false"/>
1458: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
1459: * <hfp:hasProperty name="numeric" value="false"/>
1460: * </xs:appinfo>
1461: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#gYear"/>
1462: * </xs:annotation>
1463: * <xs:restriction base="xs:anySimpleType">
1464: * <xs:whiteSpace fixed="true" id="gYear.whiteSpace" value="collapse"/>
1465: * </xs:restriction>
1466: * </xs:simpleType>
1467: *
1468: * </code>
1469: * </pre>
1470: * </p>
1471: *
1472: * @generated
1473: */
1474: public static final AttributeType GYEAR_TYPE = AttributeTypeFactory
1475: .newAttributeType("gYear", java.lang.Object.class);
1476:
1477: /**
1478: * <p>
1479: * <pre>
1480: * <code>
1481: * <xs:simpleType id="duration" name="duration">
1482: * <xs:annotation>
1483: * <xs:appinfo>
1484: * <hfp:hasFacet name="pattern"/>
1485: * <hfp:hasFacet name="enumeration"/>
1486: * <hfp:hasFacet name="whiteSpace"/>
1487: * <hfp:hasFacet name="maxInclusive"/>
1488: * <hfp:hasFacet name="maxExclusive"/>
1489: * <hfp:hasFacet name="minInclusive"/>
1490: * <hfp:hasFacet name="minExclusive"/>
1491: * <hfp:hasProperty name="ordered" value="partial"/>
1492: * <hfp:hasProperty name="bounded" value="false"/>
1493: * <hfp:hasProperty name="cardinality" value="countably infinite"/>
1494: * <hfp:hasProperty name="numeric" value="false"/>
1495: * </xs:appinfo>
1496: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#duration"/>
1497: * </xs:annotation>
1498: * <xs:restriction base="xs:anySimpleType">
1499: * <xs:whiteSpace fixed="true" id="duration.whiteSpace" value="collapse"/>
1500: * </xs:restriction>
1501: * </xs:simpleType>
1502: *
1503: * </code>
1504: * </pre>
1505: * </p>
1506: *
1507: * @generated
1508: */
1509: public static final AttributeType DURATION_TYPE = AttributeTypeFactory
1510: .newAttributeType("duration", java.lang.Object.class);
1511:
1512: /**
1513: * <p>
1514: * <pre>
1515: * <code>
1516: * <xs:simpleType name="simpleDerivationSet">
1517: * <xs:annotation>
1518: * <xs:documentation>
1519: * #all or (possibly empty) subset of {restriction, union, list}
1520: * </xs:documentation>
1521: * <xs:documentation>
1522: * A utility type, not for public use</xs:documentation>
1523: * </xs:annotation>
1524: * <xs:union>
1525: * <xs:simpleType>
1526: * <xs:restriction base="xs:token">
1527: * <xs:enumeration value="#all"/>
1528: * </xs:restriction>
1529: * </xs:simpleType>
1530: * <xs:simpleType>
1531: * <xs:restriction base="xs:derivationControl">
1532: * <xs:enumeration value="list"/>
1533: * <xs:enumeration value="union"/>
1534: * <xs:enumeration value="restriction"/>
1535: * </xs:restriction>
1536: * </xs:simpleType>
1537: * </xs:union>
1538: * </xs:simpleType>
1539: *
1540: * </code>
1541: * </pre>
1542: * </p>
1543: *
1544: * @generated
1545: */
1546: public static final AttributeType SIMPLEDERIVATIONSET_TYPE = AttributeTypeFactory
1547: .newAttributeType("simpleDerivationSet",
1548: java.lang.Object.class);
1549:
1550: /**
1551: * <p>
1552: * <pre>
1553: * <code>
1554: * <xs:simpleType name="reducedDerivationControl">
1555: * <xs:annotation>
1556: * <xs:documentation>
1557: * A utility type, not for public use</xs:documentation>
1558: * </xs:annotation>
1559: * <xs:restriction base="xs:derivationControl">
1560: * <xs:enumeration value="extension"/>
1561: * <xs:enumeration value="restriction"/>
1562: * </xs:restriction>
1563: * </xs:simpleType>
1564: *
1565: * </code>
1566: * </pre>
1567: * </p>
1568: *
1569: * @generated
1570: */
1571: public static final AttributeType REDUCEDDERIVATIONCONTROL_TYPE = AttributeTypeFactory
1572: .newAttributeType("reducedDerivationControl",
1573: java.lang.Object.class);
1574:
1575: /**
1576: * <p>
1577: * <pre>
1578: * <code>
1579: * <xs:simpleType id="boolean" name="boolean">
1580: * <xs:annotation>
1581: * <xs:appinfo>
1582: * <hfp:hasFacet name="pattern"/>
1583: * <hfp:hasFacet name="whiteSpace"/>
1584: * <hfp:hasProperty name="ordered" value="false"/>
1585: * <hfp:hasProperty name="bounded" value="false"/>
1586: * <hfp:hasProperty name="cardinality" value="finite"/>
1587: * <hfp:hasProperty name="numeric" value="false"/>
1588: * </xs:appinfo>
1589: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#boolean"/>
1590: * </xs:annotation>
1591: * <xs:restriction base="xs:anySimpleType">
1592: * <xs:whiteSpace fixed="true" id="boolean.whiteSpace" value="collapse"/>
1593: * </xs:restriction>
1594: * </xs:simpleType>
1595: *
1596: * </code>
1597: * </pre>
1598: * </p>
1599: *
1600: * @generated
1601: */
1602: public static final AttributeType BOOLEAN_TYPE = AttributeTypeFactory
1603: .newAttributeType("boolean", Boolean.class);
1604:
1605: /**
1606: * <p>
1607: * <pre>
1608: * <code>
1609: * <xs:simpleType id="double" name="double">
1610: * <xs:annotation>
1611: * <xs:appinfo>
1612: * <hfp:hasFacet name="pattern"/>
1613: * <hfp:hasFacet name="enumeration"/>
1614: * <hfp:hasFacet name="whiteSpace"/>
1615: * <hfp:hasFacet name="maxInclusive"/>
1616: * <hfp:hasFacet name="maxExclusive"/>
1617: * <hfp:hasFacet name="minInclusive"/>
1618: * <hfp:hasFacet name="minExclusive"/>
1619: * <hfp:hasProperty name="ordered" value="total"/>
1620: * <hfp:hasProperty name="bounded" value="true"/>
1621: * <hfp:hasProperty name="cardinality" value="finite"/>
1622: * <hfp:hasProperty name="numeric" value="true"/>
1623: * </xs:appinfo>
1624: * <xs:documentation source="http://www.w3.org/TR/xmlschema-2/#double"/>
1625: * </xs:annotation>
1626: * <xs:restriction base="xs:anySimpleType">
1627: * <xs:whiteSpace fixed="true" id="double.whiteSpace" value="collapse"/>
1628: * </xs:restriction>
1629: * </xs:simpleType>
1630: *
1631: * </code>
1632: * </pre>
1633: * </p>
1634: *
1635: * @generated
1636: */
1637: public static final AttributeType DOUBLE_TYPE = AttributeTypeFactory
1638: .newAttributeType("double", Double.class);
1639:
1640: public XSSchema() {
1641: super ("http://www.w3.org/2001/XMLSchema");
1642:
1643: put(new org.geotools.feature.Name(
1644: "http://www.w3.org/2001/XMLSchema", "allNNI"),
1645: ALLNNI_TYPE);
1646: put(new org.geotools.feature.Name(
1647: "http://www.w3.org/2001/XMLSchema", "byte"), BYTE_TYPE);
1648: put(new org.geotools.feature.Name(
1649: "http://www.w3.org/2001/XMLSchema", "short"),
1650: SHORT_TYPE);
1651: put(new org.geotools.feature.Name(
1652: "http://www.w3.org/2001/XMLSchema",
1653: "nonNegativeInteger"), NONNEGATIVEINTEGER_TYPE);
1654: put(new org.geotools.feature.Name(
1655: "http://www.w3.org/2001/XMLSchema", "anySimpleType"),
1656: ANYSIMPLETYPE_TYPE);
1657: put(new org.geotools.feature.Name(
1658: "http://www.w3.org/2001/XMLSchema", "derivationSet"),
1659: DERIVATIONSET_TYPE);
1660: put(new org.geotools.feature.Name(
1661: "http://www.w3.org/2001/XMLSchema", "negativeInteger"),
1662: NEGATIVEINTEGER_TYPE);
1663: put(new org.geotools.feature.Name(
1664: "http://www.w3.org/2001/XMLSchema", "blockSet"),
1665: BLOCKSET_TYPE);
1666: put(new org.geotools.feature.Name(
1667: "http://www.w3.org/2001/XMLSchema", "unsignedByte"),
1668: UNSIGNEDBYTE_TYPE);
1669: put(new org.geotools.feature.Name(
1670: "http://www.w3.org/2001/XMLSchema", "anyURI"),
1671: ANYURI_TYPE);
1672: put(new org.geotools.feature.Name(
1673: "http://www.w3.org/2001/XMLSchema", "gMonth"),
1674: GMONTH_TYPE);
1675: put(
1676: new org.geotools.feature.Name(
1677: "http://www.w3.org/2001/XMLSchema",
1678: "normalizedString"), NORMALIZEDSTRING_TYPE);
1679: put(new org.geotools.feature.Name(
1680: "http://www.w3.org/2001/XMLSchema", "NMTOKENS"),
1681: NMTOKENS_TYPE);
1682: put(new org.geotools.feature.Name(
1683: "http://www.w3.org/2001/XMLSchema", "dateTime"),
1684: DATETIME_TYPE);
1685: put(new org.geotools.feature.Name(
1686: "http://www.w3.org/2001/XMLSchema", "gMonthDay"),
1687: GMONTHDAY_TYPE);
1688: put(new org.geotools.feature.Name(
1689: "http://www.w3.org/2001/XMLSchema", "Name"), NAME_TYPE);
1690: put(new org.geotools.feature.Name(
1691: "http://www.w3.org/2001/XMLSchema", "hexBinary"),
1692: HEXBINARY_TYPE);
1693: put(new org.geotools.feature.Name(
1694: "http://www.w3.org/2001/XMLSchema", "positiveInteger"),
1695: POSITIVEINTEGER_TYPE);
1696: put(new org.geotools.feature.Name(
1697: "http://www.w3.org/2001/XMLSchema", "integer"),
1698: INTEGER_TYPE);
1699: put(new org.geotools.feature.Name(
1700: "http://www.w3.org/2001/XMLSchema", "ENTITIES"),
1701: ENTITIES_TYPE);
1702: put(new org.geotools.feature.Name(
1703: "http://www.w3.org/2001/XMLSchema", "token"),
1704: TOKEN_TYPE);
1705: put(new org.geotools.feature.Name(
1706: "http://www.w3.org/2001/XMLSchema", "NMTOKEN"),
1707: NMTOKEN_TYPE);
1708: put(new org.geotools.feature.Name(
1709: "http://www.w3.org/2001/XMLSchema", "int"), INT_TYPE);
1710: put(new org.geotools.feature.Name(
1711: "http://www.w3.org/2001/XMLSchema", "base64Binary"),
1712: BASE64BINARY_TYPE);
1713: put(new org.geotools.feature.Name(
1714: "http://www.w3.org/2001/XMLSchema", "float"),
1715: FLOAT_TYPE);
1716: put(new org.geotools.feature.Name(
1717: "http://www.w3.org/2001/XMLSchema", "anyType"),
1718: ANYTYPE_TYPE);
1719: put(new org.geotools.feature.Name(
1720: "http://www.w3.org/2001/XMLSchema", "NCName"),
1721: NCNAME_TYPE);
1722: put(new org.geotools.feature.Name(
1723: "http://www.w3.org/2001/XMLSchema", "IDREFS"),
1724: IDREFS_TYPE);
1725: put(new org.geotools.feature.Name(
1726: "http://www.w3.org/2001/XMLSchema", "formChoice"),
1727: FORMCHOICE_TYPE);
1728: put(new org.geotools.feature.Name(
1729: "http://www.w3.org/2001/XMLSchema", "long"), LONG_TYPE);
1730: put(new org.geotools.feature.Name(
1731: "http://www.w3.org/2001/XMLSchema", "gYearMonth"),
1732: GYEARMONTH_TYPE);
1733: put(new org.geotools.feature.Name(
1734: "http://www.w3.org/2001/XMLSchema",
1735: "nonPositiveInteger"), NONPOSITIVEINTEGER_TYPE);
1736: put(new org.geotools.feature.Name(
1737: "http://www.w3.org/2001/XMLSchema", "NOTATION"),
1738: NOTATION_TYPE);
1739: put(new org.geotools.feature.Name(
1740: "http://www.w3.org/2001/XMLSchema", "time"), TIME_TYPE);
1741: put(
1742: new org.geotools.feature.Name(
1743: "http://www.w3.org/2001/XMLSchema",
1744: "derivationControl"), DERIVATIONCONTROL_TYPE);
1745: put(new org.geotools.feature.Name(
1746: "http://www.w3.org/2001/XMLSchema", "QName"),
1747: QNAME_TYPE);
1748: put(new org.geotools.feature.Name(
1749: "http://www.w3.org/2001/XMLSchema", "unsignedInt"),
1750: UNSIGNEDINT_TYPE);
1751: put(new org.geotools.feature.Name(
1752: "http://www.w3.org/2001/XMLSchema", "namespaceList"),
1753: NAMESPACELIST_TYPE);
1754: put(new org.geotools.feature.Name(
1755: "http://www.w3.org/2001/XMLSchema", "date"), DATE_TYPE);
1756: put(new org.geotools.feature.Name(
1757: "http://www.w3.org/2001/XMLSchema", "gDay"), GDAY_TYPE);
1758: put(new org.geotools.feature.Name(
1759: "http://www.w3.org/2001/XMLSchema", "string"),
1760: STRING_TYPE);
1761: put(new org.geotools.feature.Name(
1762: "http://www.w3.org/2001/XMLSchema", "language"),
1763: LANGUAGE_TYPE);
1764: put(new org.geotools.feature.Name(
1765: "http://www.w3.org/2001/XMLSchema", "public"),
1766: PUBLIC_TYPE);
1767: put(new org.geotools.feature.Name(
1768: "http://www.w3.org/2001/XMLSchema", "ID"), ID_TYPE);
1769: put(new org.geotools.feature.Name(
1770: "http://www.w3.org/2001/XMLSchema", "ENTITY"),
1771: ENTITY_TYPE);
1772: put(new org.geotools.feature.Name(
1773: "http://www.w3.org/2001/XMLSchema", "IDREF"),
1774: IDREF_TYPE);
1775: put(new org.geotools.feature.Name(
1776: "http://www.w3.org/2001/XMLSchema", "unsignedLong"),
1777: UNSIGNEDLONG_TYPE);
1778: put(new org.geotools.feature.Name(
1779: "http://www.w3.org/2001/XMLSchema", "decimal"),
1780: DECIMAL_TYPE);
1781: put(new org.geotools.feature.Name(
1782: "http://www.w3.org/2001/XMLSchema", "unsignedShort"),
1783: UNSIGNEDSHORT_TYPE);
1784: put(new org.geotools.feature.Name(
1785: "http://www.w3.org/2001/XMLSchema", "gYear"),
1786: GYEAR_TYPE);
1787: put(new org.geotools.feature.Name(
1788: "http://www.w3.org/2001/XMLSchema", "duration"),
1789: DURATION_TYPE);
1790: put(new org.geotools.feature.Name(
1791: "http://www.w3.org/2001/XMLSchema",
1792: "simpleDerivationSet"), SIMPLEDERIVATIONSET_TYPE);
1793: put(new org.geotools.feature.Name(
1794: "http://www.w3.org/2001/XMLSchema",
1795: "reducedDerivationControl"),
1796: REDUCEDDERIVATIONCONTROL_TYPE);
1797: put(new org.geotools.feature.Name(
1798: "http://www.w3.org/2001/XMLSchema", "boolean"),
1799: BOOLEAN_TYPE);
1800: put(new org.geotools.feature.Name(
1801: "http://www.w3.org/2001/XMLSchema", "double"),
1802: DOUBLE_TYPE);
1803: }
1804: }
|