2005-12-27 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / Commons.Xml.Relaxng / Commons.Xml.Relaxng / RelaxngPatternType.cs
1 //\r
2 // Commons.Xml.Relaxng.RelaxngPattern.cs\r
3 //\r
4 // Author:\r
5 //      Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>\r
6 //\r
7 // 2003 Atsushi Enomoto "No rights reserved."\r
8 //\r
9 // Copyright (c) 2004 Novell Inc.\r
10 // All rights reserved\r
11 //\r
12
13 //
14 // Permission is hereby granted, free of charge, to any person obtaining
15 // a copy of this software and associated documentation files (the
16 // "Software"), to deal in the Software without restriction, including
17 // without limitation the rights to use, copy, modify, merge, publish,
18 // distribute, sublicense, and/or sell copies of the Software, and to
19 // permit persons to whom the Software is furnished to do so, subject to
20 // the following conditions:
21 // 
22 // The above copyright notice and this permission notice shall be
23 // included in all copies or substantial portions of the Software.
24 // 
25 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
26 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
27 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
28 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
29 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
30 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
31 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32 //
33 using System;\r
34 using System.Collections;\r
35 using System.Collections.Specialized;\r
36 \r
37 namespace Commons.Xml.Relaxng\r
38 {\r
39         //\r
40         // Pattern Classes\r
41         //\r
42         public enum RelaxngPatternType\r
43         {\r
44                 Empty = 1,\r
45                 NotAllowed = 2,\r
46                 Text = 3,\r
47                 Choice = 4,\r
48                 Interleave = 5,\r
49                 Group = 6,\r
50                 OneOrMore = 7,\r
51                 List = 8,\r
52                 Data = 9,\r
53                 DataExcept = 10,        // only use in derivative\r
54                 Value = 11,\r
55                 Attribute = 12,\r
56                 Element = 13,\r
57                 After = 14,             // only use in derivative\r
58                 Ref = 15,               // no use in derivative\r
59                 Grammar = 16,           // no use in derivative\r
60                 ZeroOrMore = 17,        // no use in derivative\r
61                 Mixed = 18,             // no use in derivative\r
62                 Optional = 19,          // no use in derivative\r
63 //              Include = 20,           // no use in derivative\r
64                 ExternalRef = 21,       // no use in derivative\r
65                 ParentRef = 22,         // no use in derivative\r
66         }\r
67 }\r
68 \r