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

Public Member Functions

 Preprocessor (XmlNameTable nameTable, SchemaNames schemaNames, ValidationEventHandler eventHandler)
 
 Preprocessor (XmlNameTable nameTable, SchemaNames schemaNames, ValidationEventHandler eventHandler, XmlSchemaCompilationSettings compilationSettings)
 
bool Execute (XmlSchema schema, string targetNamespace, bool loadExternals)
 

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)
 

Static Package Functions

static XmlSchema GetBuildInSchema ()
 
static XmlSchema GetParentSchema (XmlSchemaObject currentSchemaObject)
 

Properties

XmlResolver XmlResolver [set]
 
XmlReaderSettings ReaderSettings [set]
 
Hashtable SchemaLocations [set]
 
Hashtable ChameleonSchemas [set]
 
XmlSchema RootSchema [get]
 
XmlNameTable NameTable [get]
 
SchemaNames SchemaNames [get]
 
ValidationEventHandler EventHandler [get]
 
XmlSchemaCompilationSettings CompilationSettings [get]
 
bool HasErrors [get]
 

Private Member Functions

void Cleanup (XmlSchema schema)
 
void CleanupRedefine (XmlSchemaExternal include)
 
void BuildSchemaList (XmlSchema schema)
 
void LoadExternals (XmlSchema schema)
 
void BuildRefNamespaces (XmlSchema schema)
 
void ParseUri (string uri, string code, XmlSchemaObject sourceSchemaObject)
 
void Preprocess (XmlSchema schema, string targetNamespace, ArrayList imports)
 
void CopyIncludedComponents (XmlSchema includedSchema, XmlSchema schema)
 
void PreprocessRedefine (RedefineEntry redefineEntry)
 
void GetIncludedSet (XmlSchema schema, ArrayList includesList)
 
void SetSchemaDefaults (XmlSchema schema)
 
int CountGroupSelfReference (XmlSchemaObjectCollection items, XmlQualifiedName name, XmlSchemaGroup redefined)
 
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)
 
Uri ResolveSchemaLocationUri (XmlSchema enclosingSchema, string location)
 
object GetSchemaEntity (Uri ruri)
 
XmlSchema GetChameleonSchema (string targetNamespace, XmlSchema schema)
 
void SetParent (XmlSchemaObject child, XmlSchemaObject parent)
 
void PreprocessAnnotation (XmlSchemaObject schemaObject)
 
void PreprocessAnnotation (XmlSchemaAnnotation annotation)
 
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

string _xmlns
 
string _nsXsi
 
string _targetNamespace
 
XmlSchema _rootSchema
 
XmlSchema _currentSchema
 
XmlSchemaForm _elementFormDefault
 
XmlSchemaForm _attributeFormDefault
 
XmlSchemaDerivationMethod _blockDefault
 
XmlSchemaDerivationMethod _finalDefault
 
Hashtable _schemaLocations
 
Hashtable _chameleonSchemas
 
readonly Hashtable _referenceNamespaces
 
readonly Hashtable _processedExternals
 
readonly SortedList _lockList
 
XmlReaderSettings _readerSettings
 
XmlSchema _rootSchemaForRedefine
 
ArrayList _redefinedList
 
XmlResolver _xmlResolver
 
readonly XmlNameTable _nameTable
 
SchemaNames _schemaNames
 
readonly ValidationEventHandler _eventHandler
 
readonly XmlSchemaCompilationSettings _compilationSettings
 
int _errorCount
 
readonly string _nsXml
 

Static Private Attributes

static XmlSchema s_builtInSchemaForXmlNS
 

Detailed Description

Definition at line 8 of file Preprocessor.cs.


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