C# Класс DotNetXri.Syntax.Parsable

This class provides a base class for all classes that are parsed according to the XRI Syntax definition.
Наследование: IComparable
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
mbParseResult bool
mbParsed bool
msValue string

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
setValue ( string value ) : void

Описание методов

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

Parsable() защищенный Метод

Protected Constructor used by package only
protected Parsable ( ) : System
Результат System

Parsable() защищенный Метод

Constructs Parsable obj from a String
protected Parsable ( string value ) : System
value string
Результат System

ToString() публичный Метод

Outputs the obj according to the XRI Syntax defined for this obj
public ToString ( ) : string
Результат string

compareTo() публичный Метод

public compareTo ( Object obj ) : int
obj Object
Результат int

doScan() защищенный абстрактный Метод

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
Результат bool

parse() защищенный Метод

Parses the set value.
Throws XRIParseException if entire value could not be parsed into the obj
protected parse ( ) : void
Результат void

scan() публичный Метод

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
Результат bool

setParsedValue() защищенный Метод

Sets the parsed value for the obj
protected setParsedValue ( string value ) : void
value string The value to set the obj to
Результат void

Описание свойств

mbParseResult защищенное свойство

protected bool mbParseResult
Результат bool

mbParsed защищенное свойство

protected bool mbParsed
Результат bool

msValue защищенное свойство

protected string msValue
Результат string