aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Serialization
diff options
context:
space:
mode:
authoropensim mirror account2010-12-01 16:10:15 -0800
committeropensim mirror account2010-12-01 16:10:15 -0800
commit6f3fbca5a35139d97ce72f2aea1d17698086a152 (patch)
tree8e6573648f7bc9391f645ed05fa3449192a4d93e /OpenSim/Framework/Serialization
parentMerge branch 'master' of /var/git/opensim/ (diff)
parentAdded some comments. Better than listening to the boring speaker... (diff)
downloadopensim-SC-6f3fbca5a35139d97ce72f2aea1d17698086a152.zip
opensim-SC-6f3fbca5a35139d97ce72f2aea1d17698086a152.tar.gz
opensim-SC-6f3fbca5a35139d97ce72f2aea1d17698086a152.tar.bz2
opensim-SC-6f3fbca5a35139d97ce72f2aea1d17698086a152.tar.xz
Merge branch 'master' of /var/git/opensim/
Diffstat (limited to 'OpenSim/Framework/Serialization')
-rw-r--r--OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs b/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs
index 5c0630c..6e8c2ee 100644
--- a/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs
+++ b/OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs
@@ -34,8 +34,20 @@ using OpenSim.Services.Interfaces;
34 34
35namespace OpenSim.Framework.Serialization.External 35namespace OpenSim.Framework.Serialization.External
36{ 36{
37 /// <summary>
38 /// Utilities for manipulating external representations of data structures in OpenSim
39 /// </summary>
37 public class ExternalRepresentationUtils 40 public class ExternalRepresentationUtils
38 { 41 {
42 /// <summary>
43 /// Takes a XML representation of a SceneObjectPart and returns another XML representation
44 /// with creator data added to it.
45 /// </summary>
46 /// <param name="xml">The SceneObjectPart represented in XML2</param>
47 /// <param name="profileURL">The URL of the profile service for the creator</param>
48 /// <param name="userService">The service for retrieving user account information</param>
49 /// <param name="scopeID">The scope of the user account information (Grid ID)</param>
50 /// <returns>The SceneObjectPart represented in XML2</returns>
39 public static string RewriteSOP(string xml, string profileURL, IUserAccountService userService, UUID scopeID) 51 public static string RewriteSOP(string xml, string profileURL, IUserAccountService userService, UUID scopeID)
40 { 52 {
41 if (xml == string.Empty || profileURL == string.Empty || userService == null) 53 if (xml == string.Empty || profileURL == string.Empty || userService == null)