﻿function ContentNode(data)
{
    this.data = data;
}

ContentNode.prototype = new WebObject;

ContentNode.prototype.toString = function()
{
    return this.data.name;
};

ContentNode.getRootNodes = function(callback)
{
    Server.getHost().query("/Web/Content/", { action: "enumerate" }, function(success, value)
    {
        callback(value);
    });
}


