UNPKG

woltlab-compiler

Version:

A compiler for WoltLab-Package Archives and WoltLab-Package Components

26 lines (25 loc) 711 B
import { EJSFileCompiler } from "./EJSFileCompiler"; /** * Provides the functionality to compile components to `xml`-files optimized for woltlab. */ export declare abstract class WoltLabXMLCompiler<T> extends EJSFileCompiler<T> { /** * Initializes a new instance of the `WoltLabXMLCompiler<T>` class. * * @param item * The item to compile. */ constructor(item: T); /** * @inheritdoc */ protected readonly TagName: string; /** * Gets the location of the schema for the instruction. */ protected abstract readonly SchemaLocation: string; /** * @inheritdoc */ protected CreateDocument(): Document; }