+2003-09-29 Todd Berman <tberman@gentoo.org>
+
+ * Microsoft.Web.Services.Addressing/AttributedUriString.cs: stubs
+ * Microsoft.Web.Services.Xml/OpenAttributeElement.cs: implemented
+
2003-09-29 Todd Berman <tberman@gentoo.org>
* Microsoft.Web.Services.Addressing/AddressingHeaders.cs: Partially
public abstract class AttributedUriString : OpenAttributeElement
{
-
+
+ private string _uri;
+
+ [MonoTODO]
+ public AttributedUriString ()
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public AttributedUriString (string uri)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public string Value {
+ get { return _uri; }
+ set { _uri = value; }
+ }
+
}
}
// (C) 2003 Todd Berman
using System;
+using System.Xml;
+using System.Collections;
namespace Microsoft.Web.Services.Xml
{
public abstract class OpenAttributeElement
{
+
+ private ArrayList _any;
+
+ public OpenAttributeElement ()
+ {
+ _any = new ArrayList ();
+ }
+ public void GetXmlAny (XmlDocument document, XmlElement element)
+ {
+ if(document == null) {
+ throw new ArgumentNullException ("document");
+ }
+ if(element == null) {
+ throw new ArgumentNullException ("element");
+ }
+
+ foreach(XmlAttribute attrib in AnyAttributes) {
+ element.Attributes.Append((XmlAttribute)document.ImportNode(attrib, true));
+ }
+ }
+
+ public void LoadXmlAny (XmlElement element)
+ {
+ if(element == null) {
+ throw new ArgumentNullException ("element");
+ }
+ foreach(XmlAttribute attrib in element.Attributes) {
+ AnyAttributes.Add(attrib);
+ }
+ }
+
+ public IList AnyAttributes {
+ get { return _any; }
+ }
+
}
+
}