C# Class DotNetXri.Syntax.Parsable

This class provides a base class for all classes that are parsed according to the XRI Syntax definition.
Inheritance: IComparable
Afficher le fichier Open project: AArnott/dotnetxri

Protected Properties

Свойство Type Description
mbParseResult bool
mbParsed bool
msValue string

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
ToString ( ) : string

Outputs the obj according to the XRI Syntax defined for this obj

compareTo ( Object obj ) : int
scan ( ParseStream oParseStream ) : bool

Scans the stream for parts that can be parsed into the obj

Méthodes protégées

Méthode Description
Parsable ( ) : System

Protected Constructor used by package only

Parsable ( string value ) : System

Constructs Parsable obj from a String

doScan ( ParseStream oParseStream ) : bool

Scans the stream for parts that can be parsed into the obj

parse ( ) : void

Parses the set value.

Throws XRIParseException if entire value could not be parsed into the obj

setParsedValue ( string value ) : void

Sets the parsed value for the obj

Private Methods

Méthode Description
setValue ( string value ) : void

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Parsable() protected méthode

Protected Constructor used by package only
protected Parsable ( ) : System
Résultat System

Parsable() protected méthode

Constructs Parsable obj from a String
protected Parsable ( string value ) : System
value string
Résultat System

ToString() public méthode

Outputs the obj according to the XRI Syntax defined for this obj
public ToString ( ) : string
Résultat string

compareTo() public méthode

public compareTo ( Object obj ) : int
obj Object
Résultat int

doScan() protected abstract méthode

Scans the stream for parts that can be parsed into the obj
protected abstract doScan ( ParseStream oParseStream ) : bool
oParseStream ParseStream The input stream to read from
Résultat bool

parse() protected méthode

Parses the set value.
Throws XRIParseException if entire value could not be parsed into the obj
protected parse ( ) : void
Résultat void

scan() public méthode

Scans the stream for parts that can be parsed into the obj
public scan ( ParseStream oParseStream ) : bool
oParseStream ParseStream The input stream to read from
Résultat bool

setParsedValue() protected méthode

Sets the parsed value for the obj
protected setParsedValue ( string value ) : void
value string The value to set the obj to
Résultat void

Property Details

mbParseResult protected_oe property

protected bool mbParseResult
Résultat bool

mbParsed protected_oe property

protected bool mbParsed
Résultat bool

msValue protected_oe property

protected string msValue
Résultat string