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

Public Member Functions

 DocumentSchemaValidator (XmlDocument ownerDocument, XmlSchemaSet schemas, ValidationEventHandler eventHandler)
 
bool Validate (XmlNode nodeToValidate)
 
IDictionary< string, stringGetNamespacesInScope (XmlNamespaceScope scope)
 
string LookupNamespace (string prefix)
 
string LookupPrefix (string namespaceName)
 

Properties

bool PsviAugmentation [set]
 
IXmlNamespaceResolver NamespaceResolver [get]
 

Private Member Functions

void CreateValidator (XmlSchemaObject partialValidationType, XmlSchemaValidationFlags validationFlags)
 
void ValidateNode (XmlNode node)
 
void ValidateElement ()
 
void ValidateAttributes (XmlElement elementNode)
 
void SetDefaultAttributeSchemaInfo (XmlSchemaAttribute schemaAttribute)
 
string GetDefaultPrefix (string attributeNS)
 
object GetNodeValue ()
 
XmlSchemaObject FindSchemaInfo (XmlElement elementToValidate)
 
void CheckNodeSequenceCapacity (int currentIndex)
 
XmlSchemaAttribute FindSchemaInfo (XmlAttribute attributeToValidate)
 
XmlSchemaObject GetTypeFromAncestors (XmlElement elementToValidate, XmlSchemaObject ancestorType, int ancestorsCount)
 
bool AncestorTypeHasWildcard (XmlSchemaObject ancestorType)
 
XmlSchemaComplexType GetComplexType (XmlSchemaObject schemaObject)
 
void ValidateSingleElement (XmlElement elementNode, bool skipToEnd, XmlSchemaInfo newSchemaInfo)
 
void ValidateChildrenTillNextAncestor (XmlNode parentNode, XmlNode childToStopAt)
 
XmlSchemaValidator CreateTypeFinderValidator (XmlSchemaObject partialValidationType)
 
void TypeFinderCallBack (object sender, ValidationEventArgs arg)
 
void InternalValidationCallBack (object sender, ValidationEventArgs arg)
 

Private Attributes

XmlSchemaValidator _validator
 
readonly XmlSchemaSet _schemas
 
readonly XmlNamespaceManager _nsManager
 
readonly XmlNameTable _nameTable
 
ArrayList _defaultAttributes
 
readonly XmlValueGetter _nodeValueGetter
 
XmlSchemaInfo _attributeSchemaInfo
 
XmlSchemaInfo _schemaInfo
 
readonly ValidationEventHandler _eventHandler
 
readonly ValidationEventHandler _internalEventHandler
 
XmlNode _startNode
 
XmlNode _currentNode
 
readonly XmlDocument _document
 
XmlNode[] _nodeSequenceToValidate
 
bool _isPartialTreeValid
 
bool _psviAugmentation
 
bool _isValid
 
readonly string _nsXmlNs
 
readonly string _nsXsi
 
readonly string _xsiType
 
readonly string _xsiNil
 

Detailed Description

Definition at line 8 of file DocumentSchemaValidator.cs.


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