2003-10-05 Sebastien Pouliot <spouliot@videotron.ca>
[mono.git] / mcs / class / Microsoft.Web.Services / Microsoft.Web.Services.Referral / Referral.cs
1 //
2 // Microsoft.Web.Services.Referral.Referral.cs
3 //
4 // Authors:
5 //      Duncan Mak (duncan@ximian.com)
6 //      Daniel Kornhauser <dkor@alum.mit.edu>
7 //
8 // Copyright (C) Ximian, Inc. 2003
9 //
10
11 using System;
12 using System.Collections;
13 using System.Globalization;
14 using System.Web.Services.Protocols;
15 using System.Xml;
16 using Microsoft.Web.Services.Routing;
17 #if !WSE1
18 using Microsoft.Web.Services.Xml;
19 #endif
20
21 namespace Microsoft.Web.Services.Referral {
22
23         public class Referral : ICloneable, IXmlElement
24         {
25                 Uri uri;
26
27                 public Referral ()
28                 {
29                 }
30
31                 public Referral (Uri uri)
32                 {
33                         this.uri = uri;
34                 }
35
36                 [MonoTODO]
37                 public void CheckValid ()
38                 {
39                 }
40
41 #if WSE1
42                 public object Clone ()
43 #else
44                 public virtual object Clone ()
45 #endif
46                 {
47                         return new Referral (uri);
48                 }
49
50                 [MonoTODO]
51 #if WSE1
52                 public XmlElement GetXml (XmlDocument document)
53 #else
54                 public virtual XmlElement GetXml (XmlDocument document)
55 #endif
56                 {
57                         if (document == null)
58                                 throw new ArgumentNullException (
59                                         Locale.GetText ("Argument is null."));
60
61                         throw new NotImplementedException ();
62                 }
63
64                 [MonoTODO]
65 #if WSE1
66                 public void LoadXml (XmlElement element)
67 #else
68                 public virtual void LoadXml (XmlElement element)
69 #endif
70                 {
71                         if (element == null)
72                                 throw new ArgumentNullException (
73                                         Locale.GetText ("Argument is null."));
74
75                         throw new NotImplementedException ();
76                 }
77
78                 [MonoTODO]
79                 public Desc Desc {
80                         get {
81                                 throw new NotImplementedException ();
82                         }
83                 }
84
85                 [MonoTODO]
86                 public ViaCollection Go {
87                         get {
88                                 throw new NotImplementedException ();
89                         }
90                 }
91
92                 [MonoTODO]
93                 public For For{
94                         get {
95                                 throw new NotImplementedException ();
96                         }
97                 }
98
99                 [MonoTODO]
100                 public If If {
101                         get {
102                                 throw new NotImplementedException ();
103                         }
104                 }
105
106                 [MonoTODO]
107                 public Uri RefId {
108                         get {
109                                 throw new NotImplementedException ();
110                         }
111                         set {
112
113                                 if (value == null)
114                                         throw new ArgumentNullException ();
115                                 
116                                 throw new NotImplementedException ();
117                         }
118                 }
119         }
120 }