C# 클래스 DotNetXri.Syntax.Parsable

This class provides a base class for all classes that are parsed according to the XRI Syntax definition.
상속: IComparable
파일 보기 프로젝트 열기: AArnott/dotnetxri

보호된 프로퍼티들

프로퍼티 타입 설명
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