merge -r 61110:61111
[mono.git] / mcs / class / Commons.Xml.Relaxng / Commons.Xml.Relaxng / RelaxngPatternType.cs
1 //
2 // Commons.Xml.Relaxng.RelaxngPattern.cs
3 //
4 // Author:
5 //      Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
6 //
7 // 2003 Atsushi Enomoto "No rights reserved."
8 //
9 // Copyright (c) 2004 Novell Inc.
10 // All rights reserved
11 //
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;
34 using System.Collections;
35 using System.Collections.Specialized;
36
37 namespace Commons.Xml.Relaxng
38 {
39         //
40         // Pattern Classes
41         //
42         public enum RelaxngPatternType
43         {
44                 Empty = 1,
45                 NotAllowed = 2,
46                 Text = 3,
47                 Choice = 4,
48                 Interleave = 5,
49                 Group = 6,
50                 OneOrMore = 7,
51                 List = 8,
52                 Data = 9,
53                 DataExcept = 10,        // only use in derivative
54                 Value = 11,
55                 Attribute = 12,
56                 Element = 13,
57                 After = 14,             // only use in derivative
58                 Ref = 15,               // no use in derivative
59                 Grammar = 16,           // no use in derivative
60                 ZeroOrMore = 17,        // no use in derivative
61                 Mixed = 18,             // no use in derivative
62                 Optional = 19,          // no use in derivative
63 //              Include = 20,           // no use in derivative
64                 ExternalRef = 21,       // no use in derivative
65                 ParentRef = 22,         // no use in derivative
66         }
67 }
68