GetRDFData() public method

public GetRDFData ( Profiles.Framework.Utilities.RDFTriple request ) : XmlDocument
request Profiles.Framework.Utilities.RDFTriple
return System.Xml.XmlDocument
Exemplo n.º 1
0
        public void LoadRDFData()
        {
            Framework.Utilities.DebugLogging.Log("{Page Calling} Profile.ProfileData.LoadRDFData() start " + ((System.Web.UI.TemplateControl)(this)).AppRelativeVirtualPath);
            XmlDocument xml           = new XmlDocument();
            Namespace   rdfnamespaces = new Namespace();
            DataIO      data          = new DataIO();

            if (HttpContext.Current.Request.Headers["Offset"] != null)
            {
                this.RDFTriple.Offset = HttpContext.Current.Request.Headers["Offset"];
            }

            if (HttpContext.Current.Request.Headers["Limit"] != null)
            {
                this.RDFTriple.Limit = HttpContext.Current.Request.Headers["Limit"];
            }

            if (HttpContext.Current.Request.Headers["ExpandRDFList"] != null)
            {
                this.RDFTriple.ExpandRDFList = HttpContext.Current.Request.Headers["ExpandRDFList"];
            }


            xml                = data.GetRDFData(this.RDFTriple);
            this.RDFData       = xml;
            this.RDFNamespaces = rdfnamespaces.LoadNamespaces(xml);
            Framework.Utilities.DebugLogging.Log("{Page Calling} Profile.ProfileData.LoadRDFData() end" + ((System.Web.UI.TemplateControl)(this)).AppRelativeVirtualPath);
        }
Exemplo n.º 2
0
        public void LoadPageData()
        {
            Framework.Utilities.Namespace namespaces = new Namespace();

            Profiles.Profile.Utilities.DataIO data = new Profiles.Profile.Utilities.DataIO();
            this.PresentationXML = data.GetPresentationData(this.RDFTriple);

            XmlNode x = this.PresentationXML.SelectSingleNode("Presentation[1]/ExpandRDFList[1]");

            if (x != null)
            {
                this.RDFTriple.ExpandRDFList = x.OuterXml;
            }

            this.RDFData = data.GetRDFData(this.RDFTriple);



            this.RDFNamespaces = namespaces.LoadNamespaces(this.RDFData);
        }
Exemplo n.º 3
0
        public void LoadPageData()
        {
            Framework.Utilities.Namespace namespaces = new Namespace();

            Profiles.Profile.Utilities.DataIO data = new Profiles.Profile.Utilities.DataIO();
            this.PresentationXML = data.GetPresentationData(this.RDFTriple);

            XmlNode x = this.PresentationXML.SelectSingleNode("Presentation[1]/ExpandRDFList[1]");

            if (x != null)
                this.RDFTriple.ExpandRDFList = x.OuterXml;

            this.RDFData = data.GetRDFData(this.RDFTriple);

            this.RDFNamespaces = namespaces.LoadNamespaces(this.RDFData);
        }
Exemplo n.º 4
0
        public void LoadRDFData()
        {
            Framework.Utilities.DebugLogging.Log("{Page Calling} Profile.ProfileData.LoadRDFData() start " + ((System.Web.UI.TemplateControl)(this)).AppRelativeVirtualPath);
            XmlDocument xml = new XmlDocument();
            Namespace rdfnamespaces = new Namespace();
            DataIO data = new DataIO();

            //if (HttpContext.Current.Request.Headers["Offset"] != null)
            //    this.RDFTriple.Offset = HttpContext.Current.Request.Headers["Offset"];

            //if (HttpContext.Current.Request.Headers["Limit"] != null)
            //    this.RDFTriple.Limit = HttpContext.Current.Request.Headers["Limit"];

            //if (HttpContext.Current.Request.Headers["ExpandRDFList"] != null)
            //    this.RDFTriple.ExpandRDFList = HttpContext.Current.Request.Headers["ExpandRDFList"];

            xml = data.GetRDFData(this.RDFTriple);
            this.RDFData = xml;
            this.RDFNamespaces = rdfnamespaces.LoadNamespaces(xml);
            Framework.Utilities.DebugLogging.Log("{Page Calling} Profile.ProfileData.LoadRDFData() end" + ((System.Web.UI.TemplateControl)(this)).AppRelativeVirtualPath);
        }