C# Class System.Xml.Schema.NfaContentValidator

Nondeterministic Finite Automata Compilers by Aho, Sethi, Ullman. ISBN 0-201-10088-6, pp. 126,140
Inheritance: ContentValidator
Afficher le fichier Open project: gbarnett/shared-source-cli-2.0

Méthodes publiques

Méthode Description
CompleteValidation ( ValidationState context ) : bool
ExpectedElements ( ValidationState context, bool isRequiredOnly ) : ArrayList
ExpectedParticles ( ValidationState context, bool isRequiredOnly ) : ArrayList
InitValidation ( ValidationState context ) : void
ValidateElement ( XmlQualifiedName name, ValidationState context, int &errorCode ) : object

Algorithm 3.4 Simulation of an NFA

Private Methods

Méthode Description
NfaContentValidator ( BitSet firstpos, BitSet followpos, SymbolsDictionary symbols, Positions positions, int endMarkerPos, XmlSchemaContentType contentType, bool isOpen, bool isEmptiable ) : System

Method Details

CompleteValidation() public méthode

public CompleteValidation ( ValidationState context ) : bool
context ValidationState
Résultat bool

ExpectedElements() public méthode

public ExpectedElements ( ValidationState context, bool isRequiredOnly ) : ArrayList
context ValidationState
isRequiredOnly bool
Résultat System.Collections.ArrayList

ExpectedParticles() public méthode

public ExpectedParticles ( ValidationState context, bool isRequiredOnly ) : ArrayList
context ValidationState
isRequiredOnly bool
Résultat System.Collections.ArrayList

InitValidation() public méthode

public InitValidation ( ValidationState context ) : void
context ValidationState
Résultat void

ValidateElement() public méthode

Algorithm 3.4 Simulation of an NFA
public ValidateElement ( XmlQualifiedName name, ValidationState context, int &errorCode ) : object
name XmlQualifiedName
context ValidationState
errorCode int
Résultat object