C# Class System.Xml.Schema.Compiler

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

Méthodes publiques

Méthode Description
Compiler ( XmlNameTable nameTable, ValidationEventHandler eventHandler, XmlSchema schemaForSchema, XmlSchemaCompilationSettings compilationSettings ) : System
Execute ( XmlSchemaSet schemaSet, SchemaInfo schemaCompiledInfo ) : bool

Private Methods

Méthode Description
BuildParticleContentModel ( ParticleContentValidator contentValidator, XmlSchemaParticle particle ) : bool
CalculateEffectiveTotalRange ( XmlSchemaParticle particle, decimal &minOccurs, decimal &maxOccurs ) : void
CannonicalizeAll ( XmlSchemaAll all, bool root ) : XmlSchemaParticle
CannonicalizeChoice ( XmlSchemaChoice choice, bool root ) : XmlSchemaParticle
CannonicalizeElement ( XmlSchemaElement element ) : XmlSchemaParticle
CannonicalizeGroupRef ( XmlSchemaGroupRef groupRef, bool root ) : XmlSchemaParticle
CannonicalizeParticle ( XmlSchemaParticle particle, bool root ) : XmlSchemaParticle
CannonicalizePointlessRoot ( XmlSchemaParticle particle ) : XmlSchemaParticle
CannonicalizeSequence ( XmlSchemaSequence sequence, bool root ) : XmlSchemaParticle
CheckAtrributeGroupRestriction ( XmlSchemaAttributeGroup baseAttributeGroup, XmlSchemaAttributeGroup derivedAttributeGroup ) : void
CheckParticleDerivation ( XmlSchemaComplexType complexType ) : void
CheckParticleDerivation ( XmlSchemaParticle derivedParticle, XmlSchemaParticle baseParticle ) : void
CheckUnionType ( XmlSchemaSimpleType unionMember, ArrayList memberTypeDefinitions, XmlSchemaSimpleType parentType ) : 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 ( ) : bool
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[]
CompileComplexContent ( XmlSchemaComplexType complexType ) : ContentValidator
CompileComplexContentExtension ( XmlSchemaComplexType complexType, XmlSchemaComplexContent complexContent, XmlSchemaComplexContentExtension complexExtension ) : void
CompileComplexContentRestriction ( XmlSchemaComplexType complexType, XmlSchemaComplexContent complexContent, XmlSchemaComplexContentRestriction complexRestriction ) : void
CompileComplexType ( XmlSchemaComplexType complexType ) : void
CompileComplexTypeElements ( XmlSchemaComplexType complexType ) : void
CompileContentTypeParticle ( XmlSchemaParticle particle ) : 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
CompileParticleElements ( XmlSchemaParticle particle ) : void
CompileSimpleContentExtension ( XmlSchemaComplexType complexType, XmlSchemaSimpleContentExtension simpleExtension ) : void
CompileSimpleContentRestriction ( XmlSchemaComplexType complexType, XmlSchemaSimpleContentRestriction simpleRestriction ) : void
CompileSimpleType ( XmlSchemaSimpleType simpleType ) : void
CompileSubstitutionGroup ( XmlSchemaSubstitutionGroup substitutionGroup ) : void
CopyPosition ( XmlSchemaObject to, XmlSchemaObject from, bool copyParent ) : 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
ImportAllCompiledSchemas ( XmlSchemaSet schemaSet ) : void
IsAnyFromAny ( XmlSchemaAny derivedAny, XmlSchemaAny baseAny ) : bool
IsChoiceFromChoiceSubstGroup ( XmlSchemaChoice derivedChoice, XmlSchemaChoice baseChoice ) : bool
IsElementFromAny ( XmlSchemaElement derivedElement, XmlSchemaAny baseAny ) : bool
IsElementFromElement ( XmlSchemaElement derivedElement, XmlSchemaElement baseElement ) : bool
IsElementFromGroupBase ( XmlSchemaElement derivedElement, XmlSchemaGroupBase baseGroupBase ) : bool
IsFixedEqual ( SchemaDeclBase baseDecl, SchemaDeclBase derivedDecl ) : bool
IsGroupBaseFromAny ( XmlSchemaGroupBase derivedGroupBase, XmlSchemaAny baseAny ) : bool
IsGroupBaseFromGroupBase ( XmlSchemaGroupBase derivedGroupBase, XmlSchemaGroupBase baseGroupBase, bool skipEmptableOnly ) : bool
IsParticleEmptiable ( XmlSchemaParticle particle ) : bool
IsProcessContentsRestricted ( XmlSchemaComplexType baseType, XmlSchemaAnyAttribute derivedAttributeWildcard, XmlSchemaAnyAttribute baseAttributeWildcard ) : 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 ( XmlSchema schema, bool cleanup ) : void
ProcessSubstitutionGroups ( ) : void
PushComplexType ( XmlSchemaComplexType complexType ) : void
RecursivelyCheckRedefinedAttributeGroups ( XmlSchemaAttributeGroup attributeGroup, XmlSchemaAttributeGroup baseAttributeGroup ) : void
RecursivelyCheckRedefinedGroups ( XmlSchemaGroup redefinedGroup, XmlSchemaGroup baseGroup ) : void
SetDefaultFixed ( XmlSchemaAttribute xa, SchemaAttDef decl ) : void
UpdateSForSSimpleTypes ( ) : void

Method Details

Compiler() public méthode

public Compiler ( XmlNameTable nameTable, ValidationEventHandler eventHandler, XmlSchema schemaForSchema, XmlSchemaCompilationSettings compilationSettings ) : System
nameTable XmlNameTable
eventHandler ValidationEventHandler
schemaForSchema XmlSchema
compilationSettings XmlSchemaCompilationSettings
Résultat System

Execute() public méthode

public Execute ( XmlSchemaSet schemaSet, SchemaInfo schemaCompiledInfo ) : bool
schemaSet XmlSchemaSet
schemaCompiledInfo SchemaInfo
Résultat bool