C# 클래스 AcoustID.Web.XmlResponseParser

Parses lookup and submit responses from the webservice (XML format).
The parser will parse lookup responses that were requested using the ["recording"] or ["recording", "releasegroup"] metadata parameters. If you need other metadata, you will have to implement your own parser.
상속: IResponseParser
파일 보기 프로젝트 열기: wo80/AcoustID.NET 1 사용 예제들

공개 메소드들

메소드 설명
CanParse ( string text ) : bool
ParseLookupResponse ( string text ) : LookupResponse
ParseSubmitResponse ( string text ) : SubmitResponse

Parse the response of a submit request.

비공개 메소드들

메소드 설명
ParseArtist ( System.Xml.Linq.XElement node ) : Artist
ParseLookupResult ( System.Xml.Linq.XElement el ) : LookupResult
ParseRecording ( System.Xml.Linq.XElement node ) : Recording
ParseRelease ( System.Xml.Linq.XElement node ) : Release
ParseReleaseGroup ( System.Xml.Linq.XElement node ) : ReleaseGroup
ParseSubmitResult ( System.Xml.Linq.XElement el ) : SubmitResult
TryParseChild ( System.Xml.Linq.XElement node, string name, int defaultValue, int &value ) : void
TryParseChild ( System.Xml.Linq.XElement node, string name, string &value ) : void

메소드 상세

CanParse() 공개 메소드

public CanParse ( string text ) : bool
text string
리턴 bool

ParseLookupResponse() 공개 메소드

public ParseLookupResponse ( string text ) : LookupResponse
text string
리턴 LookupResponse

ParseSubmitResponse() 공개 메소드

Parse the response of a submit request.
public ParseSubmitResponse ( string text ) : SubmitResponse
text string The response string.
리턴 SubmitResponse