* SchemaTypes.cs: Changed DataSet type for a more generic XmlSerializable.
[mono.git] / mcs / class / System.Web / System.Web.UI / WebServiceParser.cs
1 //
2 // System.Web.UI.WebServiceParser
3 //
4 // Authors:
5 //      Gonzalo Paniagua Javier (gonzalo@ximian.com)
6 //
7 // (C) 2002 Ximian, Inc (http://www.ximian.com)
8 //
9
10 using System.Web;
11 using System.Web.Compilation;
12
13 namespace System.Web.UI
14 {
15         public class WebServiceParser : SimpleWebHandlerParser
16         {
17                 private WebServiceParser (HttpContext context, string virtualPath, string physicalPath)
18                         : base (context, virtualPath, physicalPath)
19                 {
20                 }
21
22                 public static Type GetCompiledType (string inputFile, HttpContext context)
23                 {
24                         WebServiceParser parser = new WebServiceParser (context, null, inputFile);
25                         return WebServiceCompiler.CompileIntoType (parser);
26                 }
27
28                 protected override string DefaultDirectiveName {
29                         get {
30                                 return "webservice";
31                         }
32                 }
33         }
34 }
35