C# Class oai2.OAI

This class represents the first OAI harvester, to my knowledge, written in C#, designed specifically to work within Microsoft's .NET or MONO's .NET frameworks. The class was inspired by Ed Summer's OAI::Harvester module for PERL.
Mostra file Open project: reeset/oai.cs

Public Properties

Property Type Description
error Error

Private Properties

Property Type Description
IsNumeric bool
ParseOAI string
ParseOAIContainer string

Public Methods

Method Description
GetRecord ( string sidentifier ) : Record
GetRecord ( string sidentifier, string sPrefix ) : Record
GetRecord ( string sidentifier, string sPrefix, Object &objHandler ) : Record
ListIdenifiers ( ResumptionToken objToken ) : ListIdentifier
ListIdenifiers ( string sPrefix ) : ListIdentifier
ListIdenifiers ( string sPrefix, string sset ) : ListIdentifier
ListIdenifiers ( string sPrefix, string sfrom, string suntil ) : ListIdentifier
ListIdenifiers ( string sPrefix, string sset, string sfrom, string suntil ) : ListIdentifier
ListIdenifiers ( string sPrefix, string sset, string sfrom, string suntil, ResumptionToken objToken ) : ListIdentifier
ListRecords ( ResumptionToken objToken ) : ListRecord
ListRecords ( string sPrefix ) : ListRecord
ListRecords ( string sPrefix, string sset ) : ListRecord
ListRecords ( string sPrefix, string sfrom, string suntil ) : ListRecord
ListRecords ( string sPrefix, string sset, string sfrom, string suntil ) : ListRecord
ListRecords ( string sPrefix, string sset, string sfrom, string suntil, ResumptionToken objToken ) : ListRecord
ListRecords ( string sPrefix, string sset, string sfrom, string suntil, ResumptionToken objToken, Object &objHandler ) : ListRecord
ListSets ( ResumptionToken objToken ) : ListSet
ListSets ( ResumptionToken objToken, Object &objHandler ) : ListSet
OAI ( string sURI ) : System
identify ( ) : Identify
listMetadataFormats ( ) : ListMetadataFormats
listMetadataFormats ( string sidentifier ) : ListMetadataFormats

Private Methods

Method Description
IsNumeric ( string s ) : bool
ParseOAI ( System &reader, string sNode ) : string
ParseOAIContainer ( System &reader, string sNode ) : string

Method Details

GetRecord() public method

public GetRecord ( string sidentifier ) : Record
sidentifier string
return Record

GetRecord() public method

public GetRecord ( string sidentifier, string sPrefix ) : Record
sidentifier string
sPrefix string
return Record

GetRecord() public method

public GetRecord ( string sidentifier, string sPrefix, Object &objHandler ) : Record
sidentifier string
sPrefix string
objHandler Object
return Record

ListIdenifiers() public method

public ListIdenifiers ( ResumptionToken objToken ) : ListIdentifier
objToken ResumptionToken
return ListIdentifier

ListIdenifiers() public method

public ListIdenifiers ( string sPrefix ) : ListIdentifier
sPrefix string
return ListIdentifier

ListIdenifiers() public method

public ListIdenifiers ( string sPrefix, string sset ) : ListIdentifier
sPrefix string
sset string
return ListIdentifier

ListIdenifiers() public method

public ListIdenifiers ( string sPrefix, string sfrom, string suntil ) : ListIdentifier
sPrefix string
sfrom string
suntil string
return ListIdentifier

ListIdenifiers() public method

public ListIdenifiers ( string sPrefix, string sset, string sfrom, string suntil ) : ListIdentifier
sPrefix string
sset string
sfrom string
suntil string
return ListIdentifier

ListIdenifiers() public method

public ListIdenifiers ( string sPrefix, string sset, string sfrom, string suntil, ResumptionToken objToken ) : ListIdentifier
sPrefix string
sset string
sfrom string
suntil string
objToken ResumptionToken
return ListIdentifier

ListRecords() public method

public ListRecords ( ResumptionToken objToken ) : ListRecord
objToken ResumptionToken
return ListRecord

ListRecords() public method

public ListRecords ( string sPrefix ) : ListRecord
sPrefix string
return ListRecord

ListRecords() public method

public ListRecords ( string sPrefix, string sset ) : ListRecord
sPrefix string
sset string
return ListRecord

ListRecords() public method

public ListRecords ( string sPrefix, string sfrom, string suntil ) : ListRecord
sPrefix string
sfrom string
suntil string
return ListRecord

ListRecords() public method

public ListRecords ( string sPrefix, string sset, string sfrom, string suntil ) : ListRecord
sPrefix string
sset string
sfrom string
suntil string
return ListRecord

ListRecords() public method

public ListRecords ( string sPrefix, string sset, string sfrom, string suntil, ResumptionToken objToken ) : ListRecord
sPrefix string
sset string
sfrom string
suntil string
objToken ResumptionToken
return ListRecord

ListRecords() public method

public ListRecords ( string sPrefix, string sset, string sfrom, string suntil, ResumptionToken objToken, Object &objHandler ) : ListRecord
sPrefix string
sset string
sfrom string
suntil string
objToken ResumptionToken
objHandler Object
return ListRecord

ListSets() public method

public ListSets ( ResumptionToken objToken ) : ListSet
objToken ResumptionToken
return ListSet

ListSets() public method

public ListSets ( ResumptionToken objToken, Object &objHandler ) : ListSet
objToken ResumptionToken
objHandler Object
return ListSet

OAI() public method

public OAI ( string sURI ) : System
sURI string
return System

identify() public method

public identify ( ) : Identify
return Identify

listMetadataFormats() public method

public listMetadataFormats ( ) : ListMetadataFormats
return ListMetadataFormats

listMetadataFormats() public method

public listMetadataFormats ( string sidentifier ) : ListMetadataFormats
sidentifier string
return ListMetadataFormats

Property Details

error public_oe property

public Error error
return Error