microdata-rdf-streaming-parser
Version:
A fast and lightweight streaming Microdata to RDF parser
12 lines (11 loc) • 530 B
TypeScript
import type * as RDF from '@rdfjs/types';
import type { IItemScope } from '../IItemScope';
import type { Util } from '../Util';
import type { IItemPropertyHandler } from './IItemPropertyHandler';
/**
* Handler for an item property with the 'content' attribute.
*/
export declare class ItemPropertyHandlerContent implements IItemPropertyHandler {
canHandle(tagName: string, attributes: Record<string, string>): boolean;
getObject(attributes: Record<string, string>, util: Util, itemScope: IItemScope): RDF.Quad_Object;
}