Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Xml.Schema.SchemaCollectionPreprocessor Class Referencesealed

Public Member Functions

 SchemaCollectionPreprocessor (XmlNameTable nameTable, SchemaNames schemaNames, ValidationEventHandler eventHandler)
 
bool Execute (XmlSchema schema, string targetNamespace, bool loadExternals, XmlSchemaCollection xsc)
 

Protected Member Functions

void AddToTable (XmlSchemaObjectTable table, XmlQualifiedName qname, XmlSchemaObject item)
 
void SendValidationEvent (string code, XmlSchemaObject source)
 
void SendValidationEvent (string code, string msg, XmlSchemaObject source)
 
void SendValidationEvent (string code, string msg1, string msg2, XmlSchemaObject source)
 
void SendValidationEvent (string code, string[] args, Exception innerException, XmlSchemaObject source)
 
void SendValidationEvent (string code, string msg1, string msg2, string sourceUri, int lineNumber, int linePosition)
 
void SendValidationEvent (string code, XmlSchemaObject source, XmlSeverityType severity)
 
void SendValidationEvent (XmlSchemaException e)
 
void SendValidationEvent (string code, string msg, XmlSchemaObject source, XmlSeverityType severity)
 
void SendValidationEvent (XmlSchemaException e, XmlSeverityType severity)
 
void SendValidationEventNoThrow (XmlSchemaException e, XmlSeverityType severity)
 

Properties

XmlResolver XmlResolver [set]
 
XmlNameTable NameTable [get]
 
SchemaNames SchemaNames [get]
 
ValidationEventHandler EventHandler [get]
 
XmlSchemaCompilationSettings CompilationSettings [get]
 
bool HasErrors [get]
 

Private Types

enum  Compositor { Root , Include , Import }
 

Private Member Functions

void Cleanup (XmlSchema schema)
 
void LoadExternals (XmlSchema schema, XmlSchemaCollection xsc)
 
void BuildRefNamespaces (XmlSchema schema)
 
void Preprocess (XmlSchema schema, string targetNamespace, Compositor compositor)
 
void PreprocessRedefine (XmlSchemaRedefine redefine)
 
int CountGroupSelfReference (XmlSchemaObjectCollection items, XmlQualifiedName name)
 
void CheckRefinedGroup (XmlSchemaGroup group)
 
void CheckRefinedAttributeGroup (XmlSchemaAttributeGroup attributeGroup)
 
void CheckRefinedSimpleType (XmlSchemaSimpleType stype)
 
void CheckRefinedComplexType (XmlSchemaComplexType ctype)
 
void PreprocessAttribute (XmlSchemaAttribute attribute)
 
void PreprocessLocalAttribute (XmlSchemaAttribute attribute)
 
void PreprocessAttributeContent (XmlSchemaAttribute attribute)
 
void PreprocessAttributeGroup (XmlSchemaAttributeGroup attributeGroup)
 
void PreprocessElement (XmlSchemaElement element)
 
void PreprocessLocalElement (XmlSchemaElement element)
 
void PreprocessElementContent (XmlSchemaElement element)
 
void PreprocessIdentityConstraint (XmlSchemaIdentityConstraint constraint)
 
void PreprocessSimpleType (XmlSchemaSimpleType simpleType, bool local)
 
void PreprocessComplexType (XmlSchemaComplexType complexType, bool local)
 
void PreprocessGroup (XmlSchemaGroup group)
 
void PreprocessNotation (XmlSchemaNotation notation)
 
void PreprocessParticle (XmlSchemaParticle particle)
 
void PreprocessAttributes (XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute anyAttribute, XmlSchemaObject parent)
 
void ValidateIdAttribute (XmlSchemaObject xso)
 
void ValidateNameAttribute (XmlSchemaObject xso)
 
void ValidateQNameAttribute (XmlSchemaObject xso, string attributeName, XmlQualifiedName value)
 
void SetParent (XmlSchemaObject child, XmlSchemaObject parent)
 
void PreprocessAnnotation (XmlSchemaObject schemaObject)
 
Uri ResolveSchemaLocationUri (XmlSchema enclosingSchema, string location)
 
Stream GetSchemaEntity (Uri ruri)
 
bool IsValidAttributeGroupRedefine (XmlSchemaObject existingObject, XmlSchemaObject item, XmlSchemaObjectTable table)
 
bool IsValidGroupRedefine (XmlSchemaObject existingObject, XmlSchemaObject item, XmlSchemaObjectTable table)
 
bool IsValidTypeRedefine (XmlSchemaObject existingObject, XmlSchemaObject item, XmlSchemaObjectTable table)
 

Private Attributes

XmlSchema _schema
 
string _targetNamespace
 
bool _buildinIncluded
 
XmlSchemaForm _elementFormDefault
 
XmlSchemaForm _attributeFormDefault
 
XmlSchemaDerivationMethod _blockDefault
 
XmlSchemaDerivationMethod _finalDefault
 
Hashtable _schemaLocations
 
Hashtable _referenceNamespaces
 
string _xmlns
 
XmlResolver _xmlResolver
 
readonly XmlNameTable _nameTable
 
SchemaNames _schemaNames
 
readonly ValidationEventHandler _eventHandler
 
readonly XmlSchemaCompilationSettings _compilationSettings
 
int _errorCount
 
readonly string _nsXml
 

Detailed Description

Definition at line 7 of file SchemaCollectionPreprocessor.cs.


The documentation for this class was generated from the following file: