C# Class System.Xml.Schema.BaseValidator

Mostra file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Protected Properties

Property Type Description
checkDatatype bool
context ValidationState
elementName System.Xml.XmlQualifiedName
hasSibling bool
reader System.Xml.XmlValidatingReaderImpl
schemaInfo SchemaInfo
textString string
textValue System.Text.StringBuilder

Public Methods

Method Description
BaseValidator ( BaseValidator other ) : System.IO
BaseValidator ( XmlValidatingReaderImpl reader, XmlSchemaCollection schemaCollection, ValidationEventHandler eventHandler ) : System.IO
CompleteValidation ( ) : void
CreateInstance ( ValidationType valType, XmlValidatingReaderImpl reader, XmlSchemaCollection schemaCollection, ValidationEventHandler eventHandler, bool processIdentityConstraints ) : BaseValidator
FindId ( string name ) : object
Validate ( ) : void
ValidateText ( ) : void
ValidateWhitespace ( ) : void

Protected Methods

Method Description
ProcessEntity ( SchemaInfo sinfo, string name, object sender, ValidationEventHandler eventhandler, string baseUri, int lineNumber, int linePosition ) : void
SendValidationEvent ( XmlSchemaException e ) : void
SendValidationEvent ( XmlSchemaException e, XmlSeverityType severity ) : void
SendValidationEvent ( string code ) : void
SendValidationEvent ( string code, string args ) : void
SendValidationEvent ( string code, string msg, XmlSeverityType severity ) : void
SendValidationEvent ( string code, string arg1, string arg2 ) : void

Private Methods

Method Description
SaveTextValue ( string value ) : void

Method Details

BaseValidator() public method

public BaseValidator ( BaseValidator other ) : System.IO
other BaseValidator
return System.IO

BaseValidator() public method

public BaseValidator ( XmlValidatingReaderImpl reader, XmlSchemaCollection schemaCollection, ValidationEventHandler eventHandler ) : System.IO
reader System.Xml.XmlValidatingReaderImpl
schemaCollection XmlSchemaCollection
eventHandler ValidationEventHandler
return System.IO

CompleteValidation() public method

public CompleteValidation ( ) : void
return void

CreateInstance() public static method

public static CreateInstance ( ValidationType valType, XmlValidatingReaderImpl reader, XmlSchemaCollection schemaCollection, ValidationEventHandler eventHandler, bool processIdentityConstraints ) : BaseValidator
valType ValidationType
reader System.Xml.XmlValidatingReaderImpl
schemaCollection XmlSchemaCollection
eventHandler ValidationEventHandler
processIdentityConstraints bool
return BaseValidator

FindId() public method

public FindId ( string name ) : object
name string
return object

ProcessEntity() protected static method

protected static ProcessEntity ( SchemaInfo sinfo, string name, object sender, ValidationEventHandler eventhandler, string baseUri, int lineNumber, int linePosition ) : void
sinfo SchemaInfo
name string
sender object
eventhandler ValidationEventHandler
baseUri string
lineNumber int
linePosition int
return void

SendValidationEvent() protected method

protected SendValidationEvent ( XmlSchemaException e ) : void
e XmlSchemaException
return void

SendValidationEvent() protected method

protected SendValidationEvent ( XmlSchemaException e, XmlSeverityType severity ) : void
e XmlSchemaException
severity XmlSeverityType
return void

SendValidationEvent() protected method

protected SendValidationEvent ( string code ) : void
code string
return void

SendValidationEvent() protected method

protected SendValidationEvent ( string code, string args ) : void
code string
args string
return void

SendValidationEvent() protected method

protected SendValidationEvent ( string code, string msg, XmlSeverityType severity ) : void
code string
msg string
severity XmlSeverityType
return void

SendValidationEvent() protected method

protected SendValidationEvent ( string code, string arg1, string arg2 ) : void
code string
arg1 string
arg2 string
return void

Validate() public method

public Validate ( ) : void
return void

ValidateText() public method

public ValidateText ( ) : void
return void

ValidateWhitespace() public method

public ValidateWhitespace ( ) : void
return void

Property Details

checkDatatype protected_oe property

protected bool checkDatatype
return bool

context protected_oe property

protected ValidationState,System.Xml.Schema context
return ValidationState

elementName protected_oe property

protected XmlQualifiedName,System.Xml elementName
return System.Xml.XmlQualifiedName

hasSibling protected_oe property

protected bool hasSibling
return bool

reader protected_oe property

protected XmlValidatingReaderImpl,System.Xml reader
return System.Xml.XmlValidatingReaderImpl

schemaInfo protected_oe property

protected SchemaInfo,System.Xml.Schema schemaInfo
return SchemaInfo

textString protected_oe property

protected string textString
return string

textValue protected_oe property

protected StringBuilder,System.Text textValue
return System.Text.StringBuilder