| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- // Author: Dwivedi, Ajay kumar
- // [email protected]
- using System;
- using System.Xml.Serialization;
- using System.Xml;
- namespace System.Xml.Schema
- {
- /// <summary>
- /// Summary description for XmlSchemaAttributeGroup.
- /// </summary>
- public class XmlSchemaAttributeGroup : XmlSchemaAnnotated
- {
- private XmlSchemaAnyAttribute any;
- private XmlSchemaObjectCollection attributes;
- private string name;
- private XmlSchemaAttributeGroup redefined;
- private XmlQualifiedName qualifiedName;
- public XmlSchemaAttributeGroup()
- {
- attributes = new XmlSchemaObjectCollection();
- //FIXME:
- redefined = this;
- }
- [XmlElement("anyAttribute",Namespace="http://www.w3.org/2001/XMLSchema")]
- public XmlSchemaAnyAttribute AnyAttribute
- {
- get{ return any;}
- set{ any = value;}
- }
- [XmlElement("attribute",typeof(XmlSchemaAttribute),Namespace="http://www.w3.org/2001/XMLSchema")]
- [XmlElement("attributeGroup",typeof(XmlSchemaAttributeGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")]
- public XmlSchemaObjectCollection Attributes
- {
- get{ return attributes;}
- }
- [System.Xml.Serialization.XmlAttribute("name")]
- public string Name
- {
- get{ return name;}
- set{ name = value;}
- }
- //Undocumented property
- [XmlIgnore]
- public XmlSchemaAttributeGroup RedefinedAttributeGroup
- {
- get{ return redefined;}
- }
- [XmlIgnore]
- internal XmlQualifiedName QualifiedName
- {
- get{ return qualifiedName;}
- }
- [MonoTODO]
- internal bool Compile(ValidationEventHandler h, XmlSchemaInfo info)
- {
- return false;
- }
-
- [MonoTODO]
- internal bool Validate(ValidationEventHandler h)
- {
- return false;
- }
- }
- }
|