2003-09-25 Todd Berman <tberman@gentoo.org>
[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 using Microsoft.Web.Services.Xml;
18
19 namespace Microsoft.Web.Services.Referral {
20
21         public class Referral : ICloneable, IXmlElement
22         {
23                 Uri uri;
24
25                 public Referral ()
26                 {
27                 }
28
29                 public Referral (Uri uri)
30                 {
31                         this.uri = uri;
32                 }
33
34                 [MonoTODO]
35                 public void CheckValid ()
36                 {
37                 }
38
39 #if WSE1
40                 public object Clone ()
41 #else
42                 public virtual object Clone ()
43 #endif
44                 {
45                         return new Referral (uri);
46                 }
47
48                 [MonoTODO]
49 #if WSE1
50                 public XmlElement GetXml (XmlDocument document)
51 #else
52                 public virtual XmlElement GetXml (XmlDocument document)
53 #endif
54                 {
55                         if (document == null)
56                                 throw new ArgumentNullException (
57                                         Locale.GetText ("Argument is null."));
58
59                         throw new NotImplementedException ();
60                 }
61
62                 [MonoTODO]
63 #if WSE1
64                 public void LoadXml (XmlElement element)
65 #else
66                 public virtual void LoadXml (XmlElement element)
67 #endif
68                 {
69                         if (element == null)
70                                 throw new ArgumentNullException (
71                                         Locale.GetText ("Argument is null."));
72
73                         throw new NotImplementedException ();
74                 }
75
76                 [MonoTODO]
77                 public Desc Desc {
78                         get {
79                                 throw new NotImplementedException ();
80                         }
81                 }
82
83                 [MonoTODO]
84                 public ViaCollection Go {
85                         get {
86                                 throw new NotImplementedException ();
87                         }
88                 }
89
90                 [MonoTODO]
91                 public For For{
92                         get {
93                                 throw new NotImplementedException ();
94                         }
95                 }
96
97                 [MonoTODO]
98                 public If If {
99                         get {
100                                 throw new NotImplementedException ();
101                         }
102                 }
103
104                 [MonoTODO]
105                 public Uri RefId {
106                         get {
107                                 throw new NotImplementedException ();
108                         }
109                         set {
110
111                                 if (value == null)
112                                         throw new ArgumentNullException ();
113                                 
114                                 throw new NotImplementedException ();
115                         }
116                 }
117         }
118 }