1 type derived from DatatypeImplementation
System.Xml (1)
System\Xml\Schema\DataTypeImplementation.cs (1)
1200internal class Datatype_anySimpleType : DatatypeImplementation {
150 references to DatatypeImplementation
System.Xml (150)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
3722XmlSchemaSimpleType xsst = DatatypeImplementation.GetSimpleTypeFromTypeCode(typeCode);
System\Xml\Schema\DataTypeImplementation.cs (95)
96private DatatypeImplementation baseType = null; 138internal new static DatatypeImplementation FromXmlTokenizedType(XmlTokenizedType token) { 142internal new static DatatypeImplementation FromXmlTokenizedTypeXsd(XmlTokenizedType token) { 146internal new static DatatypeImplementation FromXdrName(string name) { 148return i < 0 ? null : (DatatypeImplementation)c_XdrTypes[i]; 151private static DatatypeImplementation FromTypeName(string name) { 153return i < 0 ? null : (DatatypeImplementation)c_XsdTypes[i]; 216DatatypeImplementation dt = FromTypeName(qname.Name); 329while (currentType.BaseXmlSchemaType != DatatypeImplementation.AnySimpleType) { 337DatatypeImplementation dt = (DatatypeImplementation)MemberwiseClone(); 356DatatypeImplementation dt = new Datatype_List(this, minSize); 364internal new static DatatypeImplementation DeriveByUnion(XmlSchemaSimpleType[] types, XmlSchemaType schemaType) { 365DatatypeImplementation dt = new Datatype_union(types); 380for(DatatypeImplementation dt = this; dt != null; dt = dt.baseType) { 385if (((DatatypeImplementation)datatype).baseType == null) { //Both are built-in types 469protected DatatypeImplementation Base { get { return baseType; }} 565static private readonly DatatypeImplementation c_anySimpleType = new Datatype_anySimpleType(); 566static private readonly DatatypeImplementation c_anyURI = new Datatype_anyURI(); 567static private readonly DatatypeImplementation c_base64Binary = new Datatype_base64Binary(); 568static private readonly DatatypeImplementation c_boolean = new Datatype_boolean(); 569static private readonly DatatypeImplementation c_byte = new Datatype_byte(); 570static private readonly DatatypeImplementation c_char = new Datatype_char(); // XDR 571static private readonly DatatypeImplementation c_date = new Datatype_date(); 572static private readonly DatatypeImplementation c_dateTime = new Datatype_dateTime(); 573static private readonly DatatypeImplementation c_dateTimeNoTz = new Datatype_dateTimeNoTimeZone(); // XDR 574static private readonly DatatypeImplementation c_dateTimeTz = new Datatype_dateTimeTimeZone(); // XDR 575static private readonly DatatypeImplementation c_day = new Datatype_day(); 576static private readonly DatatypeImplementation c_decimal = new Datatype_decimal(); 577static private readonly DatatypeImplementation c_double = new Datatype_double(); 578static private readonly DatatypeImplementation c_doubleXdr = new Datatype_doubleXdr(); // XDR 579static private readonly DatatypeImplementation c_duration = new Datatype_duration(); 580static private readonly DatatypeImplementation c_ENTITY = new Datatype_ENTITY(); 581static private readonly DatatypeImplementation c_ENTITIES = (DatatypeImplementation)c_ENTITY.DeriveByList(1, null); 582static private readonly DatatypeImplementation c_ENUMERATION = new Datatype_ENUMERATION(); // XDR 583static private readonly DatatypeImplementation c_fixed = new Datatype_fixed(); 584static private readonly DatatypeImplementation c_float = new Datatype_float(); 585static private readonly DatatypeImplementation c_floatXdr = new Datatype_floatXdr(); // XDR 586static private readonly DatatypeImplementation c_hexBinary = new Datatype_hexBinary(); 587static private readonly DatatypeImplementation c_ID = new Datatype_ID(); 588static private readonly DatatypeImplementation c_IDREF = new Datatype_IDREF(); 589static private readonly DatatypeImplementation c_IDREFS = (DatatypeImplementation)c_IDREF.DeriveByList(1, null); 590static private readonly DatatypeImplementation c_int = new Datatype_int(); 591static private readonly DatatypeImplementation c_integer = new Datatype_integer(); 592static private readonly DatatypeImplementation c_language = new Datatype_language(); 593static private readonly DatatypeImplementation c_long = new Datatype_long(); 594static private readonly DatatypeImplementation c_month = new Datatype_month(); 595static private readonly DatatypeImplementation c_monthDay = new Datatype_monthDay(); 596static private readonly DatatypeImplementation c_Name = new Datatype_Name(); 597static private readonly DatatypeImplementation c_NCName = new Datatype_NCName(); 598static private readonly DatatypeImplementation c_negativeInteger = new Datatype_negativeInteger(); 599static private readonly DatatypeImplementation c_NMTOKEN = new Datatype_NMTOKEN(); 600static private readonly DatatypeImplementation c_NMTOKENS = (DatatypeImplementation)c_NMTOKEN.DeriveByList(1, null); 601static private readonly DatatypeImplementation c_nonNegativeInteger = new Datatype_nonNegativeInteger(); 602static private readonly DatatypeImplementation c_nonPositiveInteger = new Datatype_nonPositiveInteger(); 603static private readonly DatatypeImplementation c_normalizedString = new Datatype_normalizedString(); 604static private readonly DatatypeImplementation c_NOTATION = new Datatype_NOTATION(); 605static private readonly DatatypeImplementation c_positiveInteger = new Datatype_positiveInteger(); 606static private readonly DatatypeImplementation c_QName = new Datatype_QName(); 607static private readonly DatatypeImplementation c_QNameXdr = new Datatype_QNameXdr(); //XDR 608static private readonly DatatypeImplementation c_short = new Datatype_short(); 609static private readonly DatatypeImplementation c_string = new Datatype_string(); 610static private readonly DatatypeImplementation c_time = new Datatype_time(); 611static private readonly DatatypeImplementation c_timeNoTz = new Datatype_timeNoTimeZone(); // XDR 612static private readonly DatatypeImplementation c_timeTz = new Datatype_timeTimeZone(); // XDR 613static private readonly DatatypeImplementation c_token = new Datatype_token(); 614static private readonly DatatypeImplementation c_unsignedByte = new Datatype_unsignedByte(); 615static private readonly DatatypeImplementation c_unsignedInt = new Datatype_unsignedInt(); 616static private readonly DatatypeImplementation c_unsignedLong = new Datatype_unsignedLong(); 617static private readonly DatatypeImplementation c_unsignedShort = new Datatype_unsignedShort(); 618static private readonly DatatypeImplementation c_uuid = new Datatype_uuid(); // XDR 619static private readonly DatatypeImplementation c_year = new Datatype_year(); 620static private readonly DatatypeImplementation c_yearMonth = new Datatype_yearMonth(); 623static internal readonly DatatypeImplementation c_normalizedStringV1Compat = new Datatype_normalizedStringV1Compat(); 624static internal readonly DatatypeImplementation c_tokenV1Compat = new Datatype_tokenV1Compat(); 627static private readonly DatatypeImplementation c_anyAtomicType = new Datatype_anyAtomicType(); 628static private readonly DatatypeImplementation c_dayTimeDuration = new Datatype_dayTimeDuration(); 629static private readonly DatatypeImplementation c_untypedAtomicType = new Datatype_untypedAtomicType(); 630static private readonly DatatypeImplementation c_yearMonthDuration = new Datatype_yearMonthDuration(); 635DatatypeImplementation type; 638internal SchemaDatatypeMap(string name, DatatypeImplementation type) { 643internal SchemaDatatypeMap(string name, DatatypeImplementation type, int parentIndex) { 648public static explicit operator DatatypeImplementation(SchemaDatatypeMap sdm) { return sdm.type; } 665private static readonly DatatypeImplementation[] c_tokenizedTypes = { 681private static readonly DatatypeImplementation[] c_tokenizedTypesXsd = { 827DatatypeImplementation itemType; 856} while (simpleType != null && simpleType != DatatypeImplementation.AnySimpleType); 860listItemType = DatatypeImplementation.GetSimpleTypeFromTypeCode(schemaType.Datatype.TypeCode); 866internal Datatype_List(DatatypeImplementation type) : this(type, 0) { 868internal Datatype_List(DatatypeImplementation type, int minListSize) { 924internal DatatypeImplementation ItemType { get { return itemType; }} 1103internal bool IsUnionBaseOf(DatatypeImplementation derivedType) {
System\Xml\Schema\FacetChecker.cs (6)
26DatatypeImplementation datatype; 42public FacetsCompiler(DatatypeImplementation baseDatatype, RestrictionFacets restriction) { 51nonNegativeInt = DatatypeImplementation.GetSimpleTypeFromTypeCode(XmlTypeCode.NonNegativeInteger).Datatype; 53builtInType = (int)builtInEnum > 0 ? DatatypeImplementation.GetSimpleTypeFromTypeCode(builtInEnum).Datatype : datatype; 257XmlSchemaDatatype positiveInt = DatatypeImplementation.GetSimpleTypeFromTypeCode(XmlTypeCode.PositiveInteger).Datatype; 735internal virtual RestrictionFacets ConstructRestriction(DatatypeImplementation datatype, XmlSchemaObjectCollection facets, XmlNameTable nameTable) {
System\Xml\Schema\Preprocessor.cs (1)
478XmlSchemaDatatype tokenDt = DatatypeImplementation.GetSimpleTypeFromTypeCode(XmlTypeCode.Token).Datatype;
System\Xml\Schema\SchemaCollectionCompiler.cs (14)
160this.schema.SchemaTypes.Insert(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 212this.schema.SchemaTypes.Remove(DatatypeImplementation.QnAnyType); //For backward compatibility 420simpleType.SetBaseSchemaType(DatatypeImplementation.AnySimpleType); 456if (restriction.BaseTypeName.Equals(DatatypeImplementation.QnAnySimpleType)) { 476simpleType.SetBaseSchemaType(DatatypeImplementation.AnySimpleType); 486simpleType.SetDatatype(DatatypeImplementation.AnySimpleType.Datatype); 723complexType.SetDatatype(DatatypeImplementation.AnySimpleType.Datatype); 1693decl.SchemaType = DatatypeImplementation.AnySimpleType; 1694decl.Datatype = DatatypeImplementation.AnySimpleType.Datatype; 1695xa.SetAttributeType(DatatypeImplementation.AnySimpleType); 2152type = DatatypeImplementation.GetSimpleTypeFromXsdType(name); 2156type = DatatypeImplementation.GetNormalizedStringTypeV1Compat(); 2159type = DatatypeImplementation.GetTokenTypeV1Compat(); 2186XmlSchemaSimpleType simpleType = DatatypeImplementation.GetSimpleTypeFromXsdType(name);
System\Xml\Schema\SchemaElementDecl.cs (1)
59anyTypeElementDecl.Datatype = DatatypeImplementation.AnySimpleType.Datatype;
System\Xml\Schema\SchemaSetCompiler.cs (15)
99XmlSchemaSimpleType[] schemaSimpleTypes = DatatypeImplementation.GetBuiltInTypes(); 152schemaTypes.Insert(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 154schemaForSchema.SchemaTypes.Replace(DatatypeImplementation.QnAnyType, XmlSchemaComplexType.AnyType); 241if (complexType.QualifiedName == DatatypeImplementation.QnAnyType) { //if it is built-in anyType dont clean it. 484simpleType.SetBaseSchemaType(DatatypeImplementation.AnySimpleType); 520if (restriction.BaseTypeName.Equals(DatatypeImplementation.QnAnySimpleType)) { 543simpleType.SetBaseSchemaType(DatatypeImplementation.AnySimpleType); 553simpleType.SetDatatype(DatatypeImplementation.AnySimpleType.Datatype); 781complexType.SetDatatype(DatatypeImplementation.AnySimpleType.Datatype); 2023decl.SchemaType = DatatypeImplementation.AnySimpleType; 2024decl.Datatype = DatatypeImplementation.AnySimpleType.Datatype; 2025xa.SetAttributeType(DatatypeImplementation.AnySimpleType); 2246decl.DefaultValueTyped = DatatypeImplementation.AnySimpleType.Datatype.ParseValue(decl.DefaultValueRaw, NameTable, new SchemaNamespaceManager(xe)); 2526type = DatatypeImplementation.GetSimpleTypeFromXsdType(name); 2551XmlSchemaSimpleType simpleType = DatatypeImplementation.GetSimpleTypeFromXsdType(name);
System\Xml\Schema\XmlSchemaComplexType.cs (1)
62localAnyType.SetQualifiedName(DatatypeImplementation.QnAnyType);
System\Xml\Schema\XmlSchemaDataType.cs (4)
292return DatatypeImplementation.FromXmlTokenizedType(token); 296return DatatypeImplementation.FromXmlTokenizedTypeXsd(token); 300return DatatypeImplementation.FromXdrName(name); 304return DatatypeImplementation.DeriveByUnion(types, schemaType);
System\Xml\Schema\XmlSchemaDocumentation.cs (1)
22static XmlSchemaSimpleType languageType = DatatypeImplementation.GetSimpleTypeFromXsdType(new XmlQualifiedName("language",XmlReservedNs.NsXs));
System\Xml\Schema\XmlSchemaSet.cs (4)
654if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) { //it has xs:anyType 666if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) { //it has xs:anyType 926if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) { //it has xs:anyType 938if (schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) { //it has xs:anyType
System\Xml\Schema\XmlSchemaType.cs (4)
41return DatatypeImplementation.GetSimpleTypeFromXsdType(qualifiedName); 49return DatatypeImplementation.GetSimpleTypeFromTypeCode(typeCode); 268if (bt == DatatypeImplementation.AnySimpleType) { //Not checking block=restriction 293if (DatatypeImplementation.AnySimpleType.Datatype == baseDataType) {
System\Xml\Schema\XmlSchemaValidator.cs (1)
1422XmlSchemaType schemaType = DatatypeImplementation.GetSimpleTypeFromXsdType(xsiTypeName);
System\Xml\Schema\XmlValueConverter.cs (1)
2167protected XmlUntypedConverter() : base(DatatypeImplementation.UntypedAtomicType) {
System\Xml\Schema\XsdValidator.cs (1)
338XmlSchemaSimpleType simpleType = DatatypeImplementation.GetSimpleTypeFromXsdType(new XmlQualifiedName(xsiType.Name,NsXs));