flysh
Version:
DOM Document Object Artifact Collector
45 lines • 1.4 kB
TypeScript
/**
* 'DomElement' abstract class model
*
* Defines the basic 'DOM' element properties and functions overridden by the extended subclasses
*
*/
export declare abstract class DomElement {
/**
* Class properties
*/
protected _element: string;
protected _signature: string;
/**
* Constructor
*
* @param element 'String' that contains the 'DOM' element name or the HTML 'tag' name, i.e : '<div>'
* @param signature 'String' that defines the 'DOM' element class property, i.e : '<div class="someClass">'
*/
constructor(element: string, signature: string);
/**
* Getter that returns the `_element` property
*/
get getElement(): string;
/**
* Getter that returns the `_signature` property
*/
get getSignature(): string;
/**
* Concatenates the '_element' with the '_signature'. If no '_signature' found then the '_element is only returned
*
* @returns Returns a 'string' that contains the '_element' with or without a signature
*/
get getElementWithSignature(): string;
/**
* Gets the object properties (overridden)
*
* @retuns Returns a 'string' that contains all the class properties
*/
get getEntry(): string;
/**
* Validates the current 'DOM' type element (overridden)
*/
validate(): void;
}
//# sourceMappingURL=DomElement.d.ts.map