UNPKG

microdata-rdf-streaming-parser

Version:
13 lines (12 loc) 549 B
import type * as RDF from '@rdfjs/types'; import type { IItemScope } from '../IItemScope'; import { Util } from '../Util'; import type { IItemPropertyHandler } from './IItemPropertyHandler'; /** * Handler for an item property for time tags. */ export declare class ItemPropertyHandlerTime implements IItemPropertyHandler { private static readonly TIME_REGEXES; canHandle(tagName: string, attributes: Record<string, string>): boolean; getObject(attributes: Record<string, string>, util: Util, itemScope: IItemScope): RDF.Quad_Object; }