**** Merged from MCS ****
[mono-project.git] / mcs / class / Microsoft.Web.Services / Microsoft.Web.Services.Referral / Referral.cs
blob8d7304ca30e77feb191957ad3932be139c3eb709
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 //
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
21 namespace Microsoft.Web.Services.Referral {
23 public class Referral : ICloneable, IXmlElement
25 Uri uri;
27 public Referral ()
31 public Referral (Uri uri)
33 this.uri = uri;
36 [MonoTODO]
37 public void CheckValid ()
41 #if WSE1
42 public object Clone ()
43 #else
44 public virtual object Clone ()
45 #endif
47 return new Referral (uri);
50 [MonoTODO]
51 #if WSE1
52 public XmlElement GetXml (XmlDocument document)
53 #else
54 public virtual XmlElement GetXml (XmlDocument document)
55 #endif
57 if (document == null)
58 throw new ArgumentNullException (
59 Locale.GetText ("Argument is null."));
61 throw new NotImplementedException ();
64 [MonoTODO]
65 #if WSE1
66 public void LoadXml (XmlElement element)
67 #else
68 public virtual void LoadXml (XmlElement element)
69 #endif
71 if (element == null)
72 throw new ArgumentNullException (
73 Locale.GetText ("Argument is null."));
75 throw new NotImplementedException ();
78 [MonoTODO]
79 public Desc Desc {
80 get {
81 throw new NotImplementedException ();
85 [MonoTODO]
86 public ViaCollection Go {
87 get {
88 throw new NotImplementedException ();
92 [MonoTODO]
93 public For For{
94 get {
95 throw new NotImplementedException ();
99 [MonoTODO]
100 public If If {
101 get {
102 throw new NotImplementedException ();
106 [MonoTODO]
107 public Uri RefId {
108 get {
109 throw new NotImplementedException ();
111 set {
113 if (value == null)
114 throw new ArgumentNullException ();
116 throw new NotImplementedException ();