UNPKG

datapilot-cli

Version:

Enterprise-grade streaming multi-format data analysis with comprehensive statistical insights and intelligent relationship detection - supports CSV, JSON, Excel, TSV, Parquet - memory-efficient, cross-platform

37 lines (29 loc) 587 B
const BaseXform = require('../../base-xform'); class VmlProtectionXform extends BaseXform { constructor(model) { super(); this._model = model; } get tag() { return this._model && this._model.tag; } render(xmlStream, model) { xmlStream.leafNode(this.tag, null, model); } parseOpen(node) { switch (node.name) { case this.tag: this.text = ''; return true; default: return false; } } parseText(text) { this.text = text; } parseClose() { return false; } } module.exports = VmlProtectionXform;