C# Class System.Xml.Schema.SchemaCollectionCompiler

Inheritance: BaseProcessor
Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Méthodes publiques

Méthode Description
Execute ( XmlSchema schema, SchemaInfo schemaInfo, bool compileContentModel ) : bool
SchemaCollectionCompiler ( XmlNameTable nameTable, ValidationEventHandler eventHandler ) : System

Private Methods

Méthode Description
BuildParticleContentModel ( ParticleContentValidator contentValidator, XmlSchemaParticle particle ) : void
CalculateEffectiveTotalRange ( XmlSchemaParticle particle, decimal &minOccurs, decimal &maxOccurs ) : void
CalculateSequenceRange ( XmlSchemaSequence sequence, decimal &minOccurs, decimal &maxOccurs ) : void
CannonicalizeAll ( XmlSchemaAll all, bool root, bool substitution ) : XmlSchemaParticle
CannonicalizeChoice ( XmlSchemaChoice choice, bool root, bool substitution ) : XmlSchemaParticle
CannonicalizeElement ( XmlSchemaElement element, bool substitution ) : XmlSchemaParticle
CannonicalizeGroupRef ( XmlSchemaGroupRef groupRef, bool root, bool substitution ) : XmlSchemaParticle
CannonicalizeParticle ( XmlSchemaParticle particle, bool root, bool substitution ) : XmlSchemaParticle
CannonicalizeSequence ( XmlSchemaSequence sequence, bool root, bool substitution ) : XmlSchemaParticle
CheckParticleDerivation ( XmlSchemaComplexType complexType ) : void
CheckSubstitutionGroup ( XmlSchemaSubstitutionGroup substitutionGroup ) : void
CheckUnionType ( XmlSchemaSimpleType unionMember, ArrayList memberTypeDefinitions, XmlSchemaSimpleType parentType ) : void
Cleanup ( ) : void
Cleanup ( XmlSchema schema ) : void
CleanupAttribute ( XmlSchemaAttribute attribute ) : void
CleanupAttributeGroup ( XmlSchemaAttributeGroup attributeGroup ) : void
CleanupAttributes ( XmlSchemaObjectCollection attributes ) : void
CleanupComplexType ( XmlSchemaComplexType complexType ) : void
CleanupElement ( XmlSchemaElement element ) : void
CleanupGroup ( XmlSchemaGroup group ) : void
CleanupParticle ( XmlSchemaParticle particle ) : void
CleanupSimpleType ( XmlSchemaSimpleType simpleType ) : void
Compile ( ) : void
CompileAnyAttributeIntersection ( XmlSchemaAnyAttribute a, XmlSchemaAnyAttribute b ) : XmlSchemaAnyAttribute
CompileAnyAttributeUnion ( XmlSchemaAnyAttribute a, XmlSchemaAnyAttribute b ) : XmlSchemaAnyAttribute
CompileAttribute ( XmlSchemaAttribute xa ) : void
CompileAttributeGroup ( XmlSchemaAttributeGroup attributeGroup ) : void
CompileBaseMemberTypes ( XmlSchemaSimpleType simpleType ) : System.Xml.Schema.XmlSchemaSimpleType[]
CompileCompexTypeElements ( XmlSchemaComplexType complexType ) : void
CompileComplexContent ( XmlSchemaComplexType complexType ) : ContentValidator
CompileComplexContentExtension ( XmlSchemaComplexType complexType, XmlSchemaComplexContent complexContent, XmlSchemaComplexContentExtension complexExtension ) : void
CompileComplexContentRestriction ( XmlSchemaComplexType complexType, XmlSchemaComplexContent complexContent, XmlSchemaComplexContentRestriction complexRestriction ) : void
CompileComplexType ( XmlSchemaComplexType complexType ) : void
CompileContentTypeParticle ( XmlSchemaParticle particle, bool substitution ) : XmlSchemaParticle
CompileElement ( XmlSchemaElement xe ) : void
CompileGroup ( XmlSchemaGroup group ) : void
CompileIdentityConstraint ( XmlSchemaIdentityConstraint xi ) : void
CompileLocalAttributes ( XmlSchemaComplexType baseType, XmlSchemaComplexType derivedType, XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute anyAttribute, XmlSchemaDerivationMethod derivedBy ) : void
CompileParticleElements ( XmlSchemaComplexType complexType, XmlSchemaParticle particle ) : void
CompileSimpleContentExtension ( XmlSchemaComplexType complexType, XmlSchemaSimpleContentExtension simpleExtension ) : void
CompileSimpleContentRestriction ( XmlSchemaComplexType complexType, XmlSchemaSimpleContentRestriction simpleRestriction ) : void
CompileSimpleType ( XmlSchemaSimpleType simpleType ) : void
CompileSubstitutionGroup ( XmlSchemaSubstitutionGroupV1Compat substitutionGroup ) : void
DumpAttributes ( XmlSchemaObjectTable attributeUses, XmlSchemaAnyAttribute attributeWildcard ) : string
DumpContentModel ( XmlSchemaParticle particle ) : string
DumpContentModelTo ( StringBuilder sb, XmlSchemaParticle particle ) : void
GetAnySchemaType ( XmlQualifiedName name ) : XmlSchemaType
GetComplexType ( XmlQualifiedName name ) : XmlSchemaComplexType
GetMappingParticle ( XmlSchemaParticle particle, XmlSchemaObjectCollection collection ) : int
GetSchemaContentType ( XmlSchemaComplexType complexType, XmlSchemaComplexContent complexContent, XmlSchemaParticle particle ) : XmlSchemaContentType
GetSimpleType ( XmlQualifiedName name ) : XmlSchemaSimpleType
IsAnyFromAny ( XmlSchemaAny derivedAny, XmlSchemaAny baseAny ) : bool
IsElementFromAny ( XmlSchemaElement derivedElement, XmlSchemaAny baseAny ) : bool
IsElementFromElement ( XmlSchemaElement derivedElement, XmlSchemaElement baseElement ) : bool
IsElementFromGroupBase ( XmlSchemaElement derivedElement, XmlSchemaGroupBase baseGroupBase, bool skipEmptableOnly ) : bool
IsGroupBaseFromAny ( XmlSchemaGroupBase derivedGroupBase, XmlSchemaAny baseAny ) : bool
IsGroupBaseFromGroupBase ( XmlSchemaGroupBase derivedGroupBase, XmlSchemaGroupBase baseGroupBase, bool skipEmptableOnly ) : bool
IsParticleEmptiable ( XmlSchemaParticle particle ) : bool
IsSequenceFromAll ( XmlSchemaSequence derivedSequence, XmlSchemaAll baseAll ) : bool
IsSequenceFromChoice ( XmlSchemaSequence derivedSequence, XmlSchemaChoice baseChoice ) : bool
IsValidOccurrenceRangeRestriction ( XmlSchemaParticle derivedParticle, XmlSchemaParticle baseParticle ) : bool
IsValidOccurrenceRangeRestriction ( decimal minOccurs, decimal maxOccurs, decimal baseMinOccurs, decimal baseMaxOccurs ) : bool
IsValidRestriction ( XmlSchemaParticle derivedParticle, XmlSchemaParticle baseParticle ) : bool
Output ( SchemaInfo schemaInfo ) : void
Prepare ( ) : void
PushComplexType ( XmlSchemaComplexType complexType ) : void

Method Details

Execute() public méthode

public Execute ( XmlSchema schema, SchemaInfo schemaInfo, bool compileContentModel ) : bool
schema XmlSchema
schemaInfo SchemaInfo
compileContentModel bool
Résultat bool

SchemaCollectionCompiler() public méthode

public SchemaCollectionCompiler ( XmlNameTable nameTable, ValidationEventHandler eventHandler ) : System
nameTable XmlNameTable
eventHandler ValidationEventHandler
Résultat System