gl-store-s3.js/node_modules/aws-sdk/lib/xml/xml-text.js

21 lines
331 B
JavaScript
Raw Normal View History

2019-05-08 11:19:12 +00:00
var escapeElement = require('./escape-element').escapeElement;
/**
* Represents an XML text value.
* @api private
*/
function XmlText(value) {
this.value = value;
}
XmlText.prototype.toString = function () {
return escapeElement('' + this.value);
};
/**
* @api private
*/
module.exports = {
XmlText: XmlText
};