diff options
Diffstat (limited to 'OpenSim/Framework/Serialization/External')
-rw-r--r-- | OpenSim/Framework/Serialization/External/ExternalRepresentationUtils.cs | 12 |
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 | ||
35 | namespace OpenSim.Framework.Serialization.External | 35 | namespace 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) |