using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Xml.Linq;
using FLocal.Core;
using FLocal.Common;
using FLocal.Common.dataobjects;

namespace FLocal.IISHandler.handlers.response {

	class UserDataHandler : AbstractGetHandler<FLocal.Common.URL.my.UserData> {

		override protected string templateName {
			get {
				return "UserData.xslt";
			}
		}

		override protected IEnumerable<XElement> getSpecificData(WebContext context) {
			return new XElement[] {
				context.account.user.exportToXmlForViewing(context),
			};
		}
	}

}