1 //------------------------------------------------------------------------------
2 // <copyright file="XmlSchemaRedefine.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // <owner current="true" primary="true">[....]</owner>
6 //------------------------------------------------------------------------------
8 namespace System.Xml.Schema {
10 using System.Xml.Serialization;
12 /// <include file='doc\XmlSchemaRedefine.uex' path='docs/doc[@for="XmlSchemaRedefine"]/*' />
14 /// <para>[To be supplied.]</para>
16 public class XmlSchemaRedefine : XmlSchemaExternal {
17 XmlSchemaObjectCollection items = new XmlSchemaObjectCollection();
18 XmlSchemaObjectTable attributeGroups = new XmlSchemaObjectTable();
19 XmlSchemaObjectTable types = new XmlSchemaObjectTable();
20 XmlSchemaObjectTable groups = new XmlSchemaObjectTable();
23 /// <include file='doc\XmlSchemaRedefine.uex' path='docs/doc[@for="XmlSchemaRedefine.XmlSchemaRedefine"]/*' />
25 /// <para>[To be supplied.]</para>
27 public XmlSchemaRedefine() {
28 Compositor = Compositor.Redefine;
31 /// <include file='doc\XmlSchemaRedefine.uex' path='docs/doc[@for="XmlSchemaRedefine.Items"]/*' />
33 /// <para>[To be supplied.]</para>
35 [XmlElement("annotation", typeof(XmlSchemaAnnotation)),
36 XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroup)),
37 XmlElement("complexType", typeof(XmlSchemaComplexType)),
38 XmlElement("group", typeof(XmlSchemaGroup)),
39 XmlElement("simpleType", typeof(XmlSchemaSimpleType))]
40 public XmlSchemaObjectCollection Items {
44 /// <include file='doc\XmlSchemaRedefine.uex' path='docs/doc[@for="XmlSchemaRedefine.AttributeGroups"]/*' />
46 /// <para>[To be supplied.]</para>
49 public XmlSchemaObjectTable AttributeGroups {
50 get { return attributeGroups; }
53 /// <include file='doc\XmlSchemaRedefine.uex' path='docs/doc[@for="XmlSchemaRedefine.SchemaTypes"]/*' />
55 /// <para>[To be supplied.]</para>
58 public XmlSchemaObjectTable SchemaTypes {
62 /// <include file='doc\XmlSchemaRedefine.uex' path='docs/doc[@for="XmlSchemaRedefine.Groups"]/*' />
64 /// <para>[To be supplied.]</para>
67 public XmlSchemaObjectTable Groups {
68 get { return groups; }
71 internal override void AddAnnotation(XmlSchemaAnnotation annotation) {
72 items.Add(annotation);