"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RelationshipXform = void 0;
const base_xform_1 = require("../base-xform.js");
class RelationshipXform extends base_xform_1.BaseXform {
    render(xmlStream, model) {
        xmlStream.leafNode("Relationship", model);
    }
    parseOpen(node) {
        switch (node.name) {
            case "Relationship":
                this.model = node.attributes;
                return true;
            default:
                return false;
        }
    }
    parseText() { }
    parseClose() {
        return false;
    }
}
exports.RelationshipXform = RelationshipXform;
