You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Zero/ZeroLevel/Services/DOM/Contracts/IMetadataReader.cs

98 lines
2.5 KiB

6 years ago
using System;
using System.Collections.Generic;
namespace ZeroLevel.DocumentObjectModel
{
public interface IMetadataReader<T>
{
void ReadId(Guid Id);
6 years ago
void ReadSummary(string summary);
6 years ago
void ReadHeader(string header);
void EnterIdentifier(Identifier identifier);
6 years ago
void ReadVersion(int version);
void ReadTimestamp(long timestamp);
6 years ago
void ReadDateLabel(string datelabel);
6 years ago
void LeaveIdentifier(Identifier identifier);
void EnterTagsBlock(TagMetadata tagBlock);
6 years ago
void EnterKeywords(IEnumerable<string> keywords);
6 years ago
void ReadKeyword(string keyword, int order);
6 years ago
void LeaveKeywords(IEnumerable<string> keywords);
6 years ago
void EnterPlaces(IEnumerable<Tag> places);
6 years ago
void ReadPlace(Tag place, int order);
6 years ago
void LeavePlaces(IEnumerable<Tag> places);
6 years ago
void EnterCompanies(IEnumerable<Tag> companies);
6 years ago
void ReadCompany(Tag company, int order);
6 years ago
void LeaveCompanies(IEnumerable<Tag> companies);
6 years ago
void EnterPersons(IEnumerable<Tag> persons);
6 years ago
void ReadPerson(Tag person, int order);
6 years ago
void LeavePersons(IEnumerable<Tag> persons);
6 years ago
void LeaveTagsBlock(TagMetadata tagBlock);
void EnterDescriptioveBlock(DescriptiveMetadata metadata);
6 years ago
void ReadAuthors(string byline);
6 years ago
void ReadCopiright(string copyright);
6 years ago
void ReadCreated(DateTime created);
6 years ago
void ReadLanguage(string language);
6 years ago
void ReadPriority(Priority priority);
6 years ago
void ReadSource(Agency source);
6 years ago
void ReadPublisher(Agency publisher);
6 years ago
void ReadOriginal(Tag original);
6 years ago
void EnterHeaders(IEnumerable<Header> headers);
6 years ago
void ReadHeader(Header header, int order);
6 years ago
void LeaveHeaders(IEnumerable<Header> headers);
6 years ago
void LeaveDescriptioveBlock(DescriptiveMetadata metadata);
void EnterAsides(IEnumerable<AttachContent> asides);
void ReadAside(AttachContent aside, int order);
void LeaveAsides(IEnumerable<AttachContent> asides);
6 years ago
void EnterAssotiations(IEnumerable<Assotiation> assotiations);
6 years ago
void ReadAssotiation(Assotiation assotiation, int order);
6 years ago
void LeaveAssotiations(IEnumerable<Assotiation> assotiations);
void EnterCategories(IEnumerable<Category> categories);
6 years ago
void ReadCategory(Category category, int order);
6 years ago
void LeaveCategories(IEnumerable<Category> categories);
T Complete();
}
}

Powered by TurnKey Linux.