1 // Author: Dwivedi, Ajay kumar
\r
5 using System.Xml.Serialization;
\r
7 namespace System.Xml.Schema
\r
10 /// Summary description for XmlSchemaAnnotated.
\r
12 // Include all childrens of this class
\r
13 // [XmlInclude(typeof(XmlSchemaAnyAttribute)),
\r
14 // XmlInclude(typeof(XmlSchemaAttribute)),
\r
15 // XmlInclude(typeof(XmlSchemaAttributeGroup)),
\r
16 // XmlInclude(typeof(XmlSchemaAttributeGroupRef)),
\r
17 // XmlInclude(typeof(XmlSchemaContent)),
\r
18 // XmlInclude(typeof(XmlSchemaContentModel)),
\r
19 // XmlInclude(typeof(XmlSchemaFacet)),
\r
20 // XmlInclude(typeof(XmlSchemaGroup)),
\r
21 // XmlInclude(typeof(XmlSchemaIdentityConstraint)),
\r
22 // XmlInclude(typeof(XmlSchemaNotation)),
\r
23 // XmlInclude(typeof(XmlSchemaParticle)),
\r
24 // XmlInclude(typeof(XmlSchemaSimpleTypeContent)),
\r
25 // XmlInclude(typeof(XmlSchemaType)),
\r
26 // XmlInclude(typeof(XmlSchemaXPath))]
\r
27 public class XmlSchemaAnnotated : XmlSchemaObject
\r
29 private XmlSchemaAnnotation annotation;
\r
31 private XmlAttribute[] unhandledAttributes;
\r
33 public XmlSchemaAnnotated()
\r
36 [XmlElement("annotation",Namespace="http://www.w3.org/2001/XMLSchema")]
\r
37 public XmlSchemaAnnotation Annotation
\r
39 get{ return annotation; }
\r
40 set{ annotation = value; }
\r
43 [System.Xml.Serialization.XmlAttribute("id")]
\r
51 public XmlAttribute[] UnhandledAttributes
\r
53 get{ return unhandledAttributes; }
\r
54 set{ unhandledAttributes = value; }
\r