C# Class System.Xml.Schema.DatatypeImplementation

Inheritance: XmlSchemaDatatype
Exibir arquivo Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
CreateBuiltinTypes void
CreateValueConverter System.Xml.Schema.XmlValueConverter
DatatypeImplementation System
DeriveByList XmlSchemaDatatype
DeriveByList XmlSchemaDatatype
DeriveByRestriction XmlSchemaDatatype
DeriveByUnion DatatypeImplementation
FinishBuiltinType void
FromTypeName DatatypeImplementation
FromXdrName DatatypeImplementation
FromXmlTokenizedType DatatypeImplementation
FromXmlTokenizedTypeXsd DatatypeImplementation
GetBuiltInTypes System.Xml.Schema.XmlSchemaSimpleType[]
GetNormalizedStringTypeV1Compat XmlSchemaSimpleType
GetPrimitiveTypeCode XmlTypeCode
GetSimpleTypeFromTypeCode XmlSchemaSimpleType
GetSimpleTypeFromXsdType XmlSchemaSimpleType
GetTokenTypeV1Compat XmlSchemaSimpleType
GetTypeName string
IsComparable bool
IsEqual bool
ParseValue object
ParseValue object
StartBuiltinType XmlSchemaSimpleType
TryParseValue System.Exception
VerifySchemaValid void

Public Methods

Method Description
IsDerivedFrom ( XmlSchemaDatatype datatype ) : bool
ParseValue ( string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr ) : object

Protected Methods

Method Description
Compare ( byte value1, byte value2 ) : int
GetValueToCheck ( object value, IXmlNamespaceResolver nsmgr ) : object

Private Methods

Method Description
CreateBuiltinTypes ( ) : void
CreateValueConverter ( XmlSchemaType schemaType ) : System.Xml.Schema.XmlValueConverter
DatatypeImplementation ( ) : System
DeriveByList ( XmlSchemaType schemaType ) : XmlSchemaDatatype
DeriveByList ( int minSize, XmlSchemaType schemaType ) : XmlSchemaDatatype
DeriveByRestriction ( XmlSchemaObjectCollection facets, XmlNameTable nameTable, XmlSchemaType schemaType ) : XmlSchemaDatatype
DeriveByUnion ( XmlSchemaSimpleType types, XmlSchemaType schemaType ) : DatatypeImplementation
FinishBuiltinType ( XmlSchemaSimpleType derivedType, XmlSchemaSimpleType baseType ) : void

Finish constructing built-in types by setting up derivation and list links.

FromTypeName ( string name ) : DatatypeImplementation
FromXdrName ( string name ) : DatatypeImplementation
FromXmlTokenizedType ( XmlTokenizedType token ) : DatatypeImplementation
FromXmlTokenizedTypeXsd ( XmlTokenizedType token ) : DatatypeImplementation
GetBuiltInTypes ( ) : System.Xml.Schema.XmlSchemaSimpleType[]
GetNormalizedStringTypeV1Compat ( ) : XmlSchemaSimpleType
GetPrimitiveTypeCode ( XmlTypeCode typeCode ) : XmlTypeCode
GetSimpleTypeFromTypeCode ( XmlTypeCode typeCode ) : XmlSchemaSimpleType
GetSimpleTypeFromXsdType ( XmlQualifiedName qname ) : XmlSchemaSimpleType
GetTokenTypeV1Compat ( ) : XmlSchemaSimpleType
GetTypeName ( ) : string
IsComparable ( XmlSchemaDatatype dtype ) : bool
IsEqual ( object o1, object o2 ) : bool
ParseValue ( string s, Type typDest, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr ) : object
ParseValue ( string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr, bool createAtomicValue ) : object
StartBuiltinType ( XmlQualifiedName qname, XmlSchemaDatatype dataType ) : XmlSchemaSimpleType

Begin the creation of an XmlSchemaSimpleType object that will be used to represent a static built-in type. Once StartBuiltinType has been called for all built-in types, FinishBuiltinType should be called in order to create links between the types.

TryParseValue ( object value, XmlNameTable nameTable, IXmlNamespaceResolver namespaceResolver, object &typedValue ) : Exception
VerifySchemaValid ( XmlSchemaObjectTable notations, XmlSchemaObject caller ) : void

Method Details

Compare() protected method

protected Compare ( byte value1, byte value2 ) : int
value1 byte
value2 byte
return int

GetValueToCheck() protected method

protected GetValueToCheck ( object value, IXmlNamespaceResolver nsmgr ) : object
value object
nsmgr IXmlNamespaceResolver
return object

IsDerivedFrom() public method

public IsDerivedFrom ( XmlSchemaDatatype datatype ) : bool
datatype XmlSchemaDatatype
return bool

ParseValue() public method

public ParseValue ( string s, XmlNameTable nameTable, IXmlNamespaceResolver nsmgr ) : object
s string
nameTable System.Xml.XmlNameTable
nsmgr IXmlNamespaceResolver
return object