C# 클래스 System.Xml.DocumentSchemaValidator

상속: IXmlNamespaceResolver
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AncestorTypeHasWildcard bool
CheckNodeSequenceCapacity void
CreateTypeFinderValidator System.Xml.Schema.XmlSchemaValidator
CreateValidator void
FindSchemaInfo System.Xml.Schema.XmlSchemaAttribute
FindSchemaInfo System.Xml.Schema.XmlSchemaObject
GetComplexType System.Xml.Schema.XmlSchemaComplexType
GetDefaultPrefix string
GetNodeValue object
GetTypeFromAncestors System.Xml.Schema.XmlSchemaObject
InternalValidationCallBack void
SetDefaultAttributeSchemaInfo void
TypeFinderCallBack void
ValidateAttributes void
ValidateChildrenTillNextAncestor void
ValidateElement void
ValidateNode void
ValidateSingleElement void

공개 메소드들

메소드 설명
DocumentSchemaValidator ( XmlDocument ownerDocument, XmlSchemaSet schemas, ValidationEventHandler eventHandler ) : System
GetNamespacesInScope ( XmlNamespaceScope scope ) : string>.IDictionary
LookupNamespace ( string prefix ) : string
LookupPrefix ( string namespaceName ) : string
Validate ( XmlNode nodeToValidate ) : bool

비공개 메소드들

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

메소드 상세

DocumentSchemaValidator() 공개 메소드

public DocumentSchemaValidator ( XmlDocument ownerDocument, XmlSchemaSet schemas, ValidationEventHandler eventHandler ) : System
ownerDocument XmlDocument
schemas System.Xml.Schema.XmlSchemaSet
eventHandler ValidationEventHandler
리턴 System

GetNamespacesInScope() 공개 메소드

public GetNamespacesInScope ( XmlNamespaceScope scope ) : string>.IDictionary
scope XmlNamespaceScope
리턴 string>.IDictionary

LookupNamespace() 공개 메소드

public LookupNamespace ( string prefix ) : string
prefix string
리턴 string

LookupPrefix() 공개 메소드

public LookupPrefix ( string namespaceName ) : string
namespaceName string
리턴 string

Validate() 공개 메소드

public Validate ( XmlNode nodeToValidate ) : bool
nodeToValidate XmlNode
리턴 bool