Explorar el Código

2003-11-17 Atsushi Enomoto <[email protected]>

	* XmlSchemaSet.cs, XmlSchemaBuiltInType.cs : Added .NET 1.2 classes
	  (for convenience of ObjectSpaces stubbing).

svn path=/trunk/mcs/; revision=20120
Atsushi Eno hace 22 años
padre
commit
7da15068fd

+ 5 - 0
mcs/class/System.XML/System.Xml.Schema/ChangeLog

@@ -1,3 +1,8 @@
+2003-11-17  Atsushi Enomoto  <[email protected]>
+
+	* XmlSchemaSet.cs, XmlSchemaBuiltInType.cs : Added .NET 1.2 classes
+	  (for convenience of ObjectSpaces stubbing).
+
 2003-10-25  Atsushi Enomoto  <[email protected]>
 
 	* BuiltInDatatype.cs : XsdByte was incorrectly typed as byte, while

+ 62 - 0
mcs/class/System.XML/System.Xml.Schema/XmlSchemaBuiltInType.cs

@@ -0,0 +1,62 @@
+//
+// XmlSchemaBuiltInType.cs
+//
+// Author:
+//	Atsushi Enomoto <[email protected]>
+//
+#if NET_1_2
+
+namespace System.Xml.Schema
+{
+	public enum XmlSchemaBuiltInType
+	{
+		None,
+		AnyType,
+		AnySimpleType,
+		String,
+		Bool,
+		Float,
+		Double,
+		Decimal,
+		Duration,
+		AnyUri,
+		Base64Binary,
+		Byte,
+		Date,
+		DateTime,
+		GDay,
+		GMonth,
+		GMonthDay,
+		GYear,
+		GYearMonth,
+		HexBinary,
+		Entities,
+		Entity,
+		Id,
+		Idref,
+		Idrefs,
+		Int,
+		Integer,
+		Language,
+		Long,
+		Name,
+		NCName,
+		NegativeInteger,
+		NmToken,
+		NmTokens,
+		NonNegativeInteger,
+		NonPositiveInteger,
+		Normalizedstring,
+		Notation,
+		PositiveInteger,
+		QName,
+		Short,
+		Time,
+		Token,
+		UnsignedByte,
+		UnsignedInt,
+		UnsignedLong,
+		UnsignedShort
+	}
+}
+#endif

+ 120 - 0
mcs/class/System.XML/System.Xml.Schema/XmlSchemaSet.cs

@@ -0,0 +1,120 @@
+//
+// XmlSchemaSet.cs
+//
+// Author:
+//	Atsushi Enomoto <[email protected]>
+//
+// (C)2003 Atsushi Enomoto
+//
+#if NET_1_2
+
+using System;
+using System.Collections;
+using System.Collections.Specialized;
+using System.ComponentModel;
+using System.IO;
+using System.Security.Policy;
+using System.Xml.Schema;
+using System.Xml.XPath;
+
+namespace System.Xml.Schema
+{
+	public class XmlSchemaSet
+	{
+		public int Count {
+			get { throw new NotImplementedException (); }
+		}
+
+		public XmlSchemaObjectTable GlobalAttributes {
+			get { throw new NotImplementedException (); }
+		}
+
+		public XmlSchemaObjectTable GlobalElements {
+			get { throw new NotImplementedException (); }
+		}
+
+		public XmlSchemaObjectTable GlobalTypes { 
+			get { throw new NotImplementedException (); }
+		}
+
+		public bool IsCompiled { 
+			get { throw new NotImplementedException (); }
+		}
+
+		public XmlNameTable NameTable { 
+			get { throw new NotImplementedException (); }
+		}
+
+		public XmlResolver XmlResolver { 
+			set { throw new NotImplementedException (); }
+		}
+
+
+		public XmlSchema Add (string targetNamespace, string url)
+		{
+			throw new NotImplementedException ();
+		}
+
+		public XmlSchema Add (string targetNamespace, XmlReader reader)
+		{
+			throw new NotImplementedException ();
+		}
+
+		public void Add (XmlSchemaSet schemaSet)
+		{
+			throw new NotImplementedException ();
+		}
+
+		public XmlSchema Add (XmlSchema schema)
+		{
+			throw new NotImplementedException ();
+		}
+
+		public void Compile ()
+		{
+			throw new NotImplementedException ();
+		}
+
+		public bool Contains (string targetNamespace)
+		{
+			throw new NotImplementedException ();
+		}
+
+		public bool Contains (XmlSchema targetNamespace)
+		{
+			throw new NotImplementedException ();
+		}
+
+		public void CopyTo (XmlSchema[] array, int index)
+		{
+			throw new NotImplementedException ();
+		}
+
+		public XmlSchema Remove (XmlSchema schema)
+		{
+			throw new NotImplementedException ();
+		}
+
+		public ArrayList Schemas ()
+		{
+			throw new NotImplementedException ();
+		}
+
+		public ArrayList Schemas (string targetNamespace)
+		{
+			throw new NotImplementedException ();
+		}
+
+		public  XmlSchemaSet ()  
+		{
+			throw new NotImplementedException ();
+		}
+
+		public  XmlSchemaSet (XmlNameTable nameTable)
+		{
+			throw new NotImplementedException ();
+		}
+	}
+}
+
+#endif